|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProductOptionValue
Stores the values for a given product option.
For example, a ProductOption of type "color" might have values of ("red","blue").
ProductOptionValues can also have a price adjustment associated with it which will be automatically added to the Sku retail price and sale price
| Method Summary | |
|---|---|
String |
getAttributeValue()
Gets the option value. |
Long |
getDisplayOrder()
Returns the order that the option value should be displayed in. |
Long |
getId()
Returns unique identifier of the product option value. |
Money |
getPriceAdjustment()
Gets the price adjustment associated with this value. |
ProductOption |
getProductOption()
Returns the associated ProductOption |
void |
setAttributeValue(String attributeValue)
Sets the option value. |
void |
setDisplayOrder(Long order)
Sets the display order. |
void |
setId(Long id)
Sets the unique identifier of the product option value. |
void |
setPriceAdjustment(Money priceAdjustment)
Gets the price adjustment associated with this value. |
void |
setProductOption(ProductOption productOption)
Sets the associated product option. |
| Method Detail |
|---|
Long getId()
void setId(Long id)
id - String getAttributeValue()
- void setAttributeValue(String attributeValue)
attributeValue - Long getDisplayOrder()
void setDisplayOrder(Long order)
order - Money getPriceAdjustment()
void setPriceAdjustment(Money priceAdjustment)
priceAdjustment - ProductOption getProductOption()
void setProductOption(ProductOption productOption)
productOption -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||