CommodityValue Property
The value of an individual item being shipped.
Syntax
char* GetCommodityValue(int iCommodityIndex);
int SetCommodityValue(int iCommodityIndex, char* lpszCommodityValue);
Default Value
""
Remarks
The value of an individual item being shipped. This should be provided for each item contained in the package being shipped. This property provides the value of the set of items. If the item is 2 boxes of 50 pens and the value of each box is $10.00, "20.00" (2 boxes x $10.00) should be entered. If the value of each pen is .25, then "25.00" (100 pens x .25) should be entered.
This property is only applicable to USPS and UPS freight.
Note: For USPS, the maximum value for this property is "99999.99".
Note: For UPS freight, the maximum value for this property is "99999999999999.99".
The size of the array is controlled by the CommodityCount property.
This property is not available at design time.
Data Type
String