Commodities Property
Collection of commodity line items.
Syntax
public CommodityDetailList getCommodities(); public void setCommodities(CommodityDetailList commodities);
Remarks
The Commodities is required to be provided in any international shipment request only if any of the international forms (Invoice, CO, NAFTA CO, SED or Partial Invoice) are requested.
For international multiple piece shipments (MPS), commodity information will be passed in the Master and on each subsequent package. If this shipment contains more than four commodities line items, the four highest valued should be included in the request.
For each idx = 0 to CommodityCount - 1, this must be set to an instance of the CommodityDetail type, which will contain specific information about a commodity item contained in the shipment. See the CommodityDetail type for more information.
Each commodity item has a: NumberOfPieces (required), Description (required), Manufacturer (required), HarmonizedCode (optional), Weight (conditional), Quantity (optional), QuantityUnit (optional), UnitPrice (optional), and ExportType (conditional) tied to it.
For instance, to send a package containing 2 computer softwares and 5 iPods:
bean.Commodities[0].NumberOfPieces = 2; bean.Commodities[0].Description = "computer software"; bean.Commodities[0].Manufacturer = "US"; // country of manufacturer bean.Commodities[0].Weight = "0.5"; // each software box weighs .5 lbs bean.Commodities[0].QuantityUnit = "EA"; // for 'each' bean.Commodities[0].UnitPrice = "100.00"; // each software priced at $100 bean.Commodities[1].NumberOfPieces = 5; bean.Commodities[1].Description = "portable digital audio player"; bean.Commodities[1].Manufacturer = "US"; // country of manufacturer bean.Commodities[1].Weight = "0.5"; // each iPod weighs .5 lbs bean.Commodities[1].QuantityUnit = "EA"; // for 'each' bean.Commodities[1].UnitPrice = "150.00"; // each iPod priced at $150
This property is not available at design time.