public interface OptionIf
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttrCustom1()
Custom field that can take a unique value whenever the option is connected to a product.
|
java.lang.String |
getAttrCustom2()
Custom field that can take a unique value whenever the option is connected to a product.
|
int |
getAttrId()
The id of the record in the products_attributes table.
|
java.lang.String |
getCode()
The code of the option.
|
java.math.BigDecimal |
getCustomerPrice()
Only applicable in the case where the option is of type TYPE_CUSTOMER_PRICE.
|
java.lang.String |
getCustomerText()
Only applicable in the case where the option is of type TYPE_CUSTOMER_TEXT.
|
java.math.BigDecimal |
getExtPrice0() |
java.math.BigDecimal |
getExtPrice1() |
java.math.BigDecimal |
getExtPrice2() |
java.math.BigDecimal |
getExtPrice3() |
int |
getId()
The id of the record in the products_options table.
|
java.lang.String |
getName()
The name of the option.
|
java.lang.String |
getOptionCustom1()
Custom field, the value of which is defined when the option is created.
|
java.lang.String |
getOptionCustom2()
Custom field, the value of which is defined when the option is created.
|
java.lang.String |
getOptionValCustom1()
Custom field, the value of which is defined when the option value is created.
|
java.lang.String |
getOptionValCustom2()
Custom field, the value of which is defined when the option value is created.
|
java.math.BigDecimal |
getPrice0() |
java.math.BigDecimal |
getPrice1() |
java.math.BigDecimal |
getPrice2() |
java.math.BigDecimal |
getPrice3() |
java.math.BigDecimal |
getPriceExTax() |
java.math.BigDecimal |
getPriceIncTax() |
int |
getQuantity()
Only applicable in the case where the option is of type TYPE_VARIABLE_QUANTITY.
|
int |
getSortOrder()
Determines the sort order of the options
|
int |
getType()
The type of option.
|
java.lang.String |
getValue()
The value of the option.
|
java.lang.String |
getValueCode()
The code of the option value.
|
int |
getValueId()
The id of the record in the products_options_values table.
|
void |
setAttrCustom1(java.lang.String attrCustom1)
Custom field that can take a unique value whenever the option is connected to a product.
|
void |
setAttrCustom2(java.lang.String attrCustom2)
Custom field that can take a unique value whenever the option is connected to a product.
|
void |
setAttrId(int attrId)
The id of the record in the products_attributes table.
|
void |
setCode(java.lang.String code)
The code of the option.
|
void |
setCustomerPrice(java.math.BigDecimal customerPrice)
Only applicable in the case where the option is of type TYPE_CUSTOMER_PRICE.
|
void |
setCustomerText(java.lang.String customerText)
Only applicable in the case where the option is of type TYPE_CUSTOMER_TEXT.
|
void |
setExtPrice0(java.math.BigDecimal extPrice0) |
void |
setExtPrice1(java.math.BigDecimal extPrice1) |
void |
setExtPrice2(java.math.BigDecimal extPrice2) |
void |
setExtPrice3(java.math.BigDecimal extPrice3) |
void |
setId(int id)
The id of the record in the products_options table.
|
void |
setName(java.lang.String name)
The name of the option.
|
void |
setOptionCustom1(java.lang.String optionCustom1)
Custom field, the value of which is defined when the option is created.
|
void |
setOptionCustom2(java.lang.String optionCustom2)
Custom field, the value of which is defined when the option is created.
|
void |
setOptionValCustom1(java.lang.String optionValCustom1)
Custom field, the value of which is defined when the option value is created.
|
void |
setOptionValCustom2(java.lang.String optionValCustom2)
Custom field, the value of which is defined when the option value is created.
|
void |
setPrice0(java.math.BigDecimal price0) |
void |
setPrice1(java.math.BigDecimal price1) |
void |
setPrice2(java.math.BigDecimal price2) |
void |
setPrice3(java.math.BigDecimal price3) |
void |
setPriceExTax(java.math.BigDecimal priceExTax) |
void |
setPriceIncTax(java.math.BigDecimal priceIncTax) |
void |
setQuantity(int quantity)
Only applicable in the case where the option is of type TYPE_VARIABLE_QUANTITY.
|
void |
setSortOrder(int sortOrder)
Determines the sort order of the options
|
void |
setType(int type)
The type of option.
|
void |
setValue(java.lang.String value)
The value of the option.
|
void |
setValueCode(java.lang.String valueCode)
The code of the option value.
|
void |
setValueId(int valueId)
The id of the record in the products_options_values table.
|
java.lang.String getName()
void setName(java.lang.String name)
name - The name to set.java.lang.String getCode()
void setCode(java.lang.String code)
code - the code to setjava.lang.String getValue()
void setValue(java.lang.String value)
value - The value to set.java.lang.String getValueCode()
void setValueCode(java.lang.String valueCode)
valueCode - the valueCode to setint getValueId()
void setValueId(int valueId)
valueId - The valueId to set.int getId()
void setId(int id)
id - The id to set.int getAttrId()
void setAttrId(int attrId)
attrId - the attrId to setjava.math.BigDecimal getPriceExTax()
void setPriceExTax(java.math.BigDecimal priceExTax)
priceExTax - The priceExTax to set.java.math.BigDecimal getPriceIncTax()
void setPriceIncTax(java.math.BigDecimal priceIncTax)
priceIncTax - The priceIncTax to set.java.math.BigDecimal getPrice0()
void setPrice0(java.math.BigDecimal price0)
price0 - The price0 to set.java.math.BigDecimal getPrice1()
void setPrice1(java.math.BigDecimal price1)
price1 - The price1 to set.java.math.BigDecimal getPrice2()
void setPrice2(java.math.BigDecimal price2)
price2 - The price2 to set.java.math.BigDecimal getPrice3()
void setPrice3(java.math.BigDecimal price3)
price3 - The price3 to set.java.lang.String getAttrCustom1()
void setAttrCustom1(java.lang.String attrCustom1)
attrCustom1 - the attrCustom1 to setjava.lang.String getAttrCustom2()
void setAttrCustom2(java.lang.String attrCustom2)
attrCustom2 - the attrCustom2 to setjava.lang.String getOptionCustom1()
void setOptionCustom1(java.lang.String optionCustom1)
optionCustom1 - the optionCustom1 to setjava.lang.String getOptionCustom2()
void setOptionCustom2(java.lang.String optionCustom2)
optionCustom2 - the optionCustom2 to setjava.lang.String getOptionValCustom1()
void setOptionValCustom1(java.lang.String optionValCustom1)
optionValCustom1 - the optionValCustom1 to setjava.lang.String getOptionValCustom2()
void setOptionValCustom2(java.lang.String optionValCustom2)
optionValCustom2 - the optionValCustom2 to setint getType()
void setType(int type)
type - the type to setint getQuantity()
void setQuantity(int quantity)
quantity - the quantity to setjava.math.BigDecimal getCustomerPrice()
void setCustomerPrice(java.math.BigDecimal customerPrice)
customerPrice - the customerPrice to setjava.lang.String getCustomerText()
void setCustomerText(java.lang.String customerText)
customerText - the customerText to setint getSortOrder()
void setSortOrder(int sortOrder)
sortOrder - the sortOrder to setjava.math.BigDecimal getExtPrice0()
void setExtPrice0(java.math.BigDecimal extPrice0)
extPrice0 - the extPrice0 to setjava.math.BigDecimal getExtPrice1()
void setExtPrice1(java.math.BigDecimal extPrice1)
extPrice1 - the extPrice1 to setjava.math.BigDecimal getExtPrice2()
void setExtPrice2(java.math.BigDecimal extPrice2)
extPrice2 - the extPrice2 to setjava.math.BigDecimal getExtPrice3()
void setExtPrice3(java.math.BigDecimal extPrice3)
extPrice3 - the extPrice3 to setCopyright © 2018 DS Data Systems UK Ltd.