java.lang.Object
com.logicommerce.sdk.models.order.implementations.OrderTotalImpl
All Implemented Interfaces:
CartTotals, OrderTotal

public class OrderTotalImpl extends Object implements OrderTotal

OrderTotalImpl class.

Since:
1.0.16
Author:
Logicommerce
  • Constructor Details

    • OrderTotalImpl

      public OrderTotalImpl()
  • Method Details

    • getSubtotal

      public double getSubtotal()

      Getter for the field subtotal.

      Specified by:
      getSubtotal in interface CartTotals
      Returns:
      a double
    • getSubtotalItems

      public double getSubtotalItems()

      Getter for the field subtotalItems.

      Specified by:
      getSubtotalItems in interface CartTotals
      Returns:
      a double
    • getSubtotalPaymentSystem

      public double getSubtotalPaymentSystem()

      Getter for the field subtotalPaymentSystem.

      Specified by:
      getSubtotalPaymentSystem in interface CartTotals
      Returns:
      a double
    • getSubtotalShippings

      public double getSubtotalShippings()

      Getter for the field subtotalShippings.

      Specified by:
      getSubtotalShippings in interface CartTotals
      Returns:
      a double
    • getTotal

      public double getTotal()

      Getter for the field total.

      Specified by:
      getTotal in interface CartTotals
      Returns:
      a double
    • getTotalDiscounts

      public double getTotalDiscounts()

      Getter for the field totalDiscounts.

      Specified by:
      getTotalDiscounts in interface CartTotals
      Returns:
      a double
    • getTotalItems

      public double getTotalItems()

      Getter for the field totalItems.

      Specified by:
      getTotalItems in interface CartTotals
      Returns:
      a double
    • getTotalPaymentSystem

      public double getTotalPaymentSystem()

      Getter for the field totalPaymentSystem.

      Specified by:
      getTotalPaymentSystem in interface CartTotals
      Returns:
      a double
    • getTotalShippings

      public double getTotalShippings()

      Getter for the field totalShippings.

      Specified by:
      getTotalShippings in interface CartTotals
      Returns:
      a double
    • getTotalTaxes

      public double getTotalTaxes()

      Getter for the field totalTaxes.

      Specified by:
      getTotalTaxes in interface CartTotals
      Returns:
      a double
    • getTotalVouchers

      public double getTotalVouchers()

      Getter for the field totalVouchers.

      Specified by:
      getTotalVouchers in interface CartTotals
      Returns:
      a double
    • setSubtotal

      public void setSubtotal(double subtotal)

      Setter for the field subtotal.

      Parameters:
      subtotal - a double
    • setSubtotalItems

      public void setSubtotalItems(double subtotalItems)

      Setter for the field subtotalItems.

      Parameters:
      subtotalItems - a double
    • setSubtotalPaymentSystem

      public void setSubtotalPaymentSystem(double subtotalPaymentSystem)

      Setter for the field subtotalPaymentSystem.

      Parameters:
      subtotalPaymentSystem - a double
    • setSubtotalShippings

      public void setSubtotalShippings(double subtotalShippings)

      Setter for the field subtotalShippings.

      Parameters:
      subtotalShippings - a double
    • setTotal

      public void setTotal(double total)

      Setter for the field total.

      Parameters:
      total - a double
    • setTotalDiscounts

      public void setTotalDiscounts(double totalDiscounts)

      Setter for the field totalDiscounts.

      Parameters:
      totalDiscounts - a double
    • setTotalItems

      public void setTotalItems(double totalItems)

      Setter for the field totalItems.

      Parameters:
      totalItems - a double
    • setTotalPaymentSystem

      public void setTotalPaymentSystem(double totalPaymentSystem)

      Setter for the field totalPaymentSystem.

      Parameters:
      totalPaymentSystem - a double
    • setTotalShippings

      public void setTotalShippings(double totalShippings)

      Setter for the field totalShippings.

      Parameters:
      totalShippings - a double
    • setTotalTaxes

      public void setTotalTaxes(double totalTaxes)

      Setter for the field totalTaxes.

      Parameters:
      totalTaxes - a double
    • setTotalVouchers

      public void setTotalVouchers(double totalVouchers)

      Setter for the field totalVouchers.

      Parameters:
      totalVouchers - a double