Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class ChoiceInput.
Choice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice.
Generated from protobuf message google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput
Namespace
Google \ Shopping \ Merchant \ IssueResolution \ V1 \ InputFieldMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ options |
array<ChoiceInput\ChoiceInputOption>
A list of choices. Only one option can be selected. |
getOptions
A list of choices. Only one option can be selected.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setOptions
A list of choices. Only one option can be selected.
Parameter | |
---|---|
Name | Description |
var |
array<ChoiceInput\ChoiceInputOption>
|
Returns | |
---|---|
Type | Description |
$this |