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

Block of text that may contain a tooltip with more information.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ simple_value` | `string` Value of the message as a simple text. |
| `↳ simple_tooltip_value` | `string` Value of the tooltip as a simple text. |
| `↳ tooltip_icon_style` | `int` The suggested type of an icon for tooltip, if a tooltip is present. |

### getSimpleValue

Value of the message as a simple text.

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

### hasSimpleValue

### setSimpleValue

Value of the message as a simple text.

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

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

### getSimpleTooltipValue

Value of the tooltip as a simple text.

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

### hasSimpleTooltipValue

### setSimpleTooltipValue

Value of the tooltip as a simple text.

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

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

### getTooltipIconStyle

The suggested type of an icon for tooltip, if a tooltip is present.

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

### setTooltipIconStyle

The suggested type of an icon for tooltip, if a tooltip is present.

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

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

### getValue

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

### getTooltipValue

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