Package DE_EPAGES::DHL::API::Tools
This is a tool library used for common DHL tasks
Functions
- ConvertFromDHLDate
- ConvertStringToDateTime
- DHLShippingLabelIsDHLDeliveryDestInDB
- DeleteDHLProductListFromDB
- GetDHLProductFromDB
- GetDHLProductMaxDimensionsFromDB
- GetMaxShippingHeightFromDB
- GetMaxShippingLengthFromDB
- GetMaxShippingWeightFromDB
- GetMaxShippingWidthFromDB
- GetMinShippingHeightFromDB
- GetMinShippingLengthFromDB
- GetMinShippingWeightFromDB
- GetMinShippingWidthFromDB
- IsInteger
- OrderIsDHLDeliveryDestInDB
ConvertFromDHLDate
Parses an DHL DateTime string and returns a DateTime object. Converts the time to the local server time zone.
Syntax |
ConvertFromDHLDate( $DateString ); |
Input |
|
Return |
|
ConvertStringToDateTime
Converts a string to a DateTime object, using locale de_DE and timezone GMT+1
Syntax |
ConvertStringToDateTime( $UnconvertedString ); |
Input |
|
Return |
|
DHLShippingLabelIsDHLDeliveryDestInDB
Checks if a shipping destination country of a DHL shipping label is in the list of valid delivery destinations. If not, the API cannot be used.
Syntax |
DHLShippingLabelIsDHLDeliveryDestInDB( $DHLShippingLabelID ); |
Input |
|
Return |
|
DeleteDHLProductListFromDB
Deletes all DHL ProductList entries from DB
Syntax |
DeleteDHLProductListFromDB( ); |
GetDHLProductFromDB
Get dhl product information.
Syntax |
GetDHLProductFromDB( ); |
Input |
|
Return |
|
GetDHLProductMaxDimensionsFromDB
Returns max dimensions from db
Syntax |
GetDHLProductMaxDimensionsFromDB( $DHLProductID ); |
Input |
|
Return |
|
GetMaxShippingHeightFromDB
Get maximum height of a shipping from db
Syntax |
GetMaxShippingHeightFromDB( ); |
Return |
|
GetMaxShippingLengthFromDB
Get maximum length of a shipping from db
Syntax |
GetMaxShippingLengthFromDB( ); |
Return |
|
GetMaxShippingWeightFromDB
Get maximum weight of a shipping from db
Syntax |
GetMaxShippingWeightFromDB( ); |
Return |
|
GetMaxShippingWidthFromDB
Get maximum width of a shipping from db
Syntax |
GetMaxShippingWidthFromDB( ); |
Return |
|
GetMinShippingHeightFromDB
Get minimum height of a shipping from db
Syntax |
GetMinShippingHeightFromDB( ); |
Return |
|
GetMinShippingLengthFromDB
Get minimum length of a shipping from db
Syntax |
GetMinShippingLengthFromDB( ); |
Return |
|
GetMinShippingWeightFromDB
Get minimum weight of a shipping from db
Syntax |
GetMinShippingWeightFromDB( ); |
Return |
|
GetMinShippingWidthFromDB
Get minimum width of a shipping from db
Syntax |
GetMinShippingWidthFromDB( ); |
Return |
|
IsInteger
Checks if value is a (positive) integer
Syntax |
IsInteger( $Value ); |
Input |
|
Return |
|
OrderIsDHLDeliveryDestInDB
Checks if a shipping destination country of an order is in the list of valid delivery destinations. If not, the API cannot be used.
Syntax |
OrderIsDHLDeliveryDestInDB( $OrderID ); |
Input |
|
Return |
|