Package DE_EPAGES::FedEx::API::Tools
This package provides the FedEx global functionality.
@EXPORT_OK |
Functions
- AreMandatoryShippingFieldsSet
- GetLabelImagePath
- IsPickPostAllowed
- IsValidAddressCountry
- IsValidCombination
AreMandatoryShippingFieldsSet
checks all required fields are mandatory in the shop
Syntax |
$IsAllowed = AreMandatoryShippingFieldsSet($Shop); |
Example |
my $IsAllowed = AreMandatoryShippingFieldsSet($Shop); |
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 |
|
IsPickPostAllowed
checks if the pick post delivery is allowed for this shippingmethod
Syntax |
$IsAllowed = IsPickPostAllowed($ShippingMethod); |
Example |
my $IsAllowed = IsPickPostAllowed($ShippingMethod); |
Input |
|
Return |
|
IsValidAddressCountry
checks if the shipping address is usable
Syntax |
$IsAllowed = IsValidAddressCountry($Address); |
Example |
my $IsAllowed = IsValidAddressCountry($Address); |
Input |
|
Return |
|
IsValidCombination
checks if the combination of shipping fullfilment product and shipping fullfilment option is valid
Syntax |
$IsValid = IsValidCombination($ShippingFulfillmentProduct,$ShippingFulfillmentOption); |
Example |
my $IsValid = IsValidCombination($ShippingFulfillmentProduct,$ShippingFulfillmentOption); |
Input |
|
Return |
|