public class DummyTaxStatus extends java.lang.Object implements TaxStatus
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
DummyTaxStatus() |
| Modifier and Type | Method and Description |
|---|---|
double |
getAmount()
Get property Amount
|
double |
getCityTax()
Get property CityTax
|
double |
getCountryTax()
Get property CountryTax
|
double |
getCountyTax()
Get property CountyTax
|
java.util.Map<java.lang.String,java.lang.Double> |
getDetailedTaxInfo()
Holds item level tax details for all items in transaction.
|
double |
getDistrictTax()
Get property DistrictTax
|
java.lang.String |
getErrorMessage()
Get property ErrorMessage
|
boolean |
getIsTaxIncluded()
Indicates whether tax is included in the amount
|
double |
getMiscTax()
Get the miscellaneous tax which is sum of all misc taxes,
like special tax, etc.
|
java.util.Map<java.lang.String,java.lang.Double> |
getMiscTaxInfo()
Returns a map of all misc taxes, which don't need to be
defined as first class properties, e.g.
|
double |
getStateTax()
Get property StateTax
|
java.lang.String |
getTransactionId()
Get property TransactionId
|
boolean |
getTransactionSuccess()
Get property TransactionSuccess
|
java.util.Date |
getTransactionTimestamp()
Get property TransactionTimestamp
|
double |
getValueAddedTax()
The VAT amount
|
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 |
setDetailedTaxInfo(java.util.Map<java.lang.String,java.lang.Double> pDetailedTaxInfo)
Sets the detailed tax info.
|
void |
setDistrictTax(double pDistrictTax)
Set property DistrictTax
|
void |
setErrorMessage(java.lang.String pErrorMessage)
Set property ErrorMessage
|
void |
setIsTaxIncluded(boolean pIsTaxIncluded) |
void |
setMiscTaxAmount(double pMiscTax)
Set property MiscTax
|
void |
setMiscTaxInfo(java.util.Map<java.lang.String,java.lang.Double> pMiscTaxInfo)
Sets the misc tax info details.
|
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
|
void |
setValueAddedTax(double pValueAddedTax) |
public void setTransactionId(java.lang.String pTransactionId)
pTransactionId - new value to setpublic java.lang.String getTransactionId()
getTransactionId in interface PaymentStatuspublic void setTransactionSuccess(boolean pTransactionSuccess)
pTransactionSuccess - new value to setpublic boolean getTransactionSuccess()
getTransactionSuccess in interface PaymentStatuspublic boolean isTransactionSuccess()
public void setErrorMessage(java.lang.String pErrorMessage)
pErrorMessage - new value to setpublic java.lang.String getErrorMessage()
getErrorMessage in interface PaymentStatuspublic void setTransactionTimestamp(java.util.Date pTransactionTimestamp)
pTransactionTimestamp - new value to setpublic java.util.Date getTransactionTimestamp()
getTransactionTimestamp in interface PaymentStatuspublic void setAmount(double pAmount)
pAmount - new value to setpublic double getAmount()
getAmount in interface PaymentStatuspublic void setCityTax(double pCityTax)
pCityTax - new value to setpublic double getCityTax()
getCityTax in interface TaxStatuspublic void setStateTax(double pStateTax)
pStateTax - new value to setpublic double getStateTax()
getStateTax in interface TaxStatuspublic void setCountyTax(double pCountyTax)
pCountyTax - new value to setpublic double getCountyTax()
getCountyTax in interface TaxStatuspublic void setCountryTax(double pCountryTax)
pCountryTax - new value to setpublic double getCountryTax()
getCountryTax in interface TaxStatuspublic void setDistrictTax(double pDistrictTax)
pDistrictTax - new value to setpublic double getDistrictTax()
getDistrictTax in interface TaxStatuspublic void setValueAddedTax(double pValueAddedTax)
public double getValueAddedTax()
TaxStatusgetValueAddedTax in interface TaxStatuspublic void setIsTaxIncluded(boolean pIsTaxIncluded)
public boolean getIsTaxIncluded()
TaxStatusgetIsTaxIncluded in interface TaxStatuspublic void setMiscTaxAmount(double pMiscTax)
pMiscTax - new value to setpublic double getMiscTax()
getMiscTax in interface TaxStatuspublic void setMiscTaxInfo(java.util.Map<java.lang.String,java.lang.Double> pMiscTaxInfo)
public java.util.Map<java.lang.String,java.lang.Double> getMiscTaxInfo()
getMiscTaxInfo in interface TaxStatuspublic void setDetailedTaxInfo(java.util.Map<java.lang.String,java.lang.Double> pDetailedTaxInfo)
The detailed tax info holds item level tax details for all items in transaction. Note that shipping can also be included if it's taxed.
pDetailedTaxInfo - detailed tax infopublic java.util.Map<java.lang.String,java.lang.Double> getDetailedTaxInfo()
getDetailedTaxInfo in interface TaxStatus