ePages 7.19.0 - DE_EPAGES/AvaTax/API/Discount.pm

Package DE_EPAGES::AvaTax::API::Discount

Class to calculate the discount value on the LineItemContainer

Functions

getDiscountValue
new

getDiscountValue

Return the total discount value on the LineItemContainer

Syntax
getDiscountValue( $LineItemContainer );
Input
$LineItemContainer (DE_EPAGES::Order::API::Object::LineItemContainer)
LineItemContainer Object
Return
(int)
Discount value

new

constuctor

Syntax
new( );
Return
$self (DE_EPAGES::AvaTax::API::Discount)
self