public class AdminProductQuantity
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
custom1
custom field
|
private java.lang.String |
custom2
custom field
|
private java.util.Date |
dateAvailable
dateAvailable
|
private java.lang.String |
encodedOptionValues
encodedOptionValues
|
private java.util.Date |
extDateAvailable
Used to store any external Date Available - it overrides the dataAvailable value if present
|
private java.lang.Integer |
extQuantity
extQuantity
|
private int |
productId
productId
|
private int |
quantity
quantity
|
private java.lang.String |
sku
SKU
|
private java.lang.String |
variantCode
variantCode
|
Constructor and Description |
---|
AdminProductQuantity()
Constructor
|
AdminProductQuantity(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 |
getDateAvailable() |
java.lang.String |
getEncodedOptionValues() |
java.util.Date |
getExtDateAvailable() |
java.lang.Integer |
getExtQuantity() |
int |
getProductId() |
int |
getQuantity() |
java.lang.String |
getSku() |
java.lang.String |
getVariantCode() |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setDateAvailable(java.util.Date dateAvailable) |
void |
setEncodedOptionValues(java.lang.String encodedOptionValues) |
void |
setExtDateAvailable(java.util.Date extDateAvailable) |
void |
setExtQuantity(java.lang.Integer extQuantity) |
void |
setProductId(int productId) |
void |
setQuantity(int quantity) |
void |
setSku(java.lang.String sku) |
void |
setVariantCode(java.lang.String variantCode) |
java.lang.String |
toString() |
private int productId
private 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.
private int quantity
private java.lang.Integer extQuantity
private java.lang.String sku
private java.util.Date dateAvailable
private java.util.Date extDateAvailable
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String variantCode
public AdminProductQuantity()
public AdminProductQuantity(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- the village recordc
- the KKCriteriacom.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 java.lang.String getEncodedOptionValues()
public void setEncodedOptionValues(java.lang.String encodedOptionValues)
encodedOptionValues
- The encodedOptionValues to set.public int getProductId()
public void setProductId(int productId)
productId
- The productId to set.public java.lang.String getSku()
public void setSku(java.lang.String sku)
sku
- The sku to set.public java.util.Date getDateAvailable()
public void setDateAvailable(java.util.Date dateAvailable)
dateAvailable
- the dateAvailable to setpublic int getQuantity()
public void setQuantity(int quantity)
quantity
- The quantity to set.public java.lang.Integer getExtQuantity()
public void setExtQuantity(java.lang.Integer extQuantity)
extQuantity
- the extQuantity to setpublic java.util.Date getExtDateAvailable()
public void setExtDateAvailable(java.util.Date extDateAvailable)
extDateAvailable
- the extDateAvailable to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getVariantCode()
public void setVariantCode(java.lang.String variantCode)
variantCode
- the variantCode to setCopyright © 2018 DS Data Systems UK Ltd.