Module com.logicommerce.sdk
Class OrderItemOptionValueImpl
- java.lang.Object
-
- com.logicommerce.sdk.models.order.implementations.OrderItemOptionValueImpl
-
- All Implemented Interfaces:
OrderItemOptionValue
public class OrderItemOptionValueImpl extends Object implements OrderItemOptionValue
OrderItemOptionValueImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
-
Constructor Summary
Constructors Constructor Description OrderItemOptionValueImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetId()Getter for the fieldid.StringgetOptionValuePId()Getter for the fieldoptionValuePId.doublegetPreviousPrice()Getter for the fieldpreviousPrice.doublegetPrice()Getter for the fieldprice.IntegergetProductOptionValueId()Getter for the fieldproductOptionValueId.StringgetSku()Getter for the fieldsku.StringgetValue()Getter for the fieldvalue.doublegetWeight()Getter for the fieldweight.booleanisNoReturn()isNoReturn.voidsetId(Integer id)Setter for the fieldid.voidsetNoReturn(boolean noReturn)Setter for the fieldnoReturn.voidsetOptionValuePId(String optionValuePId)Setter for the fieldoptionValuePId.voidsetPreviousPrice(double previousPrice)Setter for the fieldpreviousPrice.voidsetPrice(double price)Setter for the fieldprice.voidsetProductOptionValueId(Integer productOptionValueId)Setter for the fieldproductOptionValueId.voidsetSku(String sku)Setter for the fieldsku.voidsetValue(String value)Setter for the fieldvalue.voidsetWeight(double weight)Setter for the fieldweight.
-
-
-
Method Detail
-
getId
public Integer getId()
Getter for the field
id.- Specified by:
getIdin interfaceOrderItemOptionValue- Returns:
- a
Integerobject
-
getProductOptionValueId
public Integer getProductOptionValueId()
Getter for the field
productOptionValueId.- Specified by:
getProductOptionValueIdin interfaceOrderItemOptionValue- Returns:
- a
Integerobject
-
getSku
public String getSku()
Getter for the field
sku.- Specified by:
getSkuin interfaceOrderItemOptionValue- Returns:
- a
Stringobject
-
getWeight
public double getWeight()
Getter for the field
weight.- Specified by:
getWeightin interfaceOrderItemOptionValue- Returns:
- a double
-
getPrice
public double getPrice()
Getter for the field
price.- Specified by:
getPricein interfaceOrderItemOptionValue- Returns:
- a double
-
getPreviousPrice
public double getPreviousPrice()
Getter for the field
previousPrice.- Specified by:
getPreviousPricein interfaceOrderItemOptionValue- Returns:
- a double
-
getValue
public String getValue()
Getter for the field
value.- Specified by:
getValuein interfaceOrderItemOptionValue- Returns:
- a
Stringobject
-
getOptionValuePId
public String getOptionValuePId()
Getter for the field
optionValuePId.- Specified by:
getOptionValuePIdin interfaceOrderItemOptionValue- Returns:
- a
Stringobject
-
isNoReturn
public boolean isNoReturn()
isNoReturn.
- Specified by:
isNoReturnin interfaceOrderItemOptionValue- Returns:
- a boolean
-
setProductOptionValueId
public void setProductOptionValueId(Integer productOptionValueId)
Setter for the field
productOptionValueId.- Parameters:
productOptionValueId- aIntegerobject
-
setWeight
public void setWeight(double weight)
Setter for the field
weight.- Parameters:
weight- a double
-
setPrice
public void setPrice(double price)
Setter for the field
price.- Parameters:
price- a double
-
setPreviousPrice
public void setPreviousPrice(double previousPrice)
Setter for the field
previousPrice.- Parameters:
previousPrice- a double
-
setValue
public void setValue(String value)
Setter for the field
value.- Parameters:
value- aStringobject
-
setOptionValuePId
public void setOptionValuePId(String optionValuePId)
Setter for the field
optionValuePId.- Parameters:
optionValuePId- aStringobject
-
setNoReturn
public void setNoReturn(boolean noReturn)
Setter for the field
noReturn.- Parameters:
noReturn- a boolean
-
-