Links a product SKU to one of the parameter options that define it, for example the colour black or the size large. A SKU is a particular combination of a product's variants, so it normally has one of these rows per parameter, and together they say which combination the SKU stands for. Read the other way round they give every SKU which uses a given option. The rows are pure links and carry no data of their own.
Group: Database Entities
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| id | long | Database identifier for this SKU to option link, assigned when it is first saved. |
| options | ParameterOption | The parameter option, such as a particular colour or size, which this SKU is defined by. Never null, and despite the plural name it is a single option. |
| productSku | ProductSku | The SKU this option belongs to. Never null. |
Methods
getId()
Returns: long
Database identifier for this SKU to option link, assigned when it is first saved.
getProductSku()
Returns: ProductSku
The SKU this option belongs to. Never null.
getOptions()
Returns: ParameterOption
The parameter option, such as a particular colour or size, which this SKU is defined by. Never null, and despite the plural name it is a single option.