public interface ProductQuantityIf
Modifier and Type | Method and Description |
---|---|
int |
getBundledProdQuantity()
The number of times that this product appears in the bundle.
|
ProductQuantityIf[] |
getBundlePQs()
Product quantities of bundled products
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.util.Calendar |
getDateAvailable() |
java.lang.String |
getEncodedOptionValues()
encodedOptionValues
|
java.util.Calendar |
getExtDateAvailable() |
java.lang.Integer |
getExtQuantity() |
OptionIf[] |
getOpts()
Array of options matching the encoded option values
|
int |
getProductId() |
PromotionResultIf[] |
getPromotionResults()
Active promotions for this product configuration
|
int |
getQuantity() |
int |
getQuantityReserved()
This attribute defines the total number of products that are currently reserved.
|
java.lang.String |
getSku()
The SKU of the product
|
java.lang.String |
getVariantCode() |
void |
setBundledProdQuantity(int bundledProdQuantity)
The number of times that this product appears in the bundle.
|
void |
setBundlePQs(ProductQuantityIf[] bundlePQs)
Product quantities of bundled products
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setDateAvailable(java.util.Calendar dateAvailable) |
void |
setEncodedOptionValues(java.lang.String encodedOptionValues)
encodedOptionValues
|
void |
setExtDateAvailable(java.util.Calendar extDateAvailable) |
void |
setExtQuantity(java.lang.Integer extQuantity) |
void |
setOpts(OptionIf[] opts)
Array of options matching the encoded option values
|
void |
setProductId(int productId) |
void |
setPromotionResults(PromotionResultIf[] promotionResults)
Active promotions for this product configuration
|
void |
setQuantity(int quantity) |
void |
setQuantityReserved(int quantityReserved)
This attribute defines the total number of products that are currently reserved.
|
void |
setSku(java.lang.String sku)
The SKU of the product
|
void |
setVariantCode(java.lang.String variantCode) |
java.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.int getProductId()
void setProductId(int productId)
productId
- The productId to set.int getQuantity()
void setQuantity(int quantity)
quantity
- The quantity to set.java.util.Calendar getDateAvailable()
void setDateAvailable(java.util.Calendar dateAvailable)
dateAvailable
- the dateAvailable to setjava.lang.String getSku()
void setSku(java.lang.String sku)
sku
- The sku to set.OptionIf[] getOpts()
void setOpts(OptionIf[] opts)
opts
- the opts to setPromotionResultIf[] getPromotionResults()
void setPromotionResults(PromotionResultIf[] promotionResults)
promotionResults
- the promotionResults to setint getQuantityReserved()
void setQuantityReserved(int quantityReserved)
quantityReserved
- the quantityReserved to setProductQuantityIf[] getBundlePQs()
void setBundlePQs(ProductQuantityIf[] bundlePQs)
bundlePQs
- the bundlePQs to setint getBundledProdQuantity()
void setBundledProdQuantity(int bundledProdQuantity)
bundledProdQuantity
- the bundledProdQuantity to setjava.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setjava.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setjava.lang.Integer getExtQuantity()
void setExtQuantity(java.lang.Integer extQuantity)
extQuantity
- the extQuantity to setjava.util.Calendar getExtDateAvailable()
void setExtDateAvailable(java.util.Calendar extDateAvailable)
extDateAvailable
- the extDateAvailable to setjava.lang.String getVariantCode()
void setVariantCode(java.lang.String variantCode)
variantCode
- the variantCode to setCopyright © 2018 DS Data Systems UK Ltd.