# Google Shopping Merchant Issue Resolution V1 Client - Class ChoiceInputOption (1.3.1)

1.3.1 (latest) 1.3.0 1.2.1 1.1.1 1.0.0 0.1.0 Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class ChoiceInputOption.

A choice that the business can select.

Generated from protobuf message `google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption`

## Namespace

Google \\ Shopping \\ Merchant \\ IssueResolution \\ V1 \\ InputField \\ ChoiceInput

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Not for display but need to be sent back for the selected choice option. |
| `↳ label` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TextWithTooltip` Short description of the choice option. There may be more information to be shown as a tooltip. |
| `↳ additional_input` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.InputField` Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`. |

### getId

Not for display but need to be sent back for the selected choice
option.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setId

Not for display but need to be sent back for the selected choice
option.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLabel

Short description of the choice option. There may be more information
to be shown as a tooltip.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TextWithTooltip|null` |   |

### hasLabel

### clearLabel

### setLabel

Short description of the choice option. There may be more information
to be shown as a tooltip.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TextWithTooltip` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdditionalInput

Input that should be displayed when this option is selected.

The additional input will not contain a `ChoiceInput`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.InputField|null` |   |

### hasAdditionalInput

### clearAdditionalInput

### setAdditionalInput

Input that should be displayed when this option is selected.

The additional input will not contain a `ChoiceInput`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.InputField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |