Package DE_EPAGES::Chronopost::API::Tools
This package provides the Chronopost global functionality.
@EXPORT_OK |
Functions
GetErrorType
returns the correct error message from an error id
Syntax |
$errorMsg = GetErrorType($errorID); |
Example |
my $errorMsg = GetErrorType($errorID); |
Input |
|
Return |
|
GetLabelImagePath
returns the path for the barcode image of a shipping label
Syntax |
$Path = GetLabelImagePath($ShippingLabel,$FileExtension); |
Example |
my $Path = GetLabelImagePath($ShippingLabel,'gif'); |
Input |
|
Return |
|
IsValidAddressCountry
checks if the shipping address is usable
Syntax |
$IsAllowed = IsValidAddressCountry($Address); |
Example |
my $IsAllowed = IsValidAddressCountry($Address); |
Input |
|
Return |
|