Package DE_EPAGES::DHLIntraship::API::Tools
Useful functions for this cartridge.
Functions
GetCustomerNumber
Gets Customer Number.
Syntax |
GetCustomerNumber( $ShippingFulfillmentMethod, $Address ); |
Input |
|
Return |
|
GetPackageType
Obtains package type.
Syntax |
GetPackageType( $CustomerNumber ); |
Input |
|
Return |
|
IsDateInThePast
Finds out whether a date is in the past or not.
Syntax |
IsDateInThePast( $Date ); |
Input |
|
Return |
|
new
Class constructor.
Syntax |
new( ); |
Return |
|
truncateAttribute
Truncates an attribute to its maximum allowed length.
Syntax |
truncateAttribute( $Attribute, $FieldName ); |
Input |
|
Return |
|