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

The payload for the triggered action.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ action_context` | `string` Required. The [context](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInUserInputAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInUserInputAction__getActionContext__) from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the [action](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.Action#_Google_Shopping_Merchant_IssueResolution_V1_Action__getBuiltinUserInputAction__) that is being triggered. |
| `↳ action_input` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.ActionInput` Required. Input provided by the business. |

### getActionContext

Required. The
[context](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInUserInputAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInUserInputAction__getActionContext__)
from the selected action. The value is obtained from rendered issues and
needs to be sent back to identify the
[action](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.Action#_Google_Shopping_Merchant_IssueResolution_V1_Action__getBuiltinUserInputAction__)
that is being triggered.

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

### setActionContext

Required. The
[context](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInUserInputAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInUserInputAction__getActionContext__)
from the selected action. The value is obtained from rendered issues and
needs to be sent back to identify the
[action](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.Action#_Google_Shopping_Merchant_IssueResolution_V1_Action__getBuiltinUserInputAction__)
that is being triggered.

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

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

### getActionInput

Required. Input provided by the business.

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

### hasActionInput

### clearActionInput

### setActionInput

Required. Input provided by the business.

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

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