com.ibm.commerce.me.datatype
Class TaxInfo

java.lang.Object
  |
  +--com.ibm.commerce.me.datatype.TaxInfo
All Implemented Interfaces:
java.io.Serializable

public class TaxInfo
extends java.lang.Object
implements java.io.Serializable

This is the class used to store the tax amount and related information in a purchase order.

See Also:
Serialized Form

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
IBM Copyright notice field
See Also:
Constant Field Values
Constructor Detail

TaxInfo

public TaxInfo()
TaxInfo constructor
Method Detail

getAmount

public java.math.BigDecimal getAmount()
Gets the total tax amount
Returns:
the total tax amount

getCurrency

public java.lang.String getCurrency()
Gets the currency used for tax amount
Returns:
the currency for the amount

getDescription

public java.lang.String getDescription()
Gets the description
Returns:
the description of the taxation informaiton

setAmount

public void setAmount(java.math.BigDecimal newAmount)
Sets the total tax amount
Parameters:
newAmount - the new tax amount

setCurrency

public void setCurrency(java.lang.String newCurrency)
Sets the currency used for tax amount
Parameters:
newCurrency - the currency used for the tax amount

setDescription

public void setDescription(java.lang.String newDescription)
Sets the description field
Parameters:
newDescription - the description for the tax information