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

Action that is implemented and performed in (your) third-party application.

The application needs to show an additional content and input form to the
business. They can start the action only when they provided all required
inputs. The application will request processing of the action by calling the
[triggeraction
method](https://developers.google.com/merchant/api/reference/rest/issueresolution_v1/issueresolution/triggeraction).

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ action_context` | `string` Contains the action's context that must be included as part of the [TriggerActionPayload.action_context](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TriggerActionPayload#_Google_Shopping_Merchant_IssueResolution_V1_TriggerActionPayload__getActionContext__) in [TriggerActionRequest.payload](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TriggerActionRequest#_Google_Shopping_Merchant_IssueResolution_V1_TriggerActionRequest__getPayload__) to call the `triggeraction` method. The content should be treated as opaque and must not be modified. |
| `↳ flows` | `array<https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.ActionFlow>` Actions may provide multiple different flows. Business selects one that fits best to their intent. Selecting the flow is the first step in user's interaction with the action. It affects what input fields will be available and required and also how the request will be processed. |

### getActionContext

Contains the action's context that must be included as part of the
[TriggerActionPayload.action_context](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TriggerActionPayload#_Google_Shopping_Merchant_IssueResolution_V1_TriggerActionPayload__getActionContext__)
in
[TriggerActionRequest.payload](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TriggerActionRequest#_Google_Shopping_Merchant_IssueResolution_V1_TriggerActionRequest__getPayload__)
to call the `triggeraction` method. The content should be treated as opaque
and must not be modified.

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

### setActionContext

Contains the action's context that must be included as part of the
[TriggerActionPayload.action_context](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TriggerActionPayload#_Google_Shopping_Merchant_IssueResolution_V1_TriggerActionPayload__getActionContext__)
in
[TriggerActionRequest.payload](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.TriggerActionRequest#_Google_Shopping_Merchant_IssueResolution_V1_TriggerActionRequest__getPayload__)
to call the `triggeraction` method. The content should be treated as opaque
and must not be modified.

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

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

### getFlows

Actions may provide multiple different flows. Business selects one that
fits best to their intent. Selecting the flow is the first step in user's
interaction with the action. It affects what input fields will be available
and required and also how the request will be processed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.ActionFlow>` |   |

### setFlows

Actions may provide multiple different flows. Business selects one that
fits best to their intent. Selecting the flow is the first step in user's
interaction with the action. It affects what input fields will be available
and required and also how the request will be processed.

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

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