Module com.logicommerce.sdk
Class OrderTaxImpl
java.lang.Object
com.logicommerce.sdk.models.order.implementations.OrderTaxImpl
- All Implemented Interfaces:
OrderTax
OrderTaxImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetBase()getBase.doublegetBaseWithoutDiscounts.getCode()Getter for the fieldcode.doublegetDiscount.doublegetRePrice.doublegetReRate.doublegetTaxPrice.doublegetTaxRate.doublegetTotalPrice.voidsetBase(double base) Setter for the fieldbase.voidsetBaseWithoutDiscounts(double baseWithoutDiscounts) Setter for the fieldbaseWithoutDiscounts.voidSetter for the fieldcode.voidsetDiscount(double discount) Setter for the fielddiscount.voidsetRePrice(double rePrice) Setter for the fieldrePrice.voidsetReRate(double reRate) Setter for the fieldreRate.voidsetTaxPrice(double taxPrice) Setter for the fieldtaxPrice.voidsetTaxRate(double taxRate) Setter for the fieldtaxRate.voidsetTotalPrice(double totalPrice) Setter for the fieldtotalPrice.
-
Constructor Details
-
OrderTaxImpl
public OrderTaxImpl()
-
-
Method Details
-
getTaxRate
public double getTaxRate()getTaxRate.
- Specified by:
getTaxRatein interfaceOrderTax- Returns:
- a double
-
getReRate
public double getReRate()getReRate.
-
getBase
public double getBase()getBase.
-
getTaxPrice
public double getTaxPrice()getTaxPrice.
- Specified by:
getTaxPricein interfaceOrderTax- Returns:
- a double
-
getRePrice
public double getRePrice()getRePrice.
- Specified by:
getRePricein interfaceOrderTax- Returns:
- a double
-
getTotalPrice
public double getTotalPrice()getTotalPrice.
- Specified by:
getTotalPricein interfaceOrderTax- Returns:
- a double
-
getBaseWithoutDiscounts
public double getBaseWithoutDiscounts()getBaseWithoutDiscounts.
- Specified by:
getBaseWithoutDiscountsin interfaceOrderTax- Returns:
- a double
-
getDiscount
public double getDiscount()getDiscount.
- Specified by:
getDiscountin interfaceOrderTax- 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
Getter for the field
code. -
setCode
Setter for the field
code.- Parameters:
code- aStringobject- Since:
- 1.3.0
-