@Generated(value="")
public class Summary
extends java.lang.Object
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.Double |
shippingValue |
protected java.lang.Double |
subtotal |
protected java.lang.String[] |
subtotalDiscountPercentages |
protected java.lang.Double |
subtotalDiscountValue |
protected java.lang.Double |
taxValue |
protected java.lang.Double |
total |
protected java.lang.String[] |
totalDiscountPercentages |
protected java.lang.Double |
totalDiscountValue |
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.Double |
getShippingValue() |
java.lang.Double |
getSubtotal() |
java.lang.String[] |
getSubtotalDiscountPercentages() |
java.lang.Double |
getSubtotalDiscountValue() |
java.lang.Double |
getTaxValue() |
java.lang.Double |
getTotal() |
java.lang.String[] |
getTotalDiscountPercentages() |
java.lang.Double |
getTotalDiscountValue() |
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 |
setShippingValue(java.lang.Double shippingValue) |
void |
setShippingValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> shippingValueUnsafeSupplier) |
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 |
setTaxValue(java.lang.Double taxValue) |
void |
setTaxValue(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> taxValueUnsafeSupplier) |
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) |
static Summary |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
protected java.lang.String currency
protected java.lang.Integer itemsQuantity
protected java.lang.String[] shippingDiscountPercentages
protected java.lang.Double shippingDiscountValue
protected java.lang.Double shippingValue
protected java.lang.Double subtotal
protected java.lang.String[] subtotalDiscountPercentages
protected java.lang.Double subtotalDiscountValue
protected java.lang.Double taxValue
protected java.lang.Double total
protected java.lang.String[] totalDiscountPercentages
protected java.lang.Double totalDiscountValue
public java.lang.String xClassName
public static Summary toDTO(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.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.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.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.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 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