|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakart.rmi.app.S_ProductQuantity
public class S_ProductQuantity
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.
Constructor Summary | |
---|---|
S_ProductQuantity()
|
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. |
S_Option[] |
getOpts()
Array of options matching the encoded option values |
int |
getProductId()
|
S_PromotionResult[] |
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(S_Option[] _opts)
Array of options matching the encoded option values |
void |
setProductId(int _productId)
|
void |
setPromotionResults(S_PromotionResult[] _promotionResults)
Active promotions for this product configuration |
void |
setQuantity(int _quantity)
|
void |
setSku(java.lang.String _sku)
The SKU of the product |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public S_ProductQuantity()
Method Detail |
---|
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 int getQuantity()
public void setQuantity(int _quantity)
_quantity
- The quantity to set.public java.util.Calendar getDateAvailable()
public void setDateAvailable(java.util.Calendar _dateAvailable)
_dateAvailable
- the dateAvailable to setpublic java.lang.String getSku()
public void setSku(java.lang.String _sku)
_sku
- The sku to set.public S_Option[] getOpts()
public void setOpts(S_Option[] _opts)
_opts
- the opts to setpublic S_PromotionResult[] getPromotionResults()
public void setPromotionResults(S_PromotionResult[] _promotionResults)
_promotionResults
- the promotionResults to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |