Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

Commodities Property

Items being shipped inside this package.

Syntax

[VB.NET]
Public Property Commodities As CommodityDetailList

[C#]
public CommodityDetailList Commodities {get;}

Remarks

This property should be set to the commodity types that are inside the package. Each commodity has a Description, HarmonizedCode, Manufacturer, Quantity, UnitPrice, and Weight.

For instance, to send a package containing 20 wheel bearings and 15 fork seals:

component.Commodities.Add(new CommodityDetail());
component.Commodities.Add(new CommodityDetail());
component.Commodities[0].Description   = "Wheel bearings";
component.Commodities[0].Quantity      = 20;
component.Commodities[0].Value         = "100.00";      // 20 bearings at $5 each
component.Commodities[0].Weight        = "10 lbs 0 oz"; // each wheel bearing is .5 lbs

component.Commodities[1].Description   = "Fork seals";
component.Commodities[1].Quantity      = 15;
component.Commodities[1].Value         = "375.00";     // 15 seals at $25 each
component.Commodities[1].Weight        = "3 lbs 8 oz"; // Total weight of all fork seals in the package.

Please note that Manufacturer and HarmonizedCode are only valid for commercial shippers, and may be left out. The remaining fields are all required. For customs forms, Manufacturer and HarmonizedCode are only used by the GetFormCP72 method, and are only valid for commercial shippers. GetFormCN22 does not use these properties, and their values will be ignored.

This property is not available at design time.

Default Value

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0