java.lang.Object
com.logicommerce.sdk.models.order.implementations.OrderTaxImpl
All Implemented Interfaces:
OrderTax

public class OrderTaxImpl extends Object implements OrderTax

OrderTaxImpl class.

Since:
1.0.16
Author:
Logicommerce
  • Constructor Details

    • OrderTaxImpl

      public OrderTaxImpl()
  • Method Details

    • getTaxRate

      public double getTaxRate()

      getTaxRate.

      Specified by:
      getTaxRate in interface OrderTax
      Returns:
      a double
    • getReRate

      public double getReRate()

      getReRate.

      Specified by:
      getReRate in interface OrderTax
      Returns:
      a double
    • getBase

      public double getBase()

      getBase.

      Specified by:
      getBase in interface OrderTax
      Returns:
      a double
    • getTaxPrice

      public double getTaxPrice()

      getTaxPrice.

      Specified by:
      getTaxPrice in interface OrderTax
      Returns:
      a double
    • getRePrice

      public double getRePrice()

      getRePrice.

      Specified by:
      getRePrice in interface OrderTax
      Returns:
      a double
    • getTotalPrice

      public double getTotalPrice()

      getTotalPrice.

      Specified by:
      getTotalPrice in interface OrderTax
      Returns:
      a double
    • getBaseWithoutDiscounts

      public double getBaseWithoutDiscounts()

      getBaseWithoutDiscounts.

      Specified by:
      getBaseWithoutDiscounts in interface OrderTax
      Returns:
      a double
    • getDiscount

      public double getDiscount()

      getDiscount.

      Specified by:
      getDiscount in interface OrderTax
      Returns:
      a double
    • setTaxRate

      public void setTaxRate(double taxRate)

      Setter for the field taxRate.

      Parameters:
      taxRate - a double
    • setReRate

      public void setReRate(double reRate)

      Setter for the field reRate.

      Parameters:
      reRate - a double
    • setBase

      public void setBase(double base)

      Setter for the field base.

      Parameters:
      base - a double
    • setTaxPrice

      public void setTaxPrice(double taxPrice)

      Setter for the field taxPrice.

      Parameters:
      taxPrice - a double
    • setRePrice

      public void setRePrice(double rePrice)

      Setter for the field rePrice.

      Parameters:
      rePrice - a double
    • setTotalPrice

      public void setTotalPrice(double totalPrice)

      Setter for the field totalPrice.

      Parameters:
      totalPrice - a double
    • setBaseWithoutDiscounts

      public void setBaseWithoutDiscounts(double baseWithoutDiscounts)

      Setter for the field baseWithoutDiscounts.

      Parameters:
      baseWithoutDiscounts - a double
    • setDiscount

      public void setDiscount(double discount)

      Setter for the field discount.

      Parameters:
      discount - a double
    • getCode

      public String getCode()

      Getter for the field code.

      Specified by:
      getCode in interface OrderTax
      Returns:
      a String object
      Since:
      1.3.0
    • setCode

      public void setCode(String code)

      Setter for the field code.

      Parameters:
      code - a String object
      Since:
      1.3.0