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

Request to start the selected action

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The business's account that is triggering the action. Format: `accounts/{account}` |
| `↳ payload` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TriggerActionPayload` Required. The payload for the triggered action. |
| `↳ language_code` | `string` Optional. Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) used to localize the response. If not set, the result will be in default language `en-US`. |

### getName

Required. The business's account that is triggering the action.

Format: `accounts/{account}`

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

### setName

Required. The business's account that is triggering the action.

Format: `accounts/{account}`

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

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

### getPayload

Required. The payload for the triggered action.

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

### hasPayload

### clearPayload

### setPayload

Required. The payload for the triggered action.

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

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

### getLanguageCode

Optional. Language code [IETF BCP 47
syntax](https://tools.ietf.org/html/bcp47) used to localize the response.

If not set, the result will be in default language `en-US`.

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

### setLanguageCode

Optional. Language code [IETF BCP 47
syntax](https://tools.ietf.org/html/bcp47) used to localize the response.

If not set, the result will be in default language `en-US`.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The business's account that is triggering the action. Format: `accounts/{account}` Please see IssueResolutionServiceClient::accountName() for help formatting this field. |

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