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 String
protected BigDecimal
protected String[]
protected Double
protected String
protected Double
protected String
protected Double
protected String
protected Double
protected String[]
protected Double
protected String
protected String
protected Double
protected String
protected Double
protected String[]
protected Double
protected String
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Valid BigDecimal
String[]
String[]
getTotal()
String[]
int
hashCode()
void
setCurrency
(com.liferay.petra.function.UnsafeSupplier<String, Exception> currencyUnsafeSupplier) void
setCurrency
(String currency) void
setItemsQuantity
(com.liferay.petra.function.UnsafeSupplier<BigDecimal, Exception> itemsQuantityUnsafeSupplier) void
setItemsQuantity
(BigDecimal itemsQuantity) void
setShippingDiscountPercentages
(com.liferay.petra.function.UnsafeSupplier<String[], Exception> shippingDiscountPercentagesUnsafeSupplier) void
setShippingDiscountPercentages
(String[] shippingDiscountPercentages) void
setShippingDiscountValue
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> shippingDiscountValueUnsafeSupplier) void
setShippingDiscountValue
(Double shippingDiscountValue) void
setShippingDiscountValueFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingDiscountValueFormattedUnsafeSupplier) void
setShippingDiscountValueFormatted
(String shippingDiscountValueFormatted) void
setShippingValue
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> shippingValueUnsafeSupplier) void
setShippingValue
(Double shippingValue) void
setShippingValueFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingValueFormattedUnsafeSupplier) void
setShippingValueFormatted
(String shippingValueFormatted) void
setShippingValueWithTaxAmount
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> shippingValueWithTaxAmountUnsafeSupplier) void
setShippingValueWithTaxAmount
(Double shippingValueWithTaxAmount) void
setShippingValueWithTaxAmountFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> shippingValueWithTaxAmountFormattedUnsafeSupplier) void
setShippingValueWithTaxAmountFormatted
(String shippingValueWithTaxAmountFormatted) void
setSubtotal
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> subtotalUnsafeSupplier) void
setSubtotal
(Double subtotal) void
setSubtotalDiscountPercentages
(com.liferay.petra.function.UnsafeSupplier<String[], Exception> subtotalDiscountPercentagesUnsafeSupplier) void
setSubtotalDiscountPercentages
(String[] subtotalDiscountPercentages) void
setSubtotalDiscountValue
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> subtotalDiscountValueUnsafeSupplier) void
setSubtotalDiscountValue
(Double subtotalDiscountValue) void
setSubtotalDiscountValueFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> subtotalDiscountValueFormattedUnsafeSupplier) void
setSubtotalDiscountValueFormatted
(String subtotalDiscountValueFormatted) void
setSubtotalFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> subtotalFormattedUnsafeSupplier) void
setSubtotalFormatted
(String subtotalFormatted) void
setTaxValue
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> taxValueUnsafeSupplier) void
setTaxValue
(Double taxValue) void
setTaxValueFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> taxValueFormattedUnsafeSupplier) void
setTaxValueFormatted
(String taxValueFormatted) void
void
void
setTotalDiscountPercentages
(com.liferay.petra.function.UnsafeSupplier<String[], Exception> totalDiscountPercentagesUnsafeSupplier) void
setTotalDiscountPercentages
(String[] totalDiscountPercentages) void
setTotalDiscountValue
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> totalDiscountValueUnsafeSupplier) void
setTotalDiscountValue
(Double totalDiscountValue) void
setTotalDiscountValueFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> totalDiscountValueFormattedUnsafeSupplier) void
setTotalDiscountValueFormatted
(String totalDiscountValueFormatted) void
setTotalFormatted
(com.liferay.petra.function.UnsafeSupplier<String, Exception> totalFormattedUnsafeSupplier) void
setTotalFormatted
(String totalFormatted) static Summary
toString()
static Summary
unsafeToDTO
(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
-