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") LonggetId()getName()inthashCode()voidsetBasePrice(com.liferay.petra.function.UnsafeSupplier<Double, Exception> basePriceUnsafeSupplier) voidsetBasePrice(Double basePrice) voidsetBasePriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> basePriceFormattedUnsafeSupplier) voidsetBasePriceFormatted(String basePriceFormatted) voidsetBasePromoPrice(com.liferay.petra.function.UnsafeSupplier<Double, Exception> basePromoPriceUnsafeSupplier) voidsetBasePromoPrice(Double basePromoPrice) voidsetBasePromoPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> basePromoPriceFormattedUnsafeSupplier) voidsetBasePromoPriceFormatted(String basePromoPriceFormatted) voidvoidvoidvoidstatic SkutoString()static SkuunsafeToDTO(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
-