|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OptionIf
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.
| Method Summary | |
|---|---|
int |
getId()
The id of the record in the products_options table. |
java.lang.String |
getName()
The name of the option. |
java.math.BigDecimal |
getPrice0()
|
java.math.BigDecimal |
getPrice1()
|
java.math.BigDecimal |
getPrice2()
|
java.math.BigDecimal |
getPrice3()
|
java.math.BigDecimal |
getPriceExTax()
|
java.math.BigDecimal |
getPriceIncTax()
|
java.lang.String |
getValue()
The value of the option. |
int |
getValueId()
The id of the record in the products_options_values 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 |
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 |
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. |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
name - The name to set.java.lang.String getValue()
void setValue(java.lang.String value)
value - The value to set.int getValueId()
void setValueId(int valueId)
valueId - The valueId to set.int getId()
void setId(int id)
id - The id to set.java.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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||