# Google Shopping Merchant Issue Resolution V1 Client - Class InputField (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 InputField.

Input field that needs to be available to the business. If the field is
marked as required, then a value needs to be provided for a successful
processing of the request.

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

## Namespace

Google \\ Shopping \\ Merchant \\ IssueResolution \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ text_input` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.InputField.TextInput` Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea). |
| `↳ choice_input` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.InputField.ChoiceInput` Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio). |
| `↳ checkbox_input` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.InputField.CheckboxInput` Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). |
| `↳ id` | `string` Not for display but need to be sent back for the given input field. |
| `↳ label` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TextWithTooltip` Input field label. There may be more information to be shown in a tooltip. |
| `↳ required` | `bool` Whether the field is required. The action button needs to stay disabled till values for all required fields are provided. |

### getTextInput

Input field to provide text information.

Corresponds to the [html input
type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text)
or [html
textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea).

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

### hasTextInput

### setTextInput

Input field to provide text information.

Corresponds to the [html input
type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text)
or [html
textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea).

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

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

### getChoiceInput

Input field to select one of the offered choices.

Corresponds to the [html input
type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio).

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

### hasChoiceInput

### setChoiceInput

Input field to select one of the offered choices.

Corresponds to the [html input
type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio).

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

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

### getCheckboxInput

Input field to provide a boolean value.

Corresponds to the [html input
type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).

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

### hasCheckboxInput

### setCheckboxInput

Input field to provide a boolean value.

Corresponds to the [html input
type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).

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

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

### getId

Not for display but need to be sent back for the given input field.

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

### setId

Not for display but need to be sent back for the given input field.

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

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

### getLabel

Input field label. There may be more information to be shown in a tooltip.

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

### hasLabel

### clearLabel

### setLabel

Input field label. There may be more information to be shown in a tooltip.

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

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

### getRequired

Whether the field is required. The action button needs to stay disabled
till values for all required fields are provided.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRequired

Whether the field is required. The action button needs to stay disabled
till values for all required fields are provided.

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

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

### getValueInput

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