PackageCODType Property
The code that indicates the type of funds that will be used for the COD payment for this package.
Object Oriented Interface
public function getPackageCODType($packageidx); public function setPackageCODType($packageidx, $value);
Procedural Interface
inship_fedexshipintl_get($res, 85 , $packageidx); inship_fedexshipintl_set($res, 85, $value , $packageidx);
Default Value
0
Remarks
The code that indicates the type of funds that will be used for the COD payment for this package.
This property is only applicable to FedEx and UPS and identifies the type of funds that should be collected upon package delivery. It is required to be provided in the request only if COD is requested for this package (i.e., PackageCODAmount is set to a value other than "0.00").
Valid values are:
Value | Description |
codtpAny (0) | Company check, personal check, cashier's check or money order - UPS no cash allowed. Not applicable for Canada Post |
codtpCash (1) | Cash - FedEx only, only valid for Ground shipments |
codtpGuaranteedFunds (2) | Cashier's check or money order |
codtpCompanyCheck (3) | Company check - FedEx and Canada Post only |
codtpPersonalCheck (4) | Personal check - FedEx and Canada Post only |
Note: COD special service is not valid for return service movements.
Also note that only codtpAny (0) and codtGuaranteedFunds (2) are valid for UPS. For CanadaPost codtpAny is not valid and any type of check is accepted.
The size of the array is controlled by the PackageCount property.
This property is not available at design time.
Data Type
Integer