|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProductQuantityIf
Product Quantity object which contains the quantity of a product for different option value combinations. For example, there may be different quantities in stock for the product "brown leather shoe" depending on the size.
Method Summary | |
---|---|
java.util.Calendar |
getDateAvailable()
|
java.lang.String |
getEncodedOptionValues()
encodedOptionValues: {4}3{3}6 which means product_options of id==4 and product_options_values of id==3 followed by product_options of id==3 and product_options_values of id==6. |
OptionIf[] |
getOpts()
Array of options matching the encoded option values |
int |
getProductId()
|
PromotionResultIf[] |
getPromotionResults()
Active promotions for this product configuration |
int |
getQuantity()
|
java.lang.String |
getSku()
The SKU of the product |
void |
setDateAvailable(java.util.Calendar dateAvailable)
|
void |
setEncodedOptionValues(java.lang.String encodedOptionValues)
encodedOptionValues: {4}3{3}6 which means product_options of id==4 and product_options_values of id==3 followed by product_options of id==3 and product_options_values of id==6. |
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 |
setSku(java.lang.String sku)
The SKU of the product |
Method Detail |
---|
java.lang.String getEncodedOptionValues()
void setEncodedOptionValues(java.lang.String encodedOptionValues)
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 set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |