Interface
OptionInterface
Magento\Customer\Api\Data\OptionInterface
What it does
This interface defines the structure for option objects used in customer attribute configurations, such as dropdown or multiselect fields.
Developers use this when working with customer form attributes that have selectable options, like gender, customer group, or custom attributes.
It supports nested options, allowing for hierarchical option structures with parent-child relationships.
Public Methods
- getLabel()
- setLabel()
- getValue()
- setValue()
- getOptions()
- setOptions()