public class TaxPriceInfo extends AmountInfo
Properties:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
FINAL_PRICE_MANUAL_ADJUSTMENT, mFinalReasonCode
Constructor and Description |
---|
TaxPriceInfo() |
Modifier and Type | Method and Description |
---|---|
double |
getCityTax()
Get the city tax
|
double |
getCountryTax()
Get the country tax
|
double |
getCountyTax()
Get the county tax
|
double |
getDistrictTax()
Gets the district/territory tax
|
boolean |
getIsTaxIncluded()
Indicates whether tax is included in the amount
|
double |
getMiscTax()
Get the MiscTaxValue amount which is sum of all misc taxes
like special tax etc.
|
java.util.Map<java.lang.String,java.lang.Double> |
getMiscTaxInfo()
Returns map of all misc taxes like special tax
Contains all tax types which don't need to be defined as
first class properties
|
java.util.Map |
getShippingItemsTaxPriceInfos()
maps a shipping group ID to a PriceInfo that contains the tax price information for only the items that appear in that shipping group
|
double |
getStateTax()
Get the state/province tax
|
double |
getValueAddedTax()
Get the ValueAddedTax amount
|
void |
setCityTax(double pCityTax)
Set the city tax
|
void |
setCountryTax(double pCountryTax)
Set the country tax
|
void |
setCountyTax(double pCountyTax)
Set the county tax
|
void |
setDistrictTax(double pDistrictTax)
Sets the district/territory tax
|
void |
setIsTaxIncluded(boolean pIsTaxIncluded)
Sets the isTaxIncluded flag
|
void |
setMiscTax(double pMiscTax)
Set the MiscTax property as sum of all misc tax types
|
void |
setMiscTaxInfo(java.util.Map<java.lang.String,java.lang.Double> pMiscTaxInfo)
Sets the MiscTaxes flag
|
void |
setShippingItemsTaxPriceInfos(java.util.Map pShippingItemsTaxPriceInfos)
maps a shipping group ID to a PriceInfo that contains the tax price information for only the items that appear in that shipping group
|
void |
setStateTax(double pStateTax)
Set the state/province tax
|
void |
setValueAddedTax(double pValueAddedTax)
Set the ValueAddedTax amount
|
getAdjustments, getAmount, getClosenessQualifiers, getCurrencyCode, getFinalReasonCode, isAmountIsFinal, isDiscounted, markAsFinal, markAsFinal, markAsFinal, markAsFinal, setAmount, setAmountIsFinal, setClosenessQualifiers, setCurrencyCode, setDiscounted, setFinalReasonCode, toString, unmarkAsFinal
public void setShippingItemsTaxPriceInfos(java.util.Map pShippingItemsTaxPriceInfos)
pShippingItemsTaxPriceInfos
- new value to setpublic java.util.Map getShippingItemsTaxPriceInfos()
public void setCityTax(double pCityTax)
public double getCityTax()
public void setCountyTax(double pCountyTax)
public double getCountyTax()
public void setStateTax(double pStateTax)
public double getStateTax()
public void setDistrictTax(double pDistrictTax)
public double getDistrictTax()
public void setCountryTax(double pCountryTax)
public double getCountryTax()
public void setValueAddedTax(double pValueAddedTax)
public double getValueAddedTax()
public void setIsTaxIncluded(boolean pIsTaxIncluded)
public boolean getIsTaxIncluded()
public void setMiscTaxInfo(java.util.Map<java.lang.String,java.lang.Double> pMiscTaxInfo)
public java.util.Map<java.lang.String,java.lang.Double> getMiscTaxInfo()
public void setMiscTax(double pMiscTax)
public double getMiscTax()