|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakart.json.app.J_Option
public class J_Option
A product contains an array of these option objects. An option is used to configure a product and may change the price of a product. i.e. The amount of memory or CPU specification for a personal computer.
Constructor Summary | |
---|---|
J_Option()
|
Method Summary | |
---|---|
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. |
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 |
getType()
The type of option. |
java.lang.String |
getValue()
The value of the option. |
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 |
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 |
setType(int _type)
The type of option. |
void |
setValue(java.lang.String _value)
The value of the option. |
void |
setValueId(int _valueId)
The id of the record in the products_options_values table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public J_Option()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String _name)
_name
- The name to set.public java.lang.String getValue()
public void setValue(java.lang.String _value)
_value
- The value to set.public int getValueId()
public void setValueId(int _valueId)
_valueId
- The valueId to set.public int getId()
public void setId(int _id)
_id
- The id to set.public int getAttrId()
public void setAttrId(int _attrId)
_attrId
- the attrId to setpublic java.math.BigDecimal getPriceExTax()
public void setPriceExTax(java.math.BigDecimal _priceExTax)
_priceExTax
- The priceExTax to set.public java.math.BigDecimal getPriceIncTax()
public void setPriceIncTax(java.math.BigDecimal _priceIncTax)
_priceIncTax
- The priceIncTax to set.public java.math.BigDecimal getPrice0()
public void setPrice0(java.math.BigDecimal _price0)
_price0
- The price0 to set.public java.math.BigDecimal getPrice1()
public void setPrice1(java.math.BigDecimal _price1)
_price1
- The price1 to set.public java.math.BigDecimal getPrice2()
public void setPrice2(java.math.BigDecimal _price2)
_price2
- The price2 to set.public java.math.BigDecimal getPrice3()
public void setPrice3(java.math.BigDecimal _price3)
_price3
- The price3 to set.public java.lang.String getAttrCustom1()
public void setAttrCustom1(java.lang.String _attrCustom1)
_attrCustom1
- the attrCustom1 to setpublic java.lang.String getAttrCustom2()
public void setAttrCustom2(java.lang.String _attrCustom2)
_attrCustom2
- the attrCustom2 to setpublic java.lang.String getOptionCustom1()
public void setOptionCustom1(java.lang.String _optionCustom1)
_optionCustom1
- the optionCustom1 to setpublic java.lang.String getOptionCustom2()
public void setOptionCustom2(java.lang.String _optionCustom2)
_optionCustom2
- the optionCustom2 to setpublic java.lang.String getOptionValCustom1()
public void setOptionValCustom1(java.lang.String _optionValCustom1)
_optionValCustom1
- the optionValCustom1 to setpublic java.lang.String getOptionValCustom2()
public void setOptionValCustom2(java.lang.String _optionValCustom2)
_optionValCustom2
- the optionValCustom2 to setpublic int getType()
public void setType(int _type)
_type
- the type to setpublic int getQuantity()
public void setQuantity(int _quantity)
_quantity
- the quantity to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |