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

PropertyReturnsDescription
nameStringThe parameter's path-safe, unique key within the product, used as the form field name when submitting a purchase.
optionsList<ProductOptionBean>The option values a buyer can choose for this parameter.
titleStringThe 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.