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

public class Price extends Object
Provides all amounts (tax included, duty free, tax rate), used currency and percentage to apply for Price Alteration.
  • Constructor Details

    • Price

      public Price()
  • Method Details

    • percentage

      public Price percentage(Float percentage)
    • getPercentage

      public Float getPercentage()
      Percentage to apply for ProdOfferPriceAlteration
      Returns:
      percentage
    • setPercentage

      public void setPercentage(Float percentage)
    • taxRate

      public Price taxRate(Float taxRate)
    • getTaxRate

      public Float getTaxRate()
      Tax rate
      Returns:
      taxRate
    • setTaxRate

      public void setTaxRate(Float taxRate)
    • dutyFreeAmount

      public Price dutyFreeAmount(Money dutyFreeAmount)
    • getDutyFreeAmount

      @Valid public @Valid Money getDutyFreeAmount()
      Get dutyFreeAmount
      Returns:
      dutyFreeAmount
    • setDutyFreeAmount

      public void setDutyFreeAmount(Money dutyFreeAmount)
    • taxIncludedAmount

      public Price taxIncludedAmount(Money taxIncludedAmount)
    • getTaxIncludedAmount

      @Valid public @Valid Money getTaxIncludedAmount()
      Get taxIncludedAmount
      Returns:
      taxIncludedAmount
    • setTaxIncludedAmount

      public void setTaxIncludedAmount(Money taxIncludedAmount)
    • atBaseType

      public Price 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 Price 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 Price 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