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 class stores the tax amount and related information in a purchase order.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field
    • Constructor Summary

      Constructors 
      Constructor and Description
      TaxInfo()
      The TaxInfo constructor calls its parents constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.math.BigDecimal getAmount()
      This method gets the total tax amount.
      java.lang.String getCurrency()
      This method gets the tax amount currency.
      java.lang.String getDescription()
      This method gets the description of the tax information.
      void setAmount(java.math.BigDecimal newAmount)
      This method sets the total tax amount.
      void setCurrency(java.lang.String newCurrency)
      This method sets the tax amount currency.
      void setDescription(java.lang.String newDescription)
      This method sets the tax information description.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field
        See Also:
        Constant Field Values
    • Constructor Detail

      • TaxInfo

        public TaxInfo()
        The TaxInfo constructor calls its parents constructor.
    • Method Detail

      • getAmount

        public java.math.BigDecimal getAmount()
        This method gets the total tax amount.
        Returns:
        the total tax amount
      • getCurrency

        public java.lang.String getCurrency()
        This method gets the tax amount currency.
        Returns:
        the currency for the tax amount
      • getDescription

        public java.lang.String getDescription()
        This method gets the description of the tax information.
        Returns:
        the description of the taxation information
      • setAmount

        public void setAmount(java.math.BigDecimal newAmount)
        This method sets the total tax amount.
        Parameters:
        newAmount - the new tax amount
      • setCurrency

        public void setCurrency(java.lang.String newCurrency)
        This method sets the tax amount currency.
        Parameters:
        newCurrency - the currency used for the tax amount
      • setDescription

        public void setDescription(java.lang.String newDescription)
        This method sets the tax information description.
        Parameters:
        newDescription - the description for the tax information