Class Price
java.lang.Object
com.liferay.headless.commerce.delivery.catalog.dto.v1_0.Price
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
String[]
getPrice()
int
hashCode()
void
setCurrency
(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyUnsafeSupplier) void
setCurrency
(String currency) void
setDiscount
(com.liferay.petra.function.UnsafeSupplier<String, Exception> discountUnsafeSupplier) void
setDiscount
(String discount) void
setDiscountPercentage
(com.liferay.petra.function.UnsafeSupplier<String, Exception> discountPercentageUnsafeSupplier) void
setDiscountPercentage
(String discountPercentage) void
setDiscountPercentages
(com.liferay.petra.function.UnsafeSupplier<String[], Exception> discountPercentagesUnsafeSupplier) void
setDiscountPercentages
(String[] discountPercentages) void
setFinalPrice
(com.liferay.petra.function.UnsafeSupplier<String, Exception> finalPriceUnsafeSupplier) void
setFinalPrice
(String finalPrice) void
void
void
setPriceFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> priceFormattedUnsafeSupplier) void
setPriceFormatted
(String priceFormatted) void
setPriceOnApplication
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> priceOnApplicationUnsafeSupplier) void
setPriceOnApplication
(Boolean priceOnApplication) 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
setPromoPrice
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> promoPriceUnsafeSupplier) void
setPromoPrice
(Double promoPrice) void
setPromoPriceFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> promoPriceFormattedUnsafeSupplier) void
setPromoPriceFormatted
(String promoPriceFormatted) void
setTierPrice
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> tierPriceUnsafeSupplier) void
setTierPrice
(Double tierPrice) void
setTierPriceFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> tierPriceFormattedUnsafeSupplier) void
setTierPriceFormatted
(String tierPriceFormatted) static Price
toString()
static Price
unsafeToDTO
(String json)
-
Field Details
-
currency
-
discount
-
discountPercentage
-
discountPercentages
-
finalPrice
-
price
-
priceFormatted
-
priceOnApplication
-
pricingQuantityPrice
-
pricingQuantityPriceFormatted
-
promoPrice
-
promoPriceFormatted
-
tierPrice
-
tierPriceFormatted
-
xClassName
-
-
Constructor Details
-
Price
public Price()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getCurrency
-
setCurrency
-
setCurrency
-
getDiscount
-
setDiscount
-
setDiscount
-
getDiscountPercentage
-
setDiscountPercentage
-
setDiscountPercentage
-
getDiscountPercentages
-
setDiscountPercentages
-
setDiscountPercentages
-
getFinalPrice
-
setFinalPrice
-
setFinalPrice
-
getPrice
-
setPrice
-
setPrice
-
getPriceFormatted
-
setPriceFormatted
-
setPriceFormatted
-
getPriceOnApplication
-
setPriceOnApplication
-
setPriceOnApplication
-
getPricingQuantityPrice
-
setPricingQuantityPrice
-
setPricingQuantityPrice
-
getPricingQuantityPriceFormatted
-
setPricingQuantityPriceFormatted
-
setPricingQuantityPriceFormatted
-
getPromoPrice
-
setPromoPrice
-
setPromoPrice
-
getPromoPriceFormatted
-
setPromoPriceFormatted
-
setPromoPriceFormatted
-
getTierPrice
-
setTierPrice
-
setTierPrice
-
getTierPriceFormatted
-
setTierPriceFormatted
-
setTierPriceFormatted
-
equals
-
hashCode
public int hashCode() -
toString
-