ePages 6.17.13 - DE_EPAGES/Shipping/API/Tools.pm

Package DE_EPAGES::Shipping::API::Tools

This module includes some tools ( useful ) functions

@EXPORT_OK
GetShopFromTLE
IsFeatureAvailable

Functions

GetShopFromTLE
IsFeatureAvailable

GetShopFromTLE

xxx

Syntax
GetShopFromTLE($Processor)
Input
$Processor (object)
tle processor
Return
$Shop (object)
The associated shop to the TLE call

IsFeatureAvailable

Checks the feature status

Syntax
IsFeatureAvailable($Shop, $Class)
Input
$Shop (object)
shipping method object
$Class (object)
shipping method object
Return
$IsFeatureAvailable (string)
the current feature