ListTab
global class ListTab extends ReadWriteTab
Description
A list tab enables the recipient to choose from a list of options. You specify the options in the
items property. This value can't be set.Properties
itemsglobal List<Item> items
The list of items that can be selected by senders.
Corresponds to the listItems API property.
Methods
ListTab
global ListTab()
Description
Constructs a list tab.
withItems
global ListTab withItems(final List<Item> items)
Description
Updates the tab
items property.Returns
The tab with an updated
items value.Parameters
itemsfinal List<Item> items
The list of items that can be selected by senders.
ListTab.Item
global class Item
Description
A selectable list tab item.
Properties
labelglobal String label
Specifies the text that is shown in the dropdown list.
Corresponds to the text API parameter.
selectedglobal Boolean selected
When set to
true, indicates that this item is the default selection shown to a signer. Only one selection can be set as the default.
valueglobal Object value
Specifies the value that is used when the list item is selected.