To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Wraps a single purchase parameter of a product, such as "Colour" or "Size", together with its available option values, for use in product templates. Built from a ProductParameter, copying its name, title and the list of ProductOptionBean choices it offers.
Properties
| Property | Returns | Description |
|---|---|---|
| name | String | The parameter's path-safe, unique key within the product, used as the form field name when submitting a purchase. |
| options | List<ProductOptionBean> | The option values a buyer can choose for this parameter. |
| title | String | The parameter's display label, shown to buyers above its list of options. |
Methods
getName()
Returns: String
The parameter's path-safe, unique key within the product, used as the form field name when submitting a purchase.
getTitle()
Returns: String
The parameter's display label, shown to buyers above its list of options.
getOptions()
Returns: List<ProductOptionBean>
The option values a buyer can choose for this parameter.