Class OrderItemOptionImpl
- All Implemented Interfaces:
OrderItemOption
OrderItemOptionImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Getter for the fieldid.getName()Getter for the fieldname.Getter for the fieldoptionId.Getter for the fieldoptionValueId.doubleGetter for the fieldpreviousPrice.getPrice()Getter for the fieldprice.Getter for the fieldproductOptionPId.Getter for the fieldprompt.getSku()Getter for the fieldsku.getValue()Getter for the fieldvalue.Getter for the fieldvalues.Getter for the fieldvalueType.doubleGetter for the fieldweight.booleanisCombinable.booleanisUniquePrice.voidsetCombinable(boolean combinable) Setter for the fieldcombinable.voidSetter for the fieldid.voidSetter for the fieldname.voidsetOptionId(Integer optionId) Setter for the fieldoptionId.voidsetOptionValueId(Integer optionValueId) Setter for the fieldoptionValueId.voidsetPreviousPrice(double previousPrice) Setter for the fieldpreviousPrice.voidSetter for the fieldprice.voidsetProductOptionPId(String productOptionPId) Setter for the fieldproductOptionPId.voidSetter for the fieldprompt.voidSetter for the fieldsku.voidsetUniquePrice(boolean uniquePrice) Setter for the fielduniquePrice.voidSetter for the fieldvalue.voidsetValues(List<OrderItemOptionValue> values) Setter for the fieldvalues.voidsetValueType(OptionValueType valueType) Setter for the fieldvalueType.voidsetWeight(double weight) Setter for the fieldweight.
-
Constructor Details
-
OrderItemOptionImpl
public OrderItemOptionImpl()
-
-
Method Details
-
getId
Getter for the field
id.- Specified by:
getIdin interfaceOrderItemOption- Returns:
- a
Integerobject
-
getValues
Getter for the field
values.- Specified by:
getValuesin interfaceOrderItemOption- Returns:
- a
Listobject
-
getOptionId
Getter for the field
optionId.- Specified by:
getOptionIdin interfaceOrderItemOption- Returns:
- a
Integerobject
-
getOptionValueId
Getter for the field
optionValueId.- Specified by:
getOptionValueIdin interfaceOrderItemOption- Returns:
- a
Integerobject
-
getSku
Getter for the field
sku.- Specified by:
getSkuin interfaceOrderItemOption- Returns:
- a
Stringobject
-
getName
Getter for the field
name.- Specified by:
getNamein interfaceOrderItemOption- Returns:
- a
Stringobject
-
getPrompt
Getter for the field
prompt.- Specified by:
getPromptin interfaceOrderItemOption- Returns:
- a
Stringobject
-
getValue
Getter for the field
value.- Specified by:
getValuein interfaceOrderItemOption- Returns:
- a
Stringobject
-
getPrice
Getter for the field
price.- Specified by:
getPricein interfaceOrderItemOption- Returns:
- a
Doubleobject
-
getWeight
public double getWeight()Getter for the field
weight.- Specified by:
getWeightin interfaceOrderItemOption- Returns:
- a double
-
isUniquePrice
public boolean isUniquePrice()isUniquePrice.
- Specified by:
isUniquePricein interfaceOrderItemOption- Returns:
- a boolean
-
getValueType
Getter for the field
valueType.- Specified by:
getValueTypein interfaceOrderItemOption- Returns:
- a
OptionValueTypeobject
-
getPreviousPrice
public double getPreviousPrice()Getter for the field
previousPrice.- Specified by:
getPreviousPricein interfaceOrderItemOption- Returns:
- a double
-
getProductOptionPId
Getter for the field
productOptionPId.- Specified by:
getProductOptionPIdin interfaceOrderItemOption- Returns:
- a
Stringobject
-
isCombinable
public boolean isCombinable()isCombinable.
- Specified by:
isCombinablein interfaceOrderItemOption- Returns:
- a boolean
-
setId
Setter for the field
id.- Parameters:
id- aIntegerobject
-
setValues
Setter for the field
values.- Parameters:
values- aListobject
-
setOptionId
Setter for the field
optionId.- Parameters:
optionId- aIntegerobject
-
setOptionValueId
Setter for the field
optionValueId.- Parameters:
optionValueId- aIntegerobject
-
setSku
Setter for the field
sku.- Parameters:
sku- aStringobject
-
setName
Setter for the field
name.- Parameters:
name- aStringobject
-
setPrompt
Setter for the field
prompt.- Parameters:
prompt- aStringobject
-
setValue
Setter for the field
value.- Parameters:
value- aStringobject
-
setPrice
Setter for the field
price.- Parameters:
price- aDoubleobject
-
setWeight
public void setWeight(double weight) Setter for the field
weight.- Parameters:
weight- a double
-
setUniquePrice
public void setUniquePrice(boolean uniquePrice) Setter for the field
uniquePrice.- Parameters:
uniquePrice- a boolean
-
setValueType
Setter for the field
valueType.- Parameters:
valueType- aOptionValueTypeobject
-
setPreviousPrice
public void setPreviousPrice(double previousPrice) Setter for the field
previousPrice.- Parameters:
previousPrice- a double
-
setProductOptionPId
Setter for the field
productOptionPId.- Parameters:
productOptionPId- aStringobject
-
setCombinable
public void setCombinable(boolean combinable) Setter for the field
combinable.- Parameters:
combinable- a boolean
-