public interface ProductOptionValue extends Serializable
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
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 - Copyright © 2014. All Rights Reserved.