ePages 6.10 - DE_EPAGES/ShippingTypes/API/Object/ShippingMethodFixPrice.pm

Package DE_EPAGES::ShippingTypes::API::Object::ShippingMethodFixPrice

Object interface for ShippingMethodFixPrice.

Base
DE_EPAGES::Order::API::Object::ContainerShippingMethod

Functions

lineItem
price

lineItem

Returns lineItem for container, adds LineItemPrice.

Syntax
my $hInfo = $ShippingMethod->lineItem($Container);
Input
$Container (object)
container
Return
$hInfo (ref.hash)
line item info

price

Returns the shipping price by the given requirements. Doesn't process ShippingElements.

Syntax
$ShippingPrice = $Object->price( $hVars );
Input
$hVars (ref.hash)
  • CurrencyID - alpha currency code (ISO 4217) - char(3)
  • TaxModel - gross or net price - int
  • ShippingElements
    • Element - e.g. Products - object
    • Quantity - quantity of element - float
    | ref.array.hash
| ref.hash
Return
$ShippingPrice (money)
price of shipping