atg.commerce.payment
Class DummyTaxStatus

java.lang.Object
  extended by atg.commerce.payment.DummyTaxStatus
All Implemented Interfaces:
PaymentStatus, TaxStatus, java.io.Serializable

public class DummyTaxStatus
extends java.lang.Object
implements TaxStatus

Dummy tax status for use only with a DummyTaxProcessor.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
DummyTaxStatus()
           
 
Method Summary
 double getAmount()
          Get property Amount
 double getCityTax()
          Get property CityTax
 double getCountryTax()
          Get property CountryTax
 double getCountyTax()
          Get property CountyTax
 double getDistrictTax()
          Get property DistrictTax
 java.lang.String getErrorMessage()
          Get property ErrorMessage
 double getStateTax()
          Get property StateTax
 java.lang.String getTransactionId()
          Get property TransactionId
 boolean getTransactionSuccess()
          Get property TransactionSuccess
 java.util.Date getTransactionTimestamp()
          Get property TransactionTimestamp
 boolean isTransactionSuccess()
          Test property TransactionSuccess
 void setAmount(double pAmount)
          Set property Amount
 void setCityTax(double pCityTax)
          Set property CityTax
 void setCountryTax(double pCountryTax)
          Set property CountryTax
 void setCountyTax(double pCountyTax)
          Set property CountyTax
 void setDistrictTax(double pDistrictTax)
          Set property DistrictTax
 void setErrorMessage(java.lang.String pErrorMessage)
          Set property ErrorMessage
 void setStateTax(double pStateTax)
          Set property StateTax
 void setTransactionId(java.lang.String pTransactionId)
          Set property TransactionId
 void setTransactionSuccess(boolean pTransactionSuccess)
          Set property TransactionSuccess
 void setTransactionTimestamp(java.util.Date pTransactionTimestamp)
          Set property TransactionTimestamp
 
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
Class version string

Constructor Detail

DummyTaxStatus

public DummyTaxStatus()
Method Detail

setTransactionId

public void setTransactionId(java.lang.String pTransactionId)
Set property TransactionId

Parameters:
pTransactionId - new value to set

getTransactionId

public java.lang.String getTransactionId()
Get property TransactionId

Specified by:
getTransactionId in interface PaymentStatus
Returns:
TransactionId

setTransactionSuccess

public void setTransactionSuccess(boolean pTransactionSuccess)
Set property TransactionSuccess

Parameters:
pTransactionSuccess - new value to set

getTransactionSuccess

public boolean getTransactionSuccess()
Get property TransactionSuccess

Specified by:
getTransactionSuccess in interface PaymentStatus
Returns:
TransactionSuccess

isTransactionSuccess

public boolean isTransactionSuccess()
Test property TransactionSuccess

Returns:
TransactionSuccess

setErrorMessage

public void setErrorMessage(java.lang.String pErrorMessage)
Set property ErrorMessage

Parameters:
pErrorMessage - new value to set

getErrorMessage

public java.lang.String getErrorMessage()
Get property ErrorMessage

Specified by:
getErrorMessage in interface PaymentStatus
Returns:
ErrorMessage

setTransactionTimestamp

public void setTransactionTimestamp(java.util.Date pTransactionTimestamp)
Set property TransactionTimestamp

Parameters:
pTransactionTimestamp - new value to set

getTransactionTimestamp

public java.util.Date getTransactionTimestamp()
Get property TransactionTimestamp

Specified by:
getTransactionTimestamp in interface PaymentStatus
Returns:
TransactionTimestamp

setAmount

public void setAmount(double pAmount)
Set property Amount

Parameters:
pAmount - new value to set

getAmount

public double getAmount()
Get property Amount

Specified by:
getAmount in interface PaymentStatus
Returns:
Amount

setCityTax

public void setCityTax(double pCityTax)
Set property CityTax

Parameters:
pCityTax - new value to set

getCityTax

public double getCityTax()
Get property CityTax

Specified by:
getCityTax in interface TaxStatus
Returns:
CityTax

setStateTax

public void setStateTax(double pStateTax)
Set property StateTax

Parameters:
pStateTax - new value to set

getStateTax

public double getStateTax()
Get property StateTax

Specified by:
getStateTax in interface TaxStatus
Returns:
StateTax

setCountyTax

public void setCountyTax(double pCountyTax)
Set property CountyTax

Parameters:
pCountyTax - new value to set

getCountyTax

public double getCountyTax()
Get property CountyTax

Specified by:
getCountyTax in interface TaxStatus
Returns:
CountyTax

setCountryTax

public void setCountryTax(double pCountryTax)
Set property CountryTax

Parameters:
pCountryTax - new value to set

getCountryTax

public double getCountryTax()
Get property CountryTax

Specified by:
getCountryTax in interface TaxStatus
Returns:
CountryTax

setDistrictTax

public void setDistrictTax(double pDistrictTax)
Set property DistrictTax

Parameters:
pDistrictTax - new value to set

getDistrictTax

public double getDistrictTax()
Get property DistrictTax

Specified by:
getDistrictTax in interface TaxStatus
Returns:
DistrictTax