@Generated(value="")
public class Summary
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
currency |
protected java.lang.Integer |
itemsQuantity |
protected java.lang.String[] |
shippingDiscountPercentages |
protected java.lang.Double |
shippingDiscountValue |
protected java.lang.String |
shippingDiscountValueFormatted |
protected java.lang.Double |
shippingValue |
protected java.lang.String |
shippingValueFormatted |
protected java.lang.Double |
shippingValueWithTaxAmount |
protected java.lang.String |
shippingValueWithTaxAmountFormatted |
protected java.lang.Double |
subtotal |
protected java.lang.String[] |
subtotalDiscountPercentages |
protected java.lang.Double |
subtotalDiscountValue |
protected java.lang.String |
subtotalDiscountValueFormatted |
protected java.lang.String |
subtotalFormatted |
protected java.lang.Double |
taxValue |
protected java.lang.String |
taxValueFormatted |
protected java.lang.Double |
total |
protected java.lang.String[] |
totalDiscountPercentages |
protected java.lang.Double |
totalDiscountValue |
protected java.lang.String |
totalDiscountValueFormatted |
protected java.lang.String |
totalFormatted |
java.lang.String |
xClassName |
Constructor and Description |
---|
Summary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getCurrency() |
java.lang.Integer |
getItemsQuantity() |
java.lang.String[] |
getShippingDiscountPercentages() |
java.lang.Double |
getShippingDiscountValue() |
java.lang.String |
getShippingDiscountValueFormatted() |
java.lang.Double |
getShippingValue() |
java.lang.String |
getShippingValueFormatted() |
java.lang.Double |
getShippingValueWithTaxAmount() |
java.lang.String |
getShippingValueWithTaxAmountFormatted() |
java.lang.Double |
getSubtotal() |
java.lang.String[] |
getSubtotalDiscountPercentages() |
java.lang.Double |
getSubtotalDiscountValue() |
java.lang.String |
getSubtotalDiscountValueFormatted() |
java.lang.String |
getSubtotalFormatted() |
java.lang.Double |
getTaxValue() |
java.lang.String |
getTaxValueFormatted() |
java.lang.Double |
getTotal() |
java.lang.String[] |
getTotalDiscountPercentages() |
java.lang.Double |
getTotalDiscountValue() |
java.lang.String |
getTotalDiscountValueFormatted() |
java.lang.String |
getTotalFormatted() |
int |
hashCode() |
void |
setCurrency(java.lang.String currency) |
void |
setCurrency(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> currencyUnsafeSupplier) |
void |
setItemsQuantity(java.lang.Integer itemsQuantity) |
void |
setItemsQuantity(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> itemsQuantityUnsafeSupplier) |
void |
setShippingDiscountPercentages(java.lang.String[] shippingDiscountPercentages) |
void |
setShippingDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> shippingDiscountPercentagesUnsafeSupplier) |
void |
setShippingDiscountValue(java.lang.Double shippingDiscountValue) |
void |
setShippingDiscountValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> shippingDiscountValueUnsafeSupplier) |
void |
setShippingDiscountValueFormatted(java.lang.String shippingDiscountValueFormatted) |
void |
setShippingDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> shippingDiscountValueFormattedUnsafeSupplier) |
void |
setShippingValue(java.lang.Double shippingValue) |
void |
setShippingValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> shippingValueUnsafeSupplier) |
void |
setShippingValueFormatted(java.lang.String shippingValueFormatted) |
void |
setShippingValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> shippingValueFormattedUnsafeSupplier) |
void |
setShippingValueWithTaxAmount(java.lang.Double shippingValueWithTaxAmount) |
void |
setShippingValueWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> shippingValueWithTaxAmountUnsafeSupplier) |
void |
setShippingValueWithTaxAmountFormatted(java.lang.String shippingValueWithTaxAmountFormatted) |
void |
setShippingValueWithTaxAmountFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> shippingValueWithTaxAmountFormattedUnsafeSupplier) |
void |
setSubtotal(java.lang.Double subtotal) |
void |
setSubtotal(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> subtotalUnsafeSupplier) |
void |
setSubtotalDiscountPercentages(java.lang.String[] subtotalDiscountPercentages) |
void |
setSubtotalDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> subtotalDiscountPercentagesUnsafeSupplier) |
void |
setSubtotalDiscountValue(java.lang.Double subtotalDiscountValue) |
void |
setSubtotalDiscountValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> subtotalDiscountValueUnsafeSupplier) |
void |
setSubtotalDiscountValueFormatted(java.lang.String subtotalDiscountValueFormatted) |
void |
setSubtotalDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> subtotalDiscountValueFormattedUnsafeSupplier) |
void |
setSubtotalFormatted(java.lang.String subtotalFormatted) |
void |
setSubtotalFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> subtotalFormattedUnsafeSupplier) |
void |
setTaxValue(java.lang.Double taxValue) |
void |
setTaxValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> taxValueUnsafeSupplier) |
void |
setTaxValueFormatted(java.lang.String taxValueFormatted) |
void |
setTaxValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> taxValueFormattedUnsafeSupplier) |
void |
setTotal(java.lang.Double total) |
void |
setTotal(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> totalUnsafeSupplier) |
void |
setTotalDiscountPercentages(java.lang.String[] totalDiscountPercentages) |
void |
setTotalDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> totalDiscountPercentagesUnsafeSupplier) |
void |
setTotalDiscountValue(java.lang.Double totalDiscountValue) |
void |
setTotalDiscountValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> totalDiscountValueUnsafeSupplier) |
void |
setTotalDiscountValueFormatted(java.lang.String totalDiscountValueFormatted) |
void |
setTotalDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> totalDiscountValueFormattedUnsafeSupplier) |
void |
setTotalFormatted(java.lang.String totalFormatted) |
void |
setTotalFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> totalFormattedUnsafeSupplier) |
static Summary |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static Summary |
unsafeToDTO(java.lang.String json) |
protected java.lang.String currency
protected java.lang.Integer itemsQuantity
protected java.lang.String[] shippingDiscountPercentages
protected java.lang.Double shippingDiscountValue
protected java.lang.String shippingDiscountValueFormatted
protected java.lang.Double shippingValue
protected java.lang.String shippingValueFormatted
protected java.lang.Double shippingValueWithTaxAmount
protected java.lang.String shippingValueWithTaxAmountFormatted
protected java.lang.Double subtotal
protected java.lang.String[] subtotalDiscountPercentages
protected java.lang.Double subtotalDiscountValue
protected java.lang.String subtotalDiscountValueFormatted
protected java.lang.String subtotalFormatted
protected java.lang.Double taxValue
protected java.lang.String taxValueFormatted
protected java.lang.Double total
protected java.lang.String[] totalDiscountPercentages
protected java.lang.Double totalDiscountValue
protected java.lang.String totalDiscountValueFormatted
protected java.lang.String totalFormatted
public java.lang.String xClassName
public static Summary toDTO(java.lang.String json)
public static Summary unsafeToDTO(java.lang.String json)
public java.lang.String getCurrency()
public void setCurrency(java.lang.String currency)
public void setCurrency(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> currencyUnsafeSupplier)
public java.lang.Integer getItemsQuantity()
public void setItemsQuantity(java.lang.Integer itemsQuantity)
public void setItemsQuantity(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> itemsQuantityUnsafeSupplier)
public java.lang.String[] getShippingDiscountPercentages()
public void setShippingDiscountPercentages(java.lang.String[] shippingDiscountPercentages)
public void setShippingDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> shippingDiscountPercentagesUnsafeSupplier)
public java.lang.Double getShippingDiscountValue()
public void setShippingDiscountValue(java.lang.Double shippingDiscountValue)
public void setShippingDiscountValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> shippingDiscountValueUnsafeSupplier)
public java.lang.String getShippingDiscountValueFormatted()
public void setShippingDiscountValueFormatted(java.lang.String shippingDiscountValueFormatted)
public void setShippingDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> shippingDiscountValueFormattedUnsafeSupplier)
public java.lang.Double getShippingValue()
public void setShippingValue(java.lang.Double shippingValue)
public void setShippingValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> shippingValueUnsafeSupplier)
public java.lang.String getShippingValueFormatted()
public void setShippingValueFormatted(java.lang.String shippingValueFormatted)
public void setShippingValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> shippingValueFormattedUnsafeSupplier)
public java.lang.Double getShippingValueWithTaxAmount()
public void setShippingValueWithTaxAmount(java.lang.Double shippingValueWithTaxAmount)
public void setShippingValueWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> shippingValueWithTaxAmountUnsafeSupplier)
public java.lang.String getShippingValueWithTaxAmountFormatted()
public void setShippingValueWithTaxAmountFormatted(java.lang.String shippingValueWithTaxAmountFormatted)
public void setShippingValueWithTaxAmountFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> shippingValueWithTaxAmountFormattedUnsafeSupplier)
public java.lang.Double getSubtotal()
public void setSubtotal(java.lang.Double subtotal)
public void setSubtotal(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> subtotalUnsafeSupplier)
public java.lang.String[] getSubtotalDiscountPercentages()
public void setSubtotalDiscountPercentages(java.lang.String[] subtotalDiscountPercentages)
public void setSubtotalDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> subtotalDiscountPercentagesUnsafeSupplier)
public java.lang.Double getSubtotalDiscountValue()
public void setSubtotalDiscountValue(java.lang.Double subtotalDiscountValue)
public void setSubtotalDiscountValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> subtotalDiscountValueUnsafeSupplier)
public java.lang.String getSubtotalDiscountValueFormatted()
public void setSubtotalDiscountValueFormatted(java.lang.String subtotalDiscountValueFormatted)
public void setSubtotalDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> subtotalDiscountValueFormattedUnsafeSupplier)
public java.lang.String getSubtotalFormatted()
public void setSubtotalFormatted(java.lang.String subtotalFormatted)
public void setSubtotalFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> subtotalFormattedUnsafeSupplier)
public java.lang.Double getTaxValue()
public void setTaxValue(java.lang.Double taxValue)
public void setTaxValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> taxValueUnsafeSupplier)
public java.lang.String getTaxValueFormatted()
public void setTaxValueFormatted(java.lang.String taxValueFormatted)
public void setTaxValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> taxValueFormattedUnsafeSupplier)
public java.lang.Double getTotal()
public void setTotal(java.lang.Double total)
public void setTotal(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> totalUnsafeSupplier)
public java.lang.String[] getTotalDiscountPercentages()
public void setTotalDiscountPercentages(java.lang.String[] totalDiscountPercentages)
public void setTotalDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> totalDiscountPercentagesUnsafeSupplier)
public java.lang.Double getTotalDiscountValue()
public void setTotalDiscountValue(java.lang.Double totalDiscountValue)
public void setTotalDiscountValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> totalDiscountValueUnsafeSupplier)
public java.lang.String getTotalDiscountValueFormatted()
public void setTotalDiscountValueFormatted(java.lang.String totalDiscountValueFormatted)
public void setTotalDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> totalDiscountValueFormattedUnsafeSupplier)
public java.lang.String getTotalFormatted()
public void setTotalFormatted(java.lang.String totalFormatted)
public void setTotalFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> totalFormattedUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object