java.lang.Object
com.liferay.headless.commerce.delivery.catalog.dto.v1_0.TierPrice
All Implemented Interfaces:
Serializable

@Generated("") public class TierPrice extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • currency

      protected String currency
    • price

      protected Double price
    • priceFormatted

      protected String priceFormatted
    • pricingQuantityPrice

      protected Double pricingQuantityPrice
    • pricingQuantityPriceFormatted

      protected String pricingQuantityPriceFormatted
    • quantity

      protected BigDecimal quantity
    • xClassName

      public String xClassName
  • Constructor Details

    • TierPrice

      public TierPrice()
  • Method Details

    • toDTO

      public static TierPrice toDTO(String json)
    • unsafeToDTO

      public static TierPrice unsafeToDTO(String json)
    • getCurrency

      public String getCurrency()
    • setCurrency

      public void setCurrency(String currency)
    • setCurrency

      public void setCurrency(com.liferay.petra.function.UnsafeSupplier<String,Exception> currencyUnsafeSupplier)
    • getPrice

      public Double getPrice()
    • setPrice

      public void setPrice(Double price)
    • setPrice

      public void setPrice(com.liferay.petra.function.UnsafeSupplier<Double,Exception> priceUnsafeSupplier)
    • getPriceFormatted

      public String getPriceFormatted()
    • setPriceFormatted

      public void setPriceFormatted(String priceFormatted)
    • setPriceFormatted

      public void setPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> priceFormattedUnsafeSupplier)
    • getPricingQuantityPrice

      public Double getPricingQuantityPrice()
    • setPricingQuantityPrice

      public void setPricingQuantityPrice(Double pricingQuantityPrice)
    • setPricingQuantityPrice

      public void setPricingQuantityPrice(com.liferay.petra.function.UnsafeSupplier<Double,Exception> pricingQuantityPriceUnsafeSupplier)
    • getPricingQuantityPriceFormatted

      public String getPricingQuantityPriceFormatted()
    • setPricingQuantityPriceFormatted

      public void setPricingQuantityPriceFormatted(String pricingQuantityPriceFormatted)
    • setPricingQuantityPriceFormatted

      public void setPricingQuantityPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> pricingQuantityPriceFormattedUnsafeSupplier)
    • getQuantity

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getQuantity()
    • setQuantity

      public void setQuantity(BigDecimal quantity)
    • setQuantity

      public void setQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> quantityUnsafeSupplier)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object