You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The base service charge is payable to the carrier, excluding special service charges.
[optional]
carrier
str
Carrier is a service used to transport the parcels or couriers from one place to another.
[optional]
currency_code
str
A three-character (all uppercase letter) symbol of a currency according to the international ISO standard. As a rule, the first two letters denote the name of the country, and the third letter, the name of the currency thereof.For example, for US - the currency is Dollars and code is USD. Similarly for Canada, the currencycode is CAD, and for India, it is INR.
[optional]
induction_postal_code
str
The postal code where a shipment or shipments are tendered to a carrier. This can be different from the Sender’s address.
[optional]
parcel_type
str
Parcel Type is required for creating a shipment while rating a parcel, which varies as per Carrier selection. ParcelType have categories like Package, Envelopes, Paks, Boxes, Tube, etc.
[optional]
rate_type_id
str
Its value can be CONTRACT_RATES, COMMERCIAL or COMMERCIAL_BASE for USPS and COMMERCIAL for other carriers depending on the Pitney Bowes contract/subscription
[optional]
service_id
str
The unique identifier given to the carrier specific service.
This provides a carrier-service based special or extra sevice.
[optional]
total_carrier_charge
float
The total amount payable to the carrier, including special service fees, surcharges, and any international taxes and duties, except as noted below:
[optional]
Example
fromshipping.models.get_all_shipments_data_inner_rateimportGetAllShipmentsDataInnerRate# TODO update the JSON string belowjson="{}"# create an instance of GetAllShipmentsDataInnerRate from a JSON stringget_all_shipments_data_inner_rate_instance=GetAllShipmentsDataInnerRate.from_json(json)
# print the JSON string representation of the objectprint(GetAllShipmentsDataInnerRate.to_json())
# convert the object into a dictget_all_shipments_data_inner_rate_dict=get_all_shipments_data_inner_rate_instance.to_dict()
# create an instance of GetAllShipmentsDataInnerRate from a dictget_all_shipments_data_inner_rate_from_dict=GetAllShipmentsDataInnerRate.from_dict(get_all_shipments_data_inner_rate_dict)