public class AdminVariantPrice
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
custom1
custom1
|
private java.lang.String |
custom2
custom2
|
private java.util.Date |
dateAdded
dateAdded
|
private java.util.Date |
dateLastModified
dateLastModified
|
private java.lang.String |
encodedOptionValues
encodedOptionValues
|
private int |
id
id
|
private java.math.BigDecimal |
price0 |
private java.math.BigDecimal |
price1 |
private java.math.BigDecimal |
price2 |
private java.math.BigDecimal |
price3 |
private int |
productId
productId
|
private java.lang.String |
variantCode
variantCode
|
Constructor and Description |
---|
AdminVariantPrice()
Constructor
|
AdminVariantPrice(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.util.Date |
getDateAdded() |
java.util.Date |
getDateLastModified() |
java.lang.String |
getEncodedOptionValues() |
int |
getId() |
java.math.BigDecimal |
getPrice0() |
java.math.BigDecimal |
getPrice1() |
java.math.BigDecimal |
getPrice2() |
java.math.BigDecimal |
getPrice3() |
int |
getProductId() |
java.lang.String |
getVariantCode() |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setDateAdded(java.util.Date dateAdded) |
void |
setDateLastModified(java.util.Date dateLastModified) |
void |
setEncodedOptionValues(java.lang.String encodedOptionValues) |
void |
setId(int id) |
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 |
setProductId(int productId) |
void |
setVariantCode(java.lang.String variantCode) |
java.lang.String |
toString() |
private int id
private int productId
private java.lang.String encodedOptionValues
The format of the encoded key for the kk_variant_prices 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.
private java.math.BigDecimal price0
private java.math.BigDecimal price1
private java.math.BigDecimal price2
private java.math.BigDecimal price3
private java.lang.String variantCode
private java.util.Date dateAdded
private java.util.Date dateLastModified
private java.lang.String custom1
private java.lang.String custom2
public AdminVariantPrice()
public AdminVariantPrice(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- the vrc
- the ccom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
public void setId(int id)
public int getProductId()
public void setProductId(int productId)
public java.lang.String getEncodedOptionValues()
public void setEncodedOptionValues(java.lang.String encodedOptionValues)
public java.math.BigDecimal getPrice0()
public void setPrice0(java.math.BigDecimal price0)
public java.math.BigDecimal getPrice1()
public void setPrice1(java.math.BigDecimal price1)
public java.math.BigDecimal getPrice2()
public void setPrice2(java.math.BigDecimal price2)
public java.math.BigDecimal getPrice3()
public void setPrice3(java.math.BigDecimal price3)
public java.lang.String getVariantCode()
public void setVariantCode(java.lang.String variantCode)
public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
public java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
public java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
public java.util.Date getDateLastModified()
public void setDateLastModified(java.util.Date dateLastModified)
Copyright © 2018 DS Data Systems UK Ltd.