ePages 7.0.0 - DE_EPAGES/POSTPAY/API/LineItemProduct.pm

Package DE_EPAGES::POSTPAY::API::LineItemProduct

handle the price and quantity calculation of a LineItemProduct

Functions

calculateLineItemData
new

calculateLineItemData

calculate price and quantity in order

Syntax
my $hResult = calculateLineItemData( $LineItem );
$hResult->{'BasePrice'};
$hResult->{'Quantity'};
Input
$LineItem (DE_EPAGES::Product::API::Object::LineItemProduct)
lineitem product
Return
$hPriceAndQuantity (refhash)
contain price and quantity

new

constructor

Syntax
new( );
Return
$self (DE_EPAGES::POSTPAY::API::LineItemProduct)
self