Package DE_EPAGES::DHL::API::Object::ShippingMethodDHL
object interface for ShippingMethodWeightOfBasket.
Base |
DE_EPAGES::Order::API::Object::ContainerShippingMethod |
Functions
featureName
Returns the feature name 'DHL'.
Syntax |
$FeatureName = $ShippingMethodDHL->featureName; |
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 |
|
usableAtStorefront
Tests if the shipping method is usable (TOS are accepted) in the storefront.
Syntax |
$Usable = $ShippingMethod->usableAtStorefront(); |
Input |
|
Return |
|