Class TierPrice
java.lang.Object
com.liferay.headless.commerce.delivery.catalog.dto.v1_0.TierPrice
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getPrice()
@DecimalMin("0") @Valid BigDecimal
int
hashCode()
void
setCurrency
(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyUnsafeSupplier) void
setCurrency
(String currency) void
void
void
setPriceFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> priceFormattedUnsafeSupplier) void
setPriceFormatted
(String priceFormatted) void
setPricingQuantityPrice
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> pricingQuantityPriceUnsafeSupplier) void
setPricingQuantityPrice
(Double pricingQuantityPrice) void
setPricingQuantityPriceFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> pricingQuantityPriceFormattedUnsafeSupplier) void
setPricingQuantityPriceFormatted
(String pricingQuantityPriceFormatted) void
setQuantity
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> quantityUnsafeSupplier) void
setQuantity
(BigDecimal quantity) static TierPrice
toString()
static TierPrice
unsafeToDTO
(String json)
-
Field Details
-
currency
-
price
-
priceFormatted
-
pricingQuantityPrice
-
pricingQuantityPriceFormatted
-
quantity
-
xClassName
-
-
Constructor Details
-
TierPrice
public TierPrice()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getCurrency
-
setCurrency
-
setCurrency
-
getPrice
-
setPrice
-
setPrice
-
getPriceFormatted
-
setPriceFormatted
-
setPriceFormatted
-
getPricingQuantityPrice
-
setPricingQuantityPrice
-
setPricingQuantityPrice
-
getPricingQuantityPriceFormatted
-
setPricingQuantityPriceFormatted
-
setPricingQuantityPriceFormatted
-
getQuantity
-
setQuantity
-
setQuantity
public void setQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> quantityUnsafeSupplier) -
equals
-
hashCode
public int hashCode() -
toString
-