Module com.logicommerce.sdk
Class OrderPaymentSystemImpl
- java.lang.Object
-
- com.logicommerce.sdk.models.order.implementations.OrderPaymentSystemImpl
-
- All Implemented Interfaces:
OrderPaymentSystem
public class OrderPaymentSystemImpl extends Object implements OrderPaymentSystem
OrderPaymentSystemImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
-
Constructor Summary
Constructors Constructor Description OrderPaymentSystemImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(ElementProperty property)
addProperty.void
addProperty(String name, String value)
addProperty.Integer
getId()
Getter for the fieldid
.double
getIncreaseMin()
Getter for the fieldincreaseMin
.AmountType
getIncreaseType()
Getter for the fieldincreaseType
.double
getIncreaseValue()
Getter for the fieldincreaseValue
.String
getName()
Getter for the fieldname
.int
getPaymentSystemId()
Getter for the fieldpaymentSystemId
.double
getPrice()
Getter for the fieldprice
.List<ElementProperty>
getProperties()
Getter for the fieldproperties
.String
getProperty()
Getter for the fieldproperty
.List<OrderTax>
getTaxes()
Getter for the fieldtaxes
.boolean
isCashOnDelivery()
isCashOnDelivery.void
setCashOnDelivery(boolean cashOnDelivery)
Setter for the fieldcashOnDelivery
.void
setId(Integer id)
Setter for the fieldid
.void
setIncreaseMin(double increaseMin)
Setter for the fieldincreaseMin
.void
setIncreaseType(AmountType increaseType)
Setter for the fieldincreaseType
.void
setIncreaseValue(double increaseValue)
Setter for the fieldincreaseValue
.void
setName(String name)
Setter for the fieldname
.void
setPaymentSystemId(int paymentSystemId)
Setter for the fieldpaymentSystemId
.void
setPrice(double price)
Setter for the fieldprice
.void
setProperty(String property)
Setter for the fieldproperty
.void
setTaxes(List<OrderTax> taxes)
Setter for the fieldtaxes
.
-
-
-
Method Detail
-
getId
public Integer getId()
Getter for the field
id
.- Specified by:
getId
in interfaceOrderPaymentSystem
- Returns:
- a
Integer
object
-
getPaymentSystemId
public int getPaymentSystemId()
Getter for the field
paymentSystemId
.- Specified by:
getPaymentSystemId
in interfaceOrderPaymentSystem
- Returns:
- a int
-
getTaxes
public List<OrderTax> getTaxes()
Getter for the field
taxes
.- Specified by:
getTaxes
in interfaceOrderPaymentSystem
- Returns:
- a
List
object
-
getName
public String getName()
Getter for the field
name
.- Specified by:
getName
in interfaceOrderPaymentSystem
- Returns:
- a
String
object
-
getIncreaseType
public AmountType getIncreaseType()
Getter for the field
increaseType
.- Specified by:
getIncreaseType
in interfaceOrderPaymentSystem
- Returns:
- a
AmountType
object
-
getIncreaseValue
public double getIncreaseValue()
Getter for the field
increaseValue
.- Specified by:
getIncreaseValue
in interfaceOrderPaymentSystem
- Returns:
- a double
-
getPrice
public double getPrice()
Getter for the field
price
.- Specified by:
getPrice
in interfaceOrderPaymentSystem
- Returns:
- a double
-
getIncreaseMin
public double getIncreaseMin()
Getter for the field
increaseMin
.- Specified by:
getIncreaseMin
in interfaceOrderPaymentSystem
- Returns:
- a double
-
isCashOnDelivery
public boolean isCashOnDelivery()
isCashOnDelivery.
- Specified by:
isCashOnDelivery
in interfaceOrderPaymentSystem
- Returns:
- a boolean
-
getProperty
public String getProperty()
Getter for the field
property
.- Specified by:
getProperty
in interfaceOrderPaymentSystem
- Returns:
- a
String
object
-
setPaymentSystemId
public void setPaymentSystemId(int paymentSystemId)
Setter for the field
paymentSystemId
.- Parameters:
paymentSystemId
- a int
-
setTaxes
public void setTaxes(List<OrderTax> taxes)
Setter for the field
taxes
.- Parameters:
taxes
- aList
object
-
setName
public void setName(String name)
Setter for the field
name
.- Parameters:
name
- aString
object
-
setIncreaseType
public void setIncreaseType(AmountType increaseType)
Setter for the field
increaseType
.- Parameters:
increaseType
- aAmountType
object
-
setIncreaseValue
public void setIncreaseValue(double increaseValue)
Setter for the field
increaseValue
.- Parameters:
increaseValue
- a double
-
setPrice
public void setPrice(double price)
Setter for the field
price
.- Parameters:
price
- a double
-
setIncreaseMin
public void setIncreaseMin(double increaseMin)
Setter for the field
increaseMin
.- Parameters:
increaseMin
- a double
-
setCashOnDelivery
public void setCashOnDelivery(boolean cashOnDelivery)
Setter for the field
cashOnDelivery
.- Parameters:
cashOnDelivery
- a boolean
-
setProperty
public void setProperty(String property)
Setter for the field
property
.- Parameters:
property
- aString
object
-
getProperties
public List<ElementProperty> getProperties()
Getter for the field
properties
.- Specified by:
getProperties
in interfaceOrderPaymentSystem
- Returns:
- a
List
object
-
addProperty
public void addProperty(ElementProperty property)
addProperty.
- Specified by:
addProperty
in interfaceOrderPaymentSystem
- Parameters:
property
- aElementProperty
object
-
addProperty
public void addProperty(String name, String value)
addProperty.
- Specified by:
addProperty
in interfaceOrderPaymentSystem
- Parameters:
name
- aString
objectvalue
- aString
object
-
-