Class Price
java.lang.Object
com.liferay.headless.commerce.delivery.cart.dto.v1_0.Price
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPrice()inthashCode()voidsetCurrency(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyUnsafeSupplier) voidsetCurrency(String currency) voidsetDiscount(com.liferay.petra.function.UnsafeSupplier<Double, Exception> discountUnsafeSupplier) voidsetDiscount(Double discount) voidsetDiscountFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> discountFormattedUnsafeSupplier) voidsetDiscountFormatted(String discountFormatted) voidsetDiscountPercentage(com.liferay.petra.function.UnsafeSupplier<String, Exception> discountPercentageUnsafeSupplier) voidsetDiscountPercentage(String discountPercentage) voidsetDiscountPercentageLevel1(com.liferay.petra.function.UnsafeSupplier<Double, Exception> discountPercentageLevel1UnsafeSupplier) voidsetDiscountPercentageLevel1(Double discountPercentageLevel1) voidsetDiscountPercentageLevel2(com.liferay.petra.function.UnsafeSupplier<Double, Exception> discountPercentageLevel2UnsafeSupplier) voidsetDiscountPercentageLevel2(Double discountPercentageLevel2) voidsetDiscountPercentageLevel3(com.liferay.petra.function.UnsafeSupplier<Double, Exception> discountPercentageLevel3UnsafeSupplier) voidsetDiscountPercentageLevel3(Double discountPercentageLevel3) voidsetDiscountPercentageLevel4(com.liferay.petra.function.UnsafeSupplier<Double, Exception> discountPercentageLevel4UnsafeSupplier) voidsetDiscountPercentageLevel4(Double discountPercentageLevel4) voidsetFinalPrice(com.liferay.petra.function.UnsafeSupplier<Double, Exception> finalPriceUnsafeSupplier) voidsetFinalPrice(Double finalPrice) voidsetFinalPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> finalPriceFormattedUnsafeSupplier) voidsetFinalPriceFormatted(String finalPriceFormatted) voidvoidvoidsetPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> priceFormattedUnsafeSupplier) voidsetPriceFormatted(String priceFormatted) voidsetPriceOnApplication(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> priceOnApplicationUnsafeSupplier) voidsetPriceOnApplication(Boolean priceOnApplication) voidsetPromoPrice(com.liferay.petra.function.UnsafeSupplier<Double, Exception> promoPriceUnsafeSupplier) voidsetPromoPrice(Double promoPrice) voidsetPromoPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> promoPriceFormattedUnsafeSupplier) voidsetPromoPriceFormatted(String promoPriceFormatted) static PricetoString()static PriceunsafeToDTO(String json)
-
Field Details
-
currency
-
discount
-
discountFormatted
-
discountPercentage
-
discountPercentageLevel1
-
discountPercentageLevel2
-
discountPercentageLevel3
-
discountPercentageLevel4
-
finalPrice
-
finalPriceFormatted
-
price
-
priceFormatted
-
priceOnApplication
-
promoPrice
-
promoPriceFormatted
-
xClassName
-
-
Constructor Details
-
Price
public Price()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getCurrency
-
setCurrency
-
setCurrency
-
getDiscount
-
setDiscount
-
setDiscount
-
getDiscountFormatted
-
setDiscountFormatted
-
setDiscountFormatted
-
getDiscountPercentage
-
setDiscountPercentage
-
setDiscountPercentage
-
getDiscountPercentageLevel1
-
setDiscountPercentageLevel1
-
setDiscountPercentageLevel1
-
getDiscountPercentageLevel2
-
setDiscountPercentageLevel2
-
setDiscountPercentageLevel2
-
getDiscountPercentageLevel3
-
setDiscountPercentageLevel3
-
setDiscountPercentageLevel3
-
getDiscountPercentageLevel4
-
setDiscountPercentageLevel4
-
setDiscountPercentageLevel4
-
getFinalPrice
-
setFinalPrice
-
setFinalPrice
-
getFinalPriceFormatted
-
setFinalPriceFormatted
-
setFinalPriceFormatted
-
getPrice
-
setPrice
-
setPrice
-
getPriceFormatted
-
setPriceFormatted
-
setPriceFormatted
-
getPriceOnApplication
-
setPriceOnApplication
-
setPriceOnApplication
-
getPromoPrice
-
setPromoPrice
-
setPromoPrice
-
getPromoPriceFormatted
-
setPromoPriceFormatted
-
setPromoPriceFormatted
-
equals
-
hashCode
public int hashCode() -
toString
-