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

Package DE_EPAGES::ShippingTypes::API::Object::ShippingMethodFree

This module is object package for free shipping methods.

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

Functions

lineItem
price

lineItem

Returns lineItem for container, adds LineItemPrice = 0.

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. Here the shipping price is always 0.

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