atg.integrations.taxware
Class TaxWareStatus

java.lang.Object
  extended by atg.integrations.taxware.TaxWareStatus
All Implemented Interfaces:
PaymentStatus, TaxStatus, java.io.Serializable

public class TaxWareStatus
extends java.lang.Object
implements TaxStatus

This class encapsulates a standard TaxWare system response

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
TaxWareStatus(double amount, double stateTax, double countyTax, double cityTax, double districtTax, double countryTax)
           
TaxWareStatus(java.lang.String error)
           
 
Method Summary
 double getAmount()
          The amount that was submitted for the transaction
 double getCityTax()
          The city tax amount
 double getCountryTax()
          The country tax amount
 double getCountyTax()
          The county tax amount
 double getDistrictTax()
          The district/territory tax amount
 java.lang.String getErrorMessage()
          A message describing the transaction failure
 double getStateTax()
          The state/province tax amount
 java.lang.String getTransactionId()
          A unique transaction Id returned from the payment system
 boolean getTransactionSuccess()
          Indicates if the transaction succeeded or failed
 java.util.Date getTransactionTimestamp()
          Date when the transaction is initiated
 void setAmount(double pAmount)
           
 void setCityTax(double pCityTax)
           
 void setCountryTax(double pCountryTax)
           
 void setCountyTax(double pCountyTax)
           
 void setDistrictTax(double pDistrictTax)
           
 void setErrorMessage(java.lang.String pErrorMessage)
           
 void setStateTax(double pStateTax)
           
 void setTransactionId(java.lang.String pTransactionId)
           
 void setTransactionSuccess(boolean pTransactionSuccess)
           
 void setTransactionTimestamp(java.util.Date pTransactionTimestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

TaxWareStatus

public TaxWareStatus(double amount,
                     double stateTax,
                     double countyTax,
                     double cityTax,
                     double districtTax,
                     double countryTax)

TaxWareStatus

public TaxWareStatus(java.lang.String error)
Method Detail

getTransactionId

public java.lang.String getTransactionId()
Description copied from interface: PaymentStatus
A unique transaction Id returned from the payment system

Specified by:
getTransactionId in interface PaymentStatus

setTransactionId

public void setTransactionId(java.lang.String pTransactionId)

getTransactionSuccess

public boolean getTransactionSuccess()
Description copied from interface: PaymentStatus
Indicates if the transaction succeeded or failed

Specified by:
getTransactionSuccess in interface PaymentStatus

setTransactionSuccess

public void setTransactionSuccess(boolean pTransactionSuccess)

getErrorMessage

public java.lang.String getErrorMessage()
Description copied from interface: PaymentStatus
A message describing the transaction failure

Specified by:
getErrorMessage in interface PaymentStatus

setErrorMessage

public void setErrorMessage(java.lang.String pErrorMessage)

getTransactionTimestamp

public java.util.Date getTransactionTimestamp()
Description copied from interface: PaymentStatus
Date when the transaction is initiated

Specified by:
getTransactionTimestamp in interface PaymentStatus

setTransactionTimestamp

public void setTransactionTimestamp(java.util.Date pTransactionTimestamp)

getAmount

public double getAmount()
Description copied from interface: PaymentStatus
The amount that was submitted for the transaction

Specified by:
getAmount in interface PaymentStatus

setAmount

public void setAmount(double pAmount)

getCityTax

public double getCityTax()
Description copied from interface: TaxStatus
The city tax amount

Specified by:
getCityTax in interface TaxStatus

setCityTax

public void setCityTax(double pCityTax)

getStateTax

public double getStateTax()
Description copied from interface: TaxStatus
The state/province tax amount

Specified by:
getStateTax in interface TaxStatus

setStateTax

public void setStateTax(double pStateTax)

getCountyTax

public double getCountyTax()
Description copied from interface: TaxStatus
The county tax amount

Specified by:
getCountyTax in interface TaxStatus

setCountyTax

public void setCountyTax(double pCountyTax)

getDistrictTax

public double getDistrictTax()
Description copied from interface: TaxStatus
The district/territory tax amount

Specified by:
getDistrictTax in interface TaxStatus

setDistrictTax

public void setDistrictTax(double pDistrictTax)

getCountryTax

public double getCountryTax()
Description copied from interface: TaxStatus
The country tax amount

Specified by:
getCountryTax in interface TaxStatus

setCountryTax

public void setCountryTax(double pCountryTax)