Contents Property
Description of items being shipped.
Syntax
public int getContents(); public void setContents(int contents);
Enumerated values: public final static int ctSample = 0; public final static int ctGift = 1; public final static int ctDocuments = 2; public final static int ctReturn = 3; public final static int ctOther = 4; public final static int ctMerchandise = 5; public final static int ctHumanitarianDonation = 6; public final static int ctDangerousGoods = 7;
Remarks
Type of the contents in the package.
Note that if Contents is set to ctOther, you may be required to set the OtherContents configuration setting with a description of the contents. For example:
component.Contents = ctOther component.Config("OtherContents=Livestock")
For customs forms, the value of this property is required for the GetFormCP72 and GetFormCN22 methods calls. ctReturn is applicable for Customs Form CP 72 only.
Default Value
0