java.lang.Object | +--com.ibm.commerce.me.datatype.TaxInfo
This is the class used to store the tax amount and related information in a purchase order.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright notice field |
Constructor Summary | |
---|---|
TaxInfo() TaxInfo constructor |
Method Summary | |
---|---|
java.math.BigDecimal |
getAmount() Gets the total tax amount |
java.lang.String |
getCurrency() Gets the currency used for tax amount |
java.lang.String |
getDescription() Gets the description |
void |
setAmount(java.math.BigDecimal newAmount) Sets the total tax amount |
void |
setCurrency(java.lang.String newCurrency) Sets the currency used for tax amount |
void |
setDescription(java.lang.String newDescription) Sets the description field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public TaxInfo()
Method Detail |
---|
public java.math.BigDecimal getAmount()
public java.lang.String getCurrency()
public java.lang.String getDescription()
public void setAmount(java.math.BigDecimal newAmount)
newAmount
- the new tax amountpublic void setCurrency(java.lang.String newCurrency)
newCurrency
- the currency used for the tax
amountpublic void setDescription(java.lang.String newDescription)
newDescription
- the description for the tax
information