public class AdminProductPrice
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
catalogId
CatalogId
|
private java.lang.String |
encodedOptionValues
encodedOptionValues
|
private java.math.BigDecimal |
price
price - This price is mandatory.
|
private java.math.BigDecimal |
price1
price1
|
private java.math.BigDecimal |
price2
price2
|
private java.math.BigDecimal |
price3
price3
|
private int |
productAttrId
productAttrId - This should only be set when inserting a price for a product attribute.
|
private int |
productId
productId - The product id must always be set to a valid value.
|
private int |
tierPriceId
tierPriceId - This should only be set when inserting a tier price.
|
private java.lang.String |
variantCode
variantCode
|
Constructor and Description |
---|
AdminProductPrice()
Constructor
|
AdminProductPrice(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogId() |
java.lang.String |
getEncodedOptionValues() |
java.math.BigDecimal |
getPrice() |
java.math.BigDecimal |
getPrice1() |
java.math.BigDecimal |
getPrice2() |
java.math.BigDecimal |
getPrice3() |
int |
getProductAttrId() |
int |
getProductId() |
int |
getTierPriceId() |
java.lang.String |
getVariantCode() |
void |
setCatalogId(java.lang.String catalogId) |
void |
setEncodedOptionValues(java.lang.String encodedOptionValues) |
void |
setPrice(java.math.BigDecimal price) |
void |
setPrice1(java.math.BigDecimal price1) |
void |
setPrice2(java.math.BigDecimal price2) |
void |
setPrice3(java.math.BigDecimal price3) |
void |
setProductAttrId(int productAttrId) |
void |
setProductId(int productId) |
void |
setTierPriceId(int tierPriceId) |
void |
setVariantCode(java.lang.String variantCode) |
java.lang.String |
toString() |
private java.lang.String catalogId
private int productId
private int productAttrId
private int tierPriceId
private java.math.BigDecimal price
private java.math.BigDecimal price1
private java.math.BigDecimal price2
private java.math.BigDecimal price3
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 java.lang.String variantCode
public AdminProductPrice()
public AdminProductPrice(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 java.lang.String getCatalogId()
public void setCatalogId(java.lang.String catalogId)
catalogId
- the catalogId to setpublic int getProductId()
public void setProductId(int productId)
productId
- the productId to setpublic int getProductAttrId()
public void setProductAttrId(int productAttrId)
productAttrId
- the productAttrId to setpublic int getTierPriceId()
public void setTierPriceId(int tierPriceId)
tierPriceId
- the tierPriceId to setpublic java.math.BigDecimal getPrice()
public void setPrice(java.math.BigDecimal price)
price
- the price to setpublic java.math.BigDecimal getPrice1()
public void setPrice1(java.math.BigDecimal price1)
price1
- the price1 to setpublic java.math.BigDecimal getPrice2()
public void setPrice2(java.math.BigDecimal price2)
price2
- the price2 to setpublic java.math.BigDecimal getPrice3()
public void setPrice3(java.math.BigDecimal price3)
price3
- the price3 to setpublic java.lang.String getEncodedOptionValues()
public void setEncodedOptionValues(java.lang.String encodedOptionValues)
encodedOptionValues
- the encodedOptionValues to setpublic java.lang.String getVariantCode()
public void setVariantCode(java.lang.String variantCode)
variantCode
- the variantCode to setCopyright © 2018 DS Data Systems UK Ltd.