java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.TaxItem

public class TaxItem extends Object
A tax item is created for each tax rate and tax type used in the bill.
  • Constructor Details

    • TaxItem

      public TaxItem()
  • Method Details

    • taxCategory

      public TaxItem taxCategory(String taxCategory)
    • getTaxCategory

      public String getTaxCategory()
      Tax category
      Returns:
      taxCategory
    • setTaxCategory

      public void setTaxCategory(String taxCategory)
    • taxRate

      public TaxItem taxRate(Float taxRate)
    • getTaxRate

      public Float getTaxRate()
      Applied rate of the tax
      Returns:
      taxRate
    • setTaxRate

      public void setTaxRate(Float taxRate)
    • taxAmount

      public TaxItem taxAmount(Money taxAmount)
    • getTaxAmount

      @Valid public @Valid Money getTaxAmount()
      Get taxAmount
      Returns:
      taxAmount
    • setTaxAmount

      public void setTaxAmount(Money taxAmount)
    • atBaseType

      public TaxItem atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public TaxItem atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public TaxItem atType(String atType)
    • getAtType

      public String getAtType()
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object