Package DE_EPAGES::Order::API::LineItemPriceCalculator
This Class is use for calculate the LineItemProduct price with/without Tax to the rest API
Functions
calculate
This method calculate the LineItemProduct price with/without tax to the rest API and return a hash with the price to be use on the rest API $example: { 'BasePrice' => 30.00, 'LineItemPrice' => 30.00, 'TaxModelLineItem' => TAX_MODEL_GROSS or TAX_MODEL_NET}
Syntax |
calculate( $LineItem, $CurrencyID, $IncludeTaxInLineItem ); |
Input |
|
Return |
|