public interface VariantPriceIf
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.util.Calendar |
getDateAdded() |
java.util.Calendar |
getDateLastModified() |
java.lang.String |
getEncodedOptionValues()
encodedOptionValues
|
int |
getId() |
OptionIf[] |
getOpts()
Array of options matching the encoded option values
|
java.math.BigDecimal |
getPrice0() |
java.math.BigDecimal |
getPrice1() |
java.math.BigDecimal |
getPrice2() |
java.math.BigDecimal |
getPrice3() |
java.math.BigDecimal |
getPriceExTax()
The discounted price
|
java.math.BigDecimal |
getPriceIncTax()
The price including tax
|
int |
getProductsId() |
java.lang.String |
getStoreId()
Attribute is only applicable when KonaKart is configured in multi-store single db mode.
|
java.lang.String |
getVariantCode() |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setDateLastModified(java.util.Calendar dateLastModified) |
void |
setEncodedOptionValues(java.lang.String encodedOptionValues)
encodedOptionValues
|
void |
setId(int id) |
void |
setOpts(OptionIf[] opts)
Array of options matching the encoded option values
|
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)
The discounted price
|
void |
setPriceIncTax(java.math.BigDecimal priceIncTax)
The price including tax
|
void |
setProductsId(int productsId) |
void |
setStoreId(java.lang.String storeId)
Attribute is only applicable when KonaKart is configured in multi-store single db mode.
|
void |
setVariantCode(java.lang.String variantCode) |
int getId()
void setId(int id)
id
- The id to set.int getProductsId()
void setProductsId(int productsId)
productsId
- The productId to set.OptionIf[] getOpts()
void setOpts(OptionIf[] opts)
opts
- the opts to setjava.lang.String getEncodedOptionValues()
The format of the encoded key for the products_quantity table is 3{4}4{6} which means product_options of id==3 and product_options_values of id==4 followed by product_options of id==4 and product_options_values of id==6. The order is very important since the product option ids must be in ascending order.
void setEncodedOptionValues(java.lang.String encodedOptionValues)
The format of the encoded key for the products_quantity table is 3{4}4{6} which means product_options of id==3 and product_options_values of id==4 followed by product_options of id==4 and product_options_values of id==6. The order is very important since the product option ids must be in ascending order.
encodedOptionValues
- The encodedOptionValues to set.java.lang.String getVariantCode()
void setVariantCode(java.lang.String variantCode)
variantCode
- The variantCode 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.math.BigDecimal getPriceExTax()
void setPriceExTax(java.math.BigDecimal priceExTax)
priceExTax
- the priceExTax to setjava.math.BigDecimal getPriceIncTax()
void setPriceIncTax(java.math.BigDecimal priceIncTax)
priceIncTax
- the priceIncTax to setjava.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.java.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded
- the dateAdded to setjava.util.Calendar getDateLastModified()
void setDateLastModified(java.util.Calendar dateLastModified)
dateLastModified
- the dateLastModified to setjava.lang.String getStoreId()
void setStoreId(java.lang.String storeId)
storeId
- the storeIdCopyright © 2018 DS Data Systems UK Ltd.