Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.46 KB

File metadata and controls

35 lines (26 loc) · 2.46 KB

ShipmentInternationalCustomsCustomsItemsInner

Properties

Name Type Description Notes
description str A detailed description of the commodity, up to 255 characters. The description will appear on the customs form. If the shipment has multiple types of items, create a separate customsItems object for each. Each description will appear on the form.
h_s_tariff_code str The destination country’s tariff-classification number (HS code) for the commodity. Most countries use the six-digit Harmonized System (HS) as the basis for their tariff classifications and then add digits for more detail. The maximum length for an HS code is 14 characters. The HS code will appear on the customs form. If the shipment has multiple types of items, create a separate customsItems object for each. [optional]
origin_country_code str The two-character ISO country code of the shipment’s origin country. Use ISO 3166-1 alpha-2 standard values. [optional]
quantity float Enter the total number of items of this type of commodity.
unit_price float The price of one item of this type of commodity.
weight_unit str The unit of measurement. This field is required by the unitWeight object. [optional]
weight float The weight of the item. [optional]

Example

from shipping.models.shipment_international_customs_customs_items_inner import ShipmentInternationalCustomsCustomsItemsInner

# TODO update the JSON string below
json = "{}"
# create an instance of ShipmentInternationalCustomsCustomsItemsInner from a JSON string
shipment_international_customs_customs_items_inner_instance = ShipmentInternationalCustomsCustomsItemsInner.from_json(json)
# print the JSON string representation of the object
print(ShipmentInternationalCustomsCustomsItemsInner.to_json())

# convert the object into a dict
shipment_international_customs_customs_items_inner_dict = shipment_international_customs_customs_items_inner_instance.to_dict()
# create an instance of ShipmentInternationalCustomsCustomsItemsInner from a dict
shipment_international_customs_customs_items_inner_from_dict = ShipmentInternationalCustomsCustomsItemsInner.from_dict(shipment_international_customs_customs_items_inner_dict)

[Back to Model list] [Back to API list] [Back to README]