Packages Property
A collection of packages contained in the shipment.
Syntax
public PackageDetailList getPackages(); public void setPackages(PackageDetailList packages);
Remarks
At least one package must be specified.
This property must be set to a collection of PackageDetail instances, which will contain specific information about a package contained in the shipment. See the PackageDetail type for more information.
For Canada Post the PackagingType and the Weight must be specified. The Length, Width, Height, InsuredValue, and SpecialServices are optional.
This property is not available at design time.