Package DE_EPAGES::ExternalShipping::API::Object::ShippingMethodWebservice
Base class for webservice-based shipping price calculation
Base |
DE_EPAGES::Shipping::API::Object::ShippingMethod |
Example |
#TODO |
Functions
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 |
|