atg.payment.tax
Interface TaxProcessor

All Known Implementing Classes:
DummyTaxProcessor, TaxWareCalculateTax

public interface TaxProcessor

This class defines an interface for tax calculation processing over different tax payment systems such as CyberCash, CyberSource, Taxware.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 TaxStatus calculateTax(TaxRequestInfo pTaxInfo)
          Calculate tax on the information specified in TaxRequestInfo
 TaxStatus[] calculateTaxByShipping(TaxRequestInfo pTaxInfo)
          Calculate tax on the information specified in TaxRequestInfo.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

calculateTax

TaxStatus calculateTax(TaxRequestInfo pTaxInfo)
Calculate tax on the information specified in TaxRequestInfo

Parameters:
pTaxInfo - the TaxInfo reference which contains all the tax calculation data
Returns:
a TaxStatus object detailing the results of the tax calculation

calculateTaxByShipping

TaxStatus[] calculateTaxByShipping(TaxRequestInfo pTaxInfo)
Calculate tax on the information specified in TaxRequestInfo. Unlike calculateTax, however, this method returns tax information on a per-shipping group basis. That is to say, it returns tax information for items grouped around their shipping address.

Parameters:
pTaxInfo - the TaxInfo reference which contains all the tax calculation data
Returns:
an array of TaxStatus objects detailing the results of the tax calculation