Class Sku
java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v2_0.Sku
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@DecimalMin("0") Long
getId()
getName()
int
hashCode()
void
setBasePrice
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> basePriceUnsafeSupplier) void
setBasePrice
(Double basePrice) void
setBasePriceFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> basePriceFormattedUnsafeSupplier) void
setBasePriceFormatted
(String basePriceFormatted) void
setBasePromoPrice
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> basePromoPriceUnsafeSupplier) void
setBasePromoPrice
(Double basePromoPrice) void
setBasePromoPriceFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> basePromoPriceFormattedUnsafeSupplier) void
setBasePromoPriceFormatted
(String basePromoPriceFormatted) void
void
void
void
static Sku
toString()
static Sku
unsafeToDTO
(String json)
-
Field Details
-
basePrice
-
basePriceFormatted
-
basePromoPrice
-
basePromoPriceFormatted
-
id
-
name
-
xClassName
-
-
Constructor Details
-
Sku
public Sku()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getBasePrice
-
setBasePrice
-
setBasePrice
-
getBasePriceFormatted
-
setBasePriceFormatted
-
setBasePriceFormatted
-
getBasePromoPrice
-
setBasePromoPrice
-
setBasePromoPrice
-
getBasePromoPriceFormatted
-
setBasePromoPriceFormatted
-
setBasePromoPriceFormatted
-
getId
-
setId
-
setId
-
getName
-
setName
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-