Class PriceEntry
java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v1_0.PriceEntry
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@DecimalMin("0") Long
getId()
@DecimalMin("0") @Valid BigDecimal
getPrice()
@DecimalMin("0") Long
@DecimalMin("0") @Valid BigDecimal
getSku()
@DecimalMin("0") Long
getSkuId()
@Valid TierPrice[]
int
hashCode()
void
setCustomFields
(com.liferay.petra.function.UnsafeSupplier<Map<String, ?>, Exception> customFieldsUnsafeSupplier) void
setCustomFields
(Map<String, ?> customFields) void
setExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) void
setExternalReferenceCode
(String externalReferenceCode) void
setHasTierPrice
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> hasTierPriceUnsafeSupplier) void
setHasTierPrice
(Boolean hasTierPrice) void
void
void
setPrice
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> priceUnsafeSupplier) void
setPrice
(BigDecimal price) void
setPriceListExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> priceListExternalReferenceCodeUnsafeSupplier) void
setPriceListExternalReferenceCode
(String priceListExternalReferenceCode) void
setPriceListId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> priceListIdUnsafeSupplier) void
setPriceListId
(Long priceListId) void
setPromoPrice
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> promoPriceUnsafeSupplier) void
setPromoPrice
(BigDecimal promoPrice) void
void
void
setSkuExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> skuExternalReferenceCodeUnsafeSupplier) void
setSkuExternalReferenceCode
(String skuExternalReferenceCode) void
void
void
setTierPrices
(TierPrice[] tierPrices) void
setTierPrices
(com.liferay.petra.function.UnsafeSupplier<TierPrice[], Exception> tierPricesUnsafeSupplier) static PriceEntry
toString()
static PriceEntry
unsafeToDTO
(String json)
-
Field Details
-
customFields
-
externalReferenceCode
-
hasTierPrice
-
id
-
price
-
priceListExternalReferenceCode
-
priceListId
-
promoPrice
-
sku
-
skuExternalReferenceCode
-
skuId
-
tierPrices
-
xClassName
-
-
Constructor Details
-
PriceEntry
public PriceEntry()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getCustomFields
-
setCustomFields
-
setCustomFields
-
getExternalReferenceCode
-
setExternalReferenceCode
-
setExternalReferenceCode
-
getHasTierPrice
-
setHasTierPrice
-
setHasTierPrice
-
getId
-
setId
-
setId
-
getPrice
-
setPrice
-
setPrice
public void setPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> priceUnsafeSupplier) -
getPriceListExternalReferenceCode
-
setPriceListExternalReferenceCode
-
setPriceListExternalReferenceCode
-
getPriceListId
-
setPriceListId
-
setPriceListId
-
getPromoPrice
-
setPromoPrice
-
setPromoPrice
public void setPromoPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> promoPriceUnsafeSupplier) -
getSku
-
setSku
-
setSku
-
getSkuExternalReferenceCode
-
setSkuExternalReferenceCode
-
setSkuExternalReferenceCode
-
getSkuId
-
setSkuId
-
setSkuId
-
getTierPrices
-
setTierPrices
-
setTierPrices
-
equals
-
hashCode
public int hashCode() -
toString
-