com.konakart.appif
Interface OptionIf


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

getName

java.lang.String getName()
The name of the option. e.g color or size.

Returns:
Returns the name.

setName

void setName(java.lang.String name)
The name of the option. e.g color or size.

Parameters:
name - The name to set.

getValue

java.lang.String getValue()
The value of the option. e.g red, blue or small, large.

Returns:
Returns the value.

setValue

void setValue(java.lang.String value)
The value of the option. e.g red, blue or small, large.

Parameters:
value - The value to set.

getValueId

int getValueId()
The id of the record in the products_options_values table.

Returns:
Returns the valueId.

setValueId

void setValueId(int valueId)
The id of the record in the products_options_values table.

Parameters:
valueId - The valueId to set.

getId

int getId()
The id of the record in the products_options table.

Returns:
Returns the id.

setId

void setId(int id)
The id of the record in the products_options table.

Parameters:
id - The id to set.

getPriceExTax

java.math.BigDecimal getPriceExTax()
Returns:
Returns the priceExTax.

setPriceExTax

void setPriceExTax(java.math.BigDecimal priceExTax)
Parameters:
priceExTax - The priceExTax to set.

getPriceIncTax

java.math.BigDecimal getPriceIncTax()
Returns:
Returns the priceIncTax.

setPriceIncTax

void setPriceIncTax(java.math.BigDecimal priceIncTax)
Parameters:
priceIncTax - The priceIncTax to set.

getPrice0

java.math.BigDecimal getPrice0()
Returns:
Returns the price0.

setPrice0

void setPrice0(java.math.BigDecimal price0)
Parameters:
price0 - The price0 to set.

getPrice1

java.math.BigDecimal getPrice1()
Returns:
Returns the price1.

setPrice1

void setPrice1(java.math.BigDecimal price1)
Parameters:
price1 - The price1 to set.

getPrice2

java.math.BigDecimal getPrice2()
Returns:
Returns the price2.

setPrice2

void setPrice2(java.math.BigDecimal price2)
Parameters:
price2 - The price2 to set.

getPrice3

java.math.BigDecimal getPrice3()
Returns:
Returns the price3.

setPrice3

void setPrice3(java.math.BigDecimal price3)
Parameters:
price3 - The price3 to set.


Copyright © 2006 DS Data Systems UK Ltd.