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

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

    • currency

      protected String currency
    • discount

      protected String discount
    • discountPercentage

      protected String discountPercentage
    • discountPercentages

      protected String[] discountPercentages
    • finalPrice

      protected String finalPrice
    • price

      protected Double price
    • priceFormatted

      protected String priceFormatted
    • priceOnApplication

      protected Boolean priceOnApplication
    • pricingQuantityPrice

      protected Double pricingQuantityPrice
    • pricingQuantityPriceFormatted

      protected String pricingQuantityPriceFormatted
    • promoPrice

      protected Double promoPrice
    • promoPriceFormatted

      protected String promoPriceFormatted
    • tierPrice

      protected Double tierPrice
    • tierPriceFormatted

      protected String tierPriceFormatted
    • xClassName

      public String xClassName
  • Constructor Details

    • Price

      public Price()
  • Method Details

    • toDTO

      public static Price toDTO(String json)
    • unsafeToDTO

      public static Price 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)
    • getDiscount

      public String getDiscount()
    • setDiscount

      public void setDiscount(String discount)
    • setDiscount

      public void setDiscount(com.liferay.petra.function.UnsafeSupplier<String,Exception> discountUnsafeSupplier)
    • getDiscountPercentage

      public String getDiscountPercentage()
    • setDiscountPercentage

      public void setDiscountPercentage(String discountPercentage)
    • setDiscountPercentage

      public void setDiscountPercentage(com.liferay.petra.function.UnsafeSupplier<String,Exception> discountPercentageUnsafeSupplier)
    • getDiscountPercentages

      public String[] getDiscountPercentages()
    • setDiscountPercentages

      public void setDiscountPercentages(String[] discountPercentages)
    • setDiscountPercentages

      public void setDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<String[],Exception> discountPercentagesUnsafeSupplier)
    • getFinalPrice

      public String getFinalPrice()
    • setFinalPrice

      public void setFinalPrice(String finalPrice)
    • setFinalPrice

      public void setFinalPrice(com.liferay.petra.function.UnsafeSupplier<String,Exception> finalPriceUnsafeSupplier)
    • 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)
    • getPriceOnApplication

      public Boolean getPriceOnApplication()
    • setPriceOnApplication

      public void setPriceOnApplication(Boolean priceOnApplication)
    • setPriceOnApplication

      public void setPriceOnApplication(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> priceOnApplicationUnsafeSupplier)
    • 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)
    • getPromoPrice

      public Double getPromoPrice()
    • setPromoPrice

      public void setPromoPrice(Double promoPrice)
    • setPromoPrice

      public void setPromoPrice(com.liferay.petra.function.UnsafeSupplier<Double,Exception> promoPriceUnsafeSupplier)
    • getPromoPriceFormatted

      public String getPromoPriceFormatted()
    • setPromoPriceFormatted

      public void setPromoPriceFormatted(String promoPriceFormatted)
    • setPromoPriceFormatted

      public void setPromoPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> promoPriceFormattedUnsafeSupplier)
    • getTierPrice

      public Double getTierPrice()
    • setTierPrice

      public void setTierPrice(Double tierPrice)
    • setTierPrice

      public void setTierPrice(com.liferay.petra.function.UnsafeSupplier<Double,Exception> tierPriceUnsafeSupplier)
    • getTierPriceFormatted

      public String getTierPriceFormatted()
    • setTierPriceFormatted

      public void setTierPriceFormatted(String tierPriceFormatted)
    • setTierPriceFormatted

      public void setTierPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> tierPriceFormattedUnsafeSupplier)
    • 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