Class Summary
java.lang.Object
com.liferay.headless.commerce.delivery.cart.dto.v1_0.Summary
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected String[]protected Doubleprotected Stringprotected Doubleprotected Stringprotected Doubleprotected Stringprotected Doubleprotected String[]protected Doubleprotected Stringprotected Stringprotected Doubleprotected Stringprotected Doubleprotected String[]protected Doubleprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid BigDecimalString[]String[]getTotal()String[]inthashCode()voidsetCurrency(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyUnsafeSupplier) voidsetCurrency(String currency) voidsetItemsQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> itemsQuantityUnsafeSupplier) voidsetItemsQuantity(BigDecimal itemsQuantity) voidsetShippingDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<String[], Exception> shippingDiscountPercentagesUnsafeSupplier) voidsetShippingDiscountPercentages(String[] shippingDiscountPercentages) voidsetShippingDiscountValue(com.liferay.petra.function.UnsafeSupplier<Double, Exception> shippingDiscountValueUnsafeSupplier) voidsetShippingDiscountValue(Double shippingDiscountValue) voidsetShippingDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingDiscountValueFormattedUnsafeSupplier) voidsetShippingDiscountValueFormatted(String shippingDiscountValueFormatted) voidsetShippingValue(com.liferay.petra.function.UnsafeSupplier<Double, Exception> shippingValueUnsafeSupplier) voidsetShippingValue(Double shippingValue) voidsetShippingValueFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingValueFormattedUnsafeSupplier) voidsetShippingValueFormatted(String shippingValueFormatted) voidsetShippingValueWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<Double, Exception> shippingValueWithTaxAmountUnsafeSupplier) voidsetShippingValueWithTaxAmount(Double shippingValueWithTaxAmount) voidsetShippingValueWithTaxAmountFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingValueWithTaxAmountFormattedUnsafeSupplier) voidsetShippingValueWithTaxAmountFormatted(String shippingValueWithTaxAmountFormatted) voidsetSubtotal(com.liferay.petra.function.UnsafeSupplier<Double, Exception> subtotalUnsafeSupplier) voidsetSubtotal(Double subtotal) voidsetSubtotalDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<String[], Exception> subtotalDiscountPercentagesUnsafeSupplier) voidsetSubtotalDiscountPercentages(String[] subtotalDiscountPercentages) voidsetSubtotalDiscountValue(com.liferay.petra.function.UnsafeSupplier<Double, Exception> subtotalDiscountValueUnsafeSupplier) voidsetSubtotalDiscountValue(Double subtotalDiscountValue) voidsetSubtotalDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> subtotalDiscountValueFormattedUnsafeSupplier) voidsetSubtotalDiscountValueFormatted(String subtotalDiscountValueFormatted) voidsetSubtotalFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> subtotalFormattedUnsafeSupplier) voidsetSubtotalFormatted(String subtotalFormatted) voidsetTaxValue(com.liferay.petra.function.UnsafeSupplier<Double, Exception> taxValueUnsafeSupplier) voidsetTaxValue(Double taxValue) voidsetTaxValueFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> taxValueFormattedUnsafeSupplier) voidsetTaxValueFormatted(String taxValueFormatted) voidvoidvoidsetTotalDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<String[], Exception> totalDiscountPercentagesUnsafeSupplier) voidsetTotalDiscountPercentages(String[] totalDiscountPercentages) voidsetTotalDiscountValue(com.liferay.petra.function.UnsafeSupplier<Double, Exception> totalDiscountValueUnsafeSupplier) voidsetTotalDiscountValue(Double totalDiscountValue) voidsetTotalDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> totalDiscountValueFormattedUnsafeSupplier) voidsetTotalDiscountValueFormatted(String totalDiscountValueFormatted) voidsetTotalFormatted(com.liferay.petra.function.UnsafeSupplier<String, Exception> totalFormattedUnsafeSupplier) voidsetTotalFormatted(String totalFormatted) static SummarytoString()static SummaryunsafeToDTO(String json)
-
Field Details
-
currency
-
itemsQuantity
-
shippingDiscountPercentages
-
shippingDiscountValue
-
shippingDiscountValueFormatted
-
shippingValue
-
shippingValueFormatted
-
shippingValueWithTaxAmount
-
shippingValueWithTaxAmountFormatted
-
subtotal
-
subtotalDiscountPercentages
-
subtotalDiscountValue
-
subtotalDiscountValueFormatted
-
subtotalFormatted
-
taxValue
-
taxValueFormatted
-
total
-
totalDiscountPercentages
-
totalDiscountValue
-
totalDiscountValueFormatted
-
totalFormatted
-
xClassName
-
-
Constructor Details
-
Summary
public Summary()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getCurrency
-
setCurrency
-
setCurrency
-
getItemsQuantity
-
setItemsQuantity
-
setItemsQuantity
public void setItemsQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> itemsQuantityUnsafeSupplier) -
getShippingDiscountPercentages
-
setShippingDiscountPercentages
-
setShippingDiscountPercentages
-
getShippingDiscountValue
-
setShippingDiscountValue
-
setShippingDiscountValue
-
getShippingDiscountValueFormatted
-
setShippingDiscountValueFormatted
-
setShippingDiscountValueFormatted
-
getShippingValue
-
setShippingValue
-
setShippingValue
-
getShippingValueFormatted
-
setShippingValueFormatted
-
setShippingValueFormatted
-
getShippingValueWithTaxAmount
-
setShippingValueWithTaxAmount
-
setShippingValueWithTaxAmount
-
getShippingValueWithTaxAmountFormatted
-
setShippingValueWithTaxAmountFormatted
-
setShippingValueWithTaxAmountFormatted
-
getSubtotal
-
setSubtotal
-
setSubtotal
-
getSubtotalDiscountPercentages
-
setSubtotalDiscountPercentages
-
setSubtotalDiscountPercentages
-
getSubtotalDiscountValue
-
setSubtotalDiscountValue
-
setSubtotalDiscountValue
-
getSubtotalDiscountValueFormatted
-
setSubtotalDiscountValueFormatted
-
setSubtotalDiscountValueFormatted
-
getSubtotalFormatted
-
setSubtotalFormatted
-
setSubtotalFormatted
-
getTaxValue
-
setTaxValue
-
setTaxValue
-
getTaxValueFormatted
-
setTaxValueFormatted
-
setTaxValueFormatted
-
getTotal
-
setTotal
-
setTotal
-
getTotalDiscountPercentages
-
setTotalDiscountPercentages
-
setTotalDiscountPercentages
-
getTotalDiscountValue
-
setTotalDiscountValue
-
setTotalDiscountValue
-
getTotalDiscountValueFormatted
-
setTotalDiscountValueFormatted
-
setTotalDiscountValueFormatted
-
getTotalFormatted
-
setTotalFormatted
-
setTotalFormatted
-
equals
-
hashCode
public int hashCode() -
toString
-