Package DE_EPAGES::ShippingTypes::API::Object::ShippingMethodWeightOfBasket
object interface for ShippingMethodWeightOfBasket.
Base |
DE_EPAGES::Order::API::Object::ContainerShippingMethod |
Functions
canAddToBasket
Tests if a shipping method can be added to the basket with the given currency. Validates if the shipping methode has a weight limit. If yes, the weight of the basket shouldn't exceed the limit.
Syntax |
$Can = $ShippingMethod->canAddToBasket($hVars); |
Input |
|
Return |
|
getLevels
Return the shipping levels for the given currency in the requested tax model.
Syntax |
$ahLevels = $Object->getLevels($CurrencyID, $TaxModel); $ahLevels = $Object->getLevels($CurrencyID, $TaxModel, $ExtraPrecision); |
Input |
|
Return |
|
price
Returns the shipping price by the given requirements.
Syntax |
$ShippingPrice = $Object->price( $hVars ); |
Input |
|
Return |
|
setLevels
Sets all shipping levels for the given currency. Deletes shipping levels that are not included in the list. Calculates net prices from gross prices if $TaxModel is TAX_MODEL_GROSS.
Syntax |
$Object->setLevels($CurrencyID, $TaxModel, $ahLevels); |
Input |
|