Skip to content

Commit f81e612

Browse files
committed
update certification process
1 parent 4981150 commit f81e612

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

label_certification/express.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
shipment.RequestedShipment.DropoffType = 'REGULAR_PICKUP'
1818
shipment.RequestedShipment.ServiceType = 'PRIORITY_OVERNIGHT'
1919
shipment.RequestedShipment.PackagingType = 'YOUR_PACKAGING'
20-
shipment.RequestedShipment.PackageDetail = 'INDIVIDUAL_PACKAGES'
2120

2221
# Shipper contact info.
2322
transfer_config_dict(shipment.RequestedShipment.Shipper.Contact,
@@ -41,6 +40,9 @@
4140

4241
shipment.RequestedShipment.ShippingChargesPayment.PaymentType = 'SENDER'
4342

43+
# Senders account information
44+
shipment.RequestedShipment.ShippingChargesPayment.Payor.ResponsibleParty.AccountNumber = CONFIG_OBJ.account_number
45+
4446
# Label config.
4547
transfer_config_dict(shipment.RequestedShipment.LabelSpecification,
4648
LABEL_SPECIFICATION)

label_certification/ground.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
shipment.RequestedShipment.DropoffType = 'REGULAR_PICKUP'
1717
shipment.RequestedShipment.ServiceType = 'FEDEX_GROUND'
1818
shipment.RequestedShipment.PackagingType = 'YOUR_PACKAGING'
19-
shipment.RequestedShipment.PackageDetail = 'INDIVIDUAL_PACKAGES'
2019

2120
# Shipper contact info.
2221
transfer_config_dict(shipment.RequestedShipment.Shipper.Contact,
@@ -40,6 +39,9 @@
4039

4140
shipment.RequestedShipment.ShippingChargesPayment.PaymentType = 'SENDER'
4241

42+
# Senders account information
43+
shipment.RequestedShipment.ShippingChargesPayment.Payor.ResponsibleParty.AccountNumber = CONFIG_OBJ.account_number
44+
4345
# Label config.
4446
transfer_config_dict(shipment.RequestedShipment.LabelSpecification,
4547
LABEL_SPECIFICATION)

0 commit comments

Comments
 (0)