Package org.adempiere.model
Interface ITaxProvider
-
- All Known Implementing Classes:
StandardTaxProvider
public interface ITaxProvider
Tax provider interface- Author:
- Elaine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
calculateInvoiceTaxTotal(MTaxProvider provider, MInvoice invoice)
boolean
calculateOrderTaxTotal(MTaxProvider provider, MOrder order)
boolean
calculateRMATaxTotal(MTaxProvider provider, MRMA rma)
boolean
recalculateTax(MTaxProvider provider, MInvoiceLine line, boolean newRecord)
boolean
recalculateTax(MTaxProvider provider, MOrderLine line, boolean newRecord)
boolean
recalculateTax(MTaxProvider provider, MRMALine line, boolean newRecord)
boolean
updateHeaderTax(MTaxProvider provider, MInvoiceLine line)
boolean
updateHeaderTax(MTaxProvider provider, MOrderLine line)
boolean
updateHeaderTax(MTaxProvider provider, MRMALine line)
boolean
updateInvoiceTax(MTaxProvider provider, MInvoiceLine line)
boolean
updateOrderTax(MTaxProvider provider, MOrderLine line)
boolean
updateRMATax(MTaxProvider provider, MRMALine line)
String
validateConnection(MTaxProvider provider, ProcessInfo pi)
-
-
-
Method Detail
-
calculateOrderTaxTotal
boolean calculateOrderTaxTotal(MTaxProvider provider, MOrder order)
-
updateOrderTax
boolean updateOrderTax(MTaxProvider provider, MOrderLine line)
-
recalculateTax
boolean recalculateTax(MTaxProvider provider, MOrderLine line, boolean newRecord)
-
updateHeaderTax
boolean updateHeaderTax(MTaxProvider provider, MOrderLine line)
-
calculateInvoiceTaxTotal
boolean calculateInvoiceTaxTotal(MTaxProvider provider, MInvoice invoice)
-
updateInvoiceTax
boolean updateInvoiceTax(MTaxProvider provider, MInvoiceLine line)
-
recalculateTax
boolean recalculateTax(MTaxProvider provider, MInvoiceLine line, boolean newRecord)
-
updateHeaderTax
boolean updateHeaderTax(MTaxProvider provider, MInvoiceLine line)
-
calculateRMATaxTotal
boolean calculateRMATaxTotal(MTaxProvider provider, MRMA rma)
-
updateRMATax
boolean updateRMATax(MTaxProvider provider, MRMALine line)
-
recalculateTax
boolean recalculateTax(MTaxProvider provider, MRMALine line, boolean newRecord)
-
updateHeaderTax
boolean updateHeaderTax(MTaxProvider provider, MRMALine line)
-
validateConnection
String validateConnection(MTaxProvider provider, ProcessInfo pi) throws Exception
- Throws:
Exception
-
-