ePages 6.11.0 - DE_EPAGES/ShippingTypes/API/Object/ShippingMethodFreeLimit.pm

Package DE_EPAGES::ShippingTypes::API::Object::ShippingMethodFreeLimit

object interface for ShippingMethodFreeLimit.

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

Functions

lineItem
price
recalculateLineItem

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.

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
Return
$ShippingPrice (money)
price of shipping

recalculateLineItem

Sets base price and line item price for this line item.

Syntax
$ShippingMethod->recalculateLineItem($LineItemShipping, $hValues);
Input
$LineItemShipping (ref.hash)
LineItemShipping
$hValues (ref.hash)
values witch will be changed