Package DE_EPAGES::Colissimo::API::Tools
This package provides the Colissimo global functionality.
@EXPORT_OK |
Functions
ColissimoLog
Logs a structure to the communication.log.
Syntax |
ColissimoLog($Name, $Debug, $Section); |
Example |
ColissimoLog('SendRequestHash', \%Hash, 'Send'); |
Input |
|
GetDeliveryBasketData
returns values basket required for the redirection
Syntax |
GetDeliveryBasketData( $Basket ); |
Input |
|
Return |
|
GetProductLineItemWeightInGram
Converts the weight of a given ProductLineItem into gram
Syntax |
GetProductLineItemWeightInGram($LineItem); |
Example |
GetProductLineItemWeightInGram($LineItem); |
Input |
|
Return |
|
IsHomeDelivery
Logs a structure to the communication.log.
Syntax |
IsHomeDelivery($DeliveryMode); |
Example |
IsHomeDelivery('DOM'); |
Input |
|
Return |
|