Contents Property
Description of items being shipped.
Syntax
int GetContents();
int SetContents(int iContents);
Possible Values
CT_SAMPLE(0), CT_GIFT(1), CT_DOCUMENTS(2), CT_RETURN(3), CT_OTHER(4), CT_MERCHANDISE(5), CT_HUMANITARIAN_DONATION(6), CT_DANGEROUS_GOODS(7)
Default Value
0
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:
class.Contents = ctOther class.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.
Data Type
Integer