java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v2_0.Sku
All Implemented Interfaces:
Serializable

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

    • basePrice

      protected Double basePrice
    • basePriceFormatted

      protected String basePriceFormatted
    • basePromoPrice

      protected Double basePromoPrice
    • basePromoPriceFormatted

      protected String basePromoPriceFormatted
    • id

      protected Long id
    • name

      protected String name
    • xClassName

      public String xClassName
  • Constructor Details

    • Sku

      public Sku()
  • Method Details

    • toDTO

      public static Sku toDTO(String json)
    • unsafeToDTO

      public static Sku unsafeToDTO(String json)
    • getBasePrice

      public Double getBasePrice()
    • setBasePrice

      public void setBasePrice(Double basePrice)
    • setBasePrice

      public void setBasePrice(com.liferay.petra.function.UnsafeSupplier<Double,Exception> basePriceUnsafeSupplier)
    • getBasePriceFormatted

      public String getBasePriceFormatted()
    • setBasePriceFormatted

      public void setBasePriceFormatted(String basePriceFormatted)
    • setBasePriceFormatted

      public void setBasePriceFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> basePriceFormattedUnsafeSupplier)
    • getBasePromoPrice

      public Double getBasePromoPrice()
    • setBasePromoPrice

      public void setBasePromoPrice(Double basePromoPrice)
    • setBasePromoPrice

      public void setBasePromoPrice(com.liferay.petra.function.UnsafeSupplier<Double,Exception> basePromoPriceUnsafeSupplier)
    • getBasePromoPriceFormatted

      public String getBasePromoPriceFormatted()
    • setBasePromoPriceFormatted

      public void setBasePromoPriceFormatted(String basePromoPriceFormatted)
    • setBasePromoPriceFormatted

      public void setBasePromoPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> basePromoPriceFormattedUnsafeSupplier)
    • getId

      @DecimalMin("0") public @DecimalMin("0") Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

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