Class OrderTotalImpl
- All Implemented Interfaces:
CartTotals,OrderTotal
OrderTotalImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGetter for the fieldsubtotal.doubleGetter for the fieldsubtotalItems.doubleGetter for the fieldsubtotalPaymentSystem.doubleGetter for the fieldsubtotalShippings.doublegetTotal()Getter for the fieldtotal.doubleGetter for the fieldtotalDiscounts.doubleGetter for the fieldtotalItems.doubleGetter for the fieldtotalPaymentSystem.doubleGetter for the fieldtotalShippings.doubleGetter for the fieldtotalTaxes.doubleGetter for the fieldtotalVouchers.voidsetSubtotal(double subtotal) Setter for the fieldsubtotal.voidsetSubtotalItems(double subtotalItems) Setter for the fieldsubtotalItems.voidsetSubtotalPaymentSystem(double subtotalPaymentSystem) Setter for the fieldsubtotalPaymentSystem.voidsetSubtotalShippings(double subtotalShippings) Setter for the fieldsubtotalShippings.voidsetTotal(double total) Setter for the fieldtotal.voidsetTotalDiscounts(double totalDiscounts) Setter for the fieldtotalDiscounts.voidsetTotalItems(double totalItems) Setter for the fieldtotalItems.voidsetTotalPaymentSystem(double totalPaymentSystem) Setter for the fieldtotalPaymentSystem.voidsetTotalShippings(double totalShippings) Setter for the fieldtotalShippings.voidsetTotalTaxes(double totalTaxes) Setter for the fieldtotalTaxes.voidsetTotalVouchers(double totalVouchers) Setter for the fieldtotalVouchers.
-
Constructor Details
-
OrderTotalImpl
public OrderTotalImpl()
-
-
Method Details
-
getSubtotal
public double getSubtotal()Getter for the field
subtotal.- Specified by:
getSubtotalin interfaceCartTotals- Returns:
- a double
-
getSubtotalItems
public double getSubtotalItems()Getter for the field
subtotalItems.- Specified by:
getSubtotalItemsin interfaceCartTotals- Returns:
- a double
-
getSubtotalPaymentSystem
public double getSubtotalPaymentSystem()Getter for the field
subtotalPaymentSystem.- Specified by:
getSubtotalPaymentSystemin interfaceCartTotals- Returns:
- a double
-
getSubtotalShippings
public double getSubtotalShippings()Getter for the field
subtotalShippings.- Specified by:
getSubtotalShippingsin interfaceCartTotals- Returns:
- a double
-
getTotal
public double getTotal()Getter for the field
total.- Specified by:
getTotalin interfaceCartTotals- Returns:
- a double
-
getTotalDiscounts
public double getTotalDiscounts()Getter for the field
totalDiscounts.- Specified by:
getTotalDiscountsin interfaceCartTotals- Returns:
- a double
-
getTotalItems
public double getTotalItems()Getter for the field
totalItems.- Specified by:
getTotalItemsin interfaceCartTotals- Returns:
- a double
-
getTotalPaymentSystem
public double getTotalPaymentSystem()Getter for the field
totalPaymentSystem.- Specified by:
getTotalPaymentSystemin interfaceCartTotals- Returns:
- a double
-
getTotalShippings
public double getTotalShippings()Getter for the field
totalShippings.- Specified by:
getTotalShippingsin interfaceCartTotals- Returns:
- a double
-
getTotalTaxes
public double getTotalTaxes()Getter for the field
totalTaxes.- Specified by:
getTotalTaxesin interfaceCartTotals- Returns:
- a double
-
getTotalVouchers
public double getTotalVouchers()Getter for the field
totalVouchers.- Specified by:
getTotalVouchersin interfaceCartTotals- 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
-