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 TypeMethodDescriptionbooleangetPrice()@DecimalMin("0") @Valid BigDecimalinthashCode()voidsetCurrency(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyUnsafeSupplier) voidsetCurrency(String currency) voidvoidvoidsetPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> priceFormattedUnsafeSupplier) voidsetPriceFormatted(String priceFormatted) voidsetPricingQuantityPrice(com.liferay.petra.function.UnsafeSupplier<Double, Exception> pricingQuantityPriceUnsafeSupplier) voidsetPricingQuantityPrice(Double pricingQuantityPrice) voidsetPricingQuantityPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> pricingQuantityPriceFormattedUnsafeSupplier) voidsetPricingQuantityPriceFormatted(String pricingQuantityPriceFormatted) voidsetQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> quantityUnsafeSupplier) voidsetQuantity(BigDecimal quantity) static TierPricetoString()static TierPriceunsafeToDTO(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
-