Package DE_EPAGES::Colissimo::API::Object::ShippingMethodColissimo
Object interface for ShippingMethodColissimo.
Functions
canAddToBasket
Tests if a shipping method can be added to the basket with the given currency. Overrides function DE_EPAGES::Order::API::Object::ContainerPaymentMethod::canAddToBasket The shipping method can be added to the container if the currency of the container is 'EUR'
Syntax |
if ($ShippingMethod->canAddToBasket($hVars)); |
Input |
|
Return |
|
featureName
Returns the feature name 'Colissimo'.
Syntax |
$FeatureName = $ShippingMethodColissimo->featureName; |
Return |
|
getLevels
Return the shipping levels for the given currency in the requested tax model. overwrite parents method, this is necessary because of two methods are combined within this method.
Syntax |
$ahLevels = $Object->getLevels($CurrencyID, $TaxModel); $ahLevels = $Object->getLevels($CurrencyID, $TaxModel, $ExtraPrecision); $ahLevels = $Object->getLevels($CurrencyID, $TaxModel, $ExtraPrecision, $getLimitLevels); |
Input |
|
Return |
|
levels
Returns all shipping level objects of that shipping method. overwrite parents method, this is necessary because of two methods are combined within this method.
Syntax |
$aShippingLevels = $Object->levels; |
Return |
|
usableAtStorefront
Tests if the shipping method is usable in the storefront. overwrites DE_EPAGES::Shipping::API::Object::ShippingMethod.usableAtStorefront
Syntax |
$Usable = $ShippingMethod->usableAtStorefront(); |
Input |
|
Return |
|