Builder
A builder used to create a StockNotificationPanel. The created panel is configured by the properties of this builder.
Properties
The text shown in the body section.
The FrontendContext for a notification panel to communicate with the rest of the system.
The view model for the header section containing the thumbnail, title and description.
The view models for options in the options section. Each view model populates an additional item in the options section. Each item represents one option a user can choose from(e.g. send quick replies, an option given by VPA, etc.).
The view model for the primary button in the button section.
The NotificationPanel.Priority of a notification panel.
The view model for the secondary action button in the button section.
Functions
Set optionViewModels to the given viewModels.
Set primaryActionButtonViewModel to the given viewModel.
Set secondaryActionButtonViewModel to the given viewModel.