java.lang.Object
com.liferay.headless.commerce.delivery.cart.dto.v1_0.Summary
All Implemented Interfaces:
Serializable

@Generated("") public class Summary extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • currency

      protected String currency
    • itemsQuantity

      protected BigDecimal itemsQuantity
    • shippingDiscountPercentages

      protected String[] shippingDiscountPercentages
    • shippingDiscountValue

      protected Double shippingDiscountValue
    • shippingDiscountValueFormatted

      protected String shippingDiscountValueFormatted
    • shippingValue

      protected Double shippingValue
    • shippingValueFormatted

      protected String shippingValueFormatted
    • shippingValueWithTaxAmount

      protected Double shippingValueWithTaxAmount
    • shippingValueWithTaxAmountFormatted

      protected String shippingValueWithTaxAmountFormatted
    • subtotal

      protected Double subtotal
    • subtotalDiscountPercentages

      protected String[] subtotalDiscountPercentages
    • subtotalDiscountValue

      protected Double subtotalDiscountValue
    • subtotalDiscountValueFormatted

      protected String subtotalDiscountValueFormatted
    • subtotalFormatted

      protected String subtotalFormatted
    • taxValue

      protected Double taxValue
    • taxValueFormatted

      protected String taxValueFormatted
    • total

      protected Double total
    • totalDiscountPercentages

      protected String[] totalDiscountPercentages
    • totalDiscountValue

      protected Double totalDiscountValue
    • totalDiscountValueFormatted

      protected String totalDiscountValueFormatted
    • totalFormatted

      protected String totalFormatted
    • xClassName

      public String xClassName
  • Constructor Details

    • Summary

      public Summary()
  • Method Details

    • toDTO

      public static Summary toDTO(String json)
    • unsafeToDTO

      public static Summary unsafeToDTO(String json)
    • getCurrency

      public String getCurrency()
    • setCurrency

      public void setCurrency(String currency)
    • setCurrency

      public void setCurrency(com.liferay.petra.function.UnsafeSupplier<String,Exception> currencyUnsafeSupplier)
    • getItemsQuantity

      @Valid public @Valid BigDecimal getItemsQuantity()
    • setItemsQuantity

      public void setItemsQuantity(BigDecimal itemsQuantity)
    • setItemsQuantity

      public void setItemsQuantity(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> itemsQuantityUnsafeSupplier)
    • getShippingDiscountPercentages

      public String[] getShippingDiscountPercentages()
    • setShippingDiscountPercentages

      public void setShippingDiscountPercentages(String[] shippingDiscountPercentages)
    • setShippingDiscountPercentages

      public void setShippingDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<String[],Exception> shippingDiscountPercentagesUnsafeSupplier)
    • getShippingDiscountValue

      public Double getShippingDiscountValue()
    • setShippingDiscountValue

      public void setShippingDiscountValue(Double shippingDiscountValue)
    • setShippingDiscountValue

      public void setShippingDiscountValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> shippingDiscountValueUnsafeSupplier)
    • getShippingDiscountValueFormatted

      public String getShippingDiscountValueFormatted()
    • setShippingDiscountValueFormatted

      public void setShippingDiscountValueFormatted(String shippingDiscountValueFormatted)
    • setShippingDiscountValueFormatted

      public void setShippingDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> shippingDiscountValueFormattedUnsafeSupplier)
    • getShippingValue

      public Double getShippingValue()
    • setShippingValue

      public void setShippingValue(Double shippingValue)
    • setShippingValue

      public void setShippingValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> shippingValueUnsafeSupplier)
    • getShippingValueFormatted

      public String getShippingValueFormatted()
    • setShippingValueFormatted

      public void setShippingValueFormatted(String shippingValueFormatted)
    • setShippingValueFormatted

      public void setShippingValueFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> shippingValueFormattedUnsafeSupplier)
    • getShippingValueWithTaxAmount

      public Double getShippingValueWithTaxAmount()
    • setShippingValueWithTaxAmount

      public void setShippingValueWithTaxAmount(Double shippingValueWithTaxAmount)
    • setShippingValueWithTaxAmount

      public void setShippingValueWithTaxAmount(com.liferay.petra.function.UnsafeSupplier<Double,Exception> shippingValueWithTaxAmountUnsafeSupplier)
    • getShippingValueWithTaxAmountFormatted

      public String getShippingValueWithTaxAmountFormatted()
    • setShippingValueWithTaxAmountFormatted

      public void setShippingValueWithTaxAmountFormatted(String shippingValueWithTaxAmountFormatted)
    • setShippingValueWithTaxAmountFormatted

      public void setShippingValueWithTaxAmountFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> shippingValueWithTaxAmountFormattedUnsafeSupplier)
    • getSubtotal

      public Double getSubtotal()
    • setSubtotal

      public void setSubtotal(Double subtotal)
    • setSubtotal

      public void setSubtotal(com.liferay.petra.function.UnsafeSupplier<Double,Exception> subtotalUnsafeSupplier)
    • getSubtotalDiscountPercentages

      public String[] getSubtotalDiscountPercentages()
    • setSubtotalDiscountPercentages

      public void setSubtotalDiscountPercentages(String[] subtotalDiscountPercentages)
    • setSubtotalDiscountPercentages

      public void setSubtotalDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<String[],Exception> subtotalDiscountPercentagesUnsafeSupplier)
    • getSubtotalDiscountValue

      public Double getSubtotalDiscountValue()
    • setSubtotalDiscountValue

      public void setSubtotalDiscountValue(Double subtotalDiscountValue)
    • setSubtotalDiscountValue

      public void setSubtotalDiscountValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> subtotalDiscountValueUnsafeSupplier)
    • getSubtotalDiscountValueFormatted

      public String getSubtotalDiscountValueFormatted()
    • setSubtotalDiscountValueFormatted

      public void setSubtotalDiscountValueFormatted(String subtotalDiscountValueFormatted)
    • setSubtotalDiscountValueFormatted

      public void setSubtotalDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> subtotalDiscountValueFormattedUnsafeSupplier)
    • getSubtotalFormatted

      public String getSubtotalFormatted()
    • setSubtotalFormatted

      public void setSubtotalFormatted(String subtotalFormatted)
    • setSubtotalFormatted

      public void setSubtotalFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> subtotalFormattedUnsafeSupplier)
    • getTaxValue

      public Double getTaxValue()
    • setTaxValue

      public void setTaxValue(Double taxValue)
    • setTaxValue

      public void setTaxValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> taxValueUnsafeSupplier)
    • getTaxValueFormatted

      public String getTaxValueFormatted()
    • setTaxValueFormatted

      public void setTaxValueFormatted(String taxValueFormatted)
    • setTaxValueFormatted

      public void setTaxValueFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> taxValueFormattedUnsafeSupplier)
    • getTotal

      public Double getTotal()
    • setTotal

      public void setTotal(Double total)
    • setTotal

      public void setTotal(com.liferay.petra.function.UnsafeSupplier<Double,Exception> totalUnsafeSupplier)
    • getTotalDiscountPercentages

      public String[] getTotalDiscountPercentages()
    • setTotalDiscountPercentages

      public void setTotalDiscountPercentages(String[] totalDiscountPercentages)
    • setTotalDiscountPercentages

      public void setTotalDiscountPercentages(com.liferay.petra.function.UnsafeSupplier<String[],Exception> totalDiscountPercentagesUnsafeSupplier)
    • getTotalDiscountValue

      public Double getTotalDiscountValue()
    • setTotalDiscountValue

      public void setTotalDiscountValue(Double totalDiscountValue)
    • setTotalDiscountValue

      public void setTotalDiscountValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> totalDiscountValueUnsafeSupplier)
    • getTotalDiscountValueFormatted

      public String getTotalDiscountValueFormatted()
    • setTotalDiscountValueFormatted

      public void setTotalDiscountValueFormatted(String totalDiscountValueFormatted)
    • setTotalDiscountValueFormatted

      public void setTotalDiscountValueFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> totalDiscountValueFormattedUnsafeSupplier)
    • getTotalFormatted

      public String getTotalFormatted()
    • setTotalFormatted

      public void setTotalFormatted(String totalFormatted)
    • setTotalFormatted

      public void setTotalFormatted(com.liferay.petra.function.UnsafeSupplier<String,Exception> totalFormattedUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object