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

Action that is implemented and performed outside of the third-party
application. It should redirect the business to the provided URL of an
external system where they can perform the action. For example to request a
review in the Merchant Center.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` The type of external action. |
| `↳ uri` | `string` URL to external system, for example Merchant Center, where the business can perform the action. |

### getType

The type of external action.

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

### setType

The type of external action.

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

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

### getUri

URL to external system, for example Merchant Center, where the business can
perform the action.

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

### setUri

URL to external system, for example Merchant Center, where the business can
perform the action.

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

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