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 TypeMethodDescriptionbooleanString[]getPrice()inthashCode()voidsetCurrency(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyUnsafeSupplier) voidsetCurrency(String currency) voidsetDiscount(com.liferay.petra.function.UnsafeSupplier<String, Exception> discountUnsafeSupplier) voidsetDiscount(String discount) voidsetDiscountPercentage(com.liferay.petra.function.UnsafeSupplier<String, Exception> discountPercentageUnsafeSupplier) voidsetDiscountPercentage(String discountPercentage) voidsetDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<String[], Exception> discountPercentagesUnsafeSupplier) voidsetDiscountPercentages(String[] discountPercentages) voidsetFinalPrice(com.liferay.petra.function.UnsafeSupplier<String, Exception> finalPriceUnsafeSupplier) voidsetFinalPrice(String finalPrice) voidvoidvoidsetPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> priceFormattedUnsafeSupplier) voidsetPriceFormatted(String priceFormatted) voidsetPriceOnApplication(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> priceOnApplicationUnsafeSupplier) voidsetPriceOnApplication(Boolean priceOnApplication) voidsetPricingQuantityPrice(com.liferay.petra.function.UnsafeSupplier<Double, Exception> pricingQuantityPriceUnsafeSupplier) voidsetPricingQuantityPrice(Double pricingQuantityPrice) voidsetPricingQuantityPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> pricingQuantityPriceFormattedUnsafeSupplier) voidsetPricingQuantityPriceFormatted(String pricingQuantityPriceFormatted) voidsetPromoPrice(com.liferay.petra.function.UnsafeSupplier<Double, Exception> promoPriceUnsafeSupplier) voidsetPromoPrice(Double promoPrice) voidsetPromoPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> promoPriceFormattedUnsafeSupplier) voidsetPromoPriceFormatted(String promoPriceFormatted) voidsetTierPrice(com.liferay.petra.function.UnsafeSupplier<Double, Exception> tierPriceUnsafeSupplier) voidsetTierPrice(Double tierPrice) voidsetTierPriceFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> tierPriceFormattedUnsafeSupplier) voidsetTierPriceFormatted(String tierPriceFormatted) static PricetoString()static PriceunsafeToDTO(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
-