public class ProdOption
extends java.lang.Object
Constructor and Description |
---|
ProdOption(int id,
java.lang.String code,
java.lang.String value,
java.math.BigDecimal priceExTax,
java.math.BigDecimal priceIncTax,
java.lang.String attrCustom1,
java.lang.String attrCustom2,
java.lang.String optionCustom1,
java.lang.String optionCustom2,
java.lang.String optionValCustom1,
java.lang.String optionValCustom2,
KKAppEng kkAppEng)
Constructor
|
ProdOption(com.konakart.appif.OptionIf opt,
KKAppEng kkAppEng)
Constructor
|
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.
|
java.lang.String |
getCode() |
java.lang.String |
getFormattedValueExTax() |
java.lang.String |
getFormattedValueIncTax() |
int |
getId() |
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 |
getPriceExTax() |
java.math.BigDecimal |
getPriceIncTax() |
java.lang.String |
getSign() |
java.lang.String |
getValue() |
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 |
setCode(java.lang.String code) |
void |
setFormattedValueExTax(java.lang.String formattedValueExTax) |
void |
setFormattedValueIncTax(java.lang.String formattedValueIncTax) |
void |
setId(int id) |
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 |
setPriceExTax(java.math.BigDecimal priceExTax) |
void |
setPriceIncTax(java.math.BigDecimal priceIncTax) |
void |
setSign(java.lang.String sign) |
void |
setValue(java.lang.String value) |
public ProdOption(int id, java.lang.String code, java.lang.String value, java.math.BigDecimal priceExTax, java.math.BigDecimal priceIncTax, java.lang.String attrCustom1, java.lang.String attrCustom2, java.lang.String optionCustom1, java.lang.String optionCustom2, java.lang.String optionValCustom1, java.lang.String optionValCustom2, KKAppEng kkAppEng) throws com.konakart.app.KKException, KKAppException
id
- the idcode
- the codevalue
- the valuepriceExTax
- the priceExTaxpriceIncTax
- the priceIncTaxattrCustom1
- Custom field that can take a unique value whenever the option is connected to a
product.attrCustom2
- Custom field that can take a unique value whenever the option is connected to a
product.optionCustom1
- Custom field, the value of which is defined when the option is created.optionCustom2
- Custom field, the value of which is defined when the option is created.optionValCustom1
- Custom field, the value of which is defined when the option value is created.optionValCustom2
- Custom field, the value of which is defined when the option value is created.kkAppEng
- the kkAppEngcom.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic ProdOption(com.konakart.appif.OptionIf opt, KKAppEng kkAppEng) throws com.konakart.app.KKException, KKAppException
opt
- the optkkAppEng
- the kkAppEngcom.konakart.app.KKException
- an unexpected KKException exceptionKKAppException
- an unexpected KKAppException exceptionpublic int getId()
public void setId(int id)
id
- The id to set.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value to set.public java.lang.String getSign()
public void setSign(java.lang.String sign)
sign
- The sign to set.public 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.lang.String getFormattedValueExTax()
public void setFormattedValueExTax(java.lang.String formattedValueExTax)
formattedValueExTax
- The formattedValueExTax to set.public java.lang.String getFormattedValueIncTax()
public void setFormattedValueIncTax(java.lang.String formattedValueIncTax)
formattedValueIncTax
- The formattedValueIncTax 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 java.lang.String getCode()
public void setCode(java.lang.String code)
code
- the code to setCopyright © 2018 DS Data Systems UK Ltd.