ePages 6.10 - DE_EPAGES/ShippingOption/API/Object/LineItemShippingOption.pm

Package DE_EPAGES::ShippingOption::API::Object::LineItemShippingOption

object interface for LineItemShippingOption.

Base
DE_EPAGES::Order::API::Object::LineItem

Functions

className
dbPackage
recalculate

className

Returns the class name, used for DAL access.

Syntax
$ClassName = $LineItemShippingOption->className;
Return
$ClassName (String)
class name

dbPackage

Returns the database package, used for DAL access.

Syntax
$DbPackage = $LineItemShippingOption->dbPackage;
Return
$DbPackage (String)
database package name

recalculate

Calls DE_EPAGES::ShippingOption::API::Object::ShippingOption::recalculateLineItem to calculate the line item price. Updates the LineItemPrice attribute of the line item.

Syntax
$LineItemShippingOption->recalculate($Container, $hValues);
Input
$Container (object)
line item container
$hValues (ref.hash)
values that have changed