public class TaxWareStatus extends java.lang.Object implements TaxStatus
This class encapsulates a standard TaxWare system response
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| Constructor and Description |
|---|
TaxWareStatus(double amount,
double stateTax,
double countyTax,
double cityTax,
double districtTax,
double countryTax) |
TaxWareStatus(java.lang.String error) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public TaxWareStatus(double amount,
double stateTax,
double countyTax,
double cityTax,
double districtTax,
double countryTax)
public TaxWareStatus(java.lang.String error)
public java.lang.String getTransactionId()
PaymentStatusgetTransactionId in interface PaymentStatuspublic void setTransactionId(java.lang.String pTransactionId)
public boolean getTransactionSuccess()
PaymentStatusgetTransactionSuccess in interface PaymentStatuspublic void setTransactionSuccess(boolean pTransactionSuccess)
public java.lang.String getErrorMessage()
PaymentStatusgetErrorMessage in interface PaymentStatuspublic void setErrorMessage(java.lang.String pErrorMessage)
public java.util.Date getTransactionTimestamp()
PaymentStatusgetTransactionTimestamp in interface PaymentStatuspublic void setTransactionTimestamp(java.util.Date pTransactionTimestamp)
public double getAmount()
PaymentStatusgetAmount in interface PaymentStatuspublic void setAmount(double pAmount)
public double getCityTax()
TaxStatusgetCityTax in interface TaxStatuspublic void setCityTax(double pCityTax)
public double getStateTax()
TaxStatusgetStateTax in interface TaxStatuspublic void setStateTax(double pStateTax)
public double getCountyTax()
TaxStatusgetCountyTax in interface TaxStatuspublic void setCountyTax(double pCountyTax)
public double getDistrictTax()
TaxStatusgetDistrictTax in interface TaxStatuspublic void setDistrictTax(double pDistrictTax)
public double getCountryTax()
TaxStatusgetCountryTax in interface TaxStatuspublic void setCountryTax(double pCountryTax)