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

Text input allows the business to provide a text value.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` Type of the text input |
| `↳ additional_info` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TextWithTooltip` Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip. |
| `↳ format_info` | `string` Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: "VAT numbers should be in a format similar to SK9999999999" |
| `↳ aria_label` | `string` Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input. |

### getType

Type of the text input

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [TextInputType](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.InputField.TextInput.TextInputType). |

### setType

Type of the text input

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [TextInputType](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.InputField.TextInput.TextInputType). |

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

### getAdditionalInfo

Additional info regarding the field to be displayed to the business. For
example, warning to not include personal identifiable information. 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` |   |

### hasAdditionalInfo

### clearAdditionalInfo

### setAdditionalInfo

Additional info regarding the field to be displayed to the business. For
example, warning to not include personal identifiable information. 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` |   |

### getFormatInfo

Information about the required format. If present, it should be shown
close to the input field to help the business to provide a correct value.

For example: "VAT numbers should be in a format similar to SK9999999999"

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

### hasFormatInfo

### clearFormatInfo

### setFormatInfo

Information about the required format. If present, it should be shown
close to the input field to help the business to provide a correct value.

For example: "VAT numbers should be in a format similar to SK9999999999"

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

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

### getAriaLabel

Text to be used as the
[aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the
input.

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

### hasAriaLabel

### clearAriaLabel

### setAriaLabel

Text to be used as the
[aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the
input.

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

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