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

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

Represents various functionality that is expected to be available to business
and will help them with resolving the issue. The application should point the
business to the place, where they can access the corresponding functionality.
If the functionality is not supported, it is recommended to explain the
situation to the business and provide them with instructions how to solve the
issue.

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

## 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 action that represents a functionality that is expected to be available in third-party application. |
| `↳ attribute_code` | `string` The attribute that needs to be updated. Present when the [type](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInSimpleAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInSimpleAction__getType__) is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes [here](https://support.google.com/merchants/answer/7052112). |
| `↳ additional_content` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInSimpleAction.AdditionalContent` Long text from an external source that should be available to the business. Present when the [type](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInSimpleAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInSimpleAction__getType__) is `SHOW_ADDITIONAL_CONTENT`. |

### getType

The type of action that represents a functionality that is expected to be
available in third-party application.

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

### setType

The type of action that represents a functionality that is expected to be
available in third-party application.

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

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

### getAttributeCode

The attribute that needs to be updated. Present when the
[type](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInSimpleAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInSimpleAction__getType__)
is `EDIT_ITEM_ATTRIBUTE`.

This field contains a code for attribute, represented in snake_case. You
can find a list of product's attributes, with their codes
[here](https://support.google.com/merchants/answer/7052112).

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

### hasAttributeCode

### clearAttributeCode

### setAttributeCode

The attribute that needs to be updated. Present when the
[type](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInSimpleAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInSimpleAction__getType__)
is `EDIT_ITEM_ATTRIBUTE`.

This field contains a code for attribute, represented in snake_case. You
can find a list of product's attributes, with their codes
[here](https://support.google.com/merchants/answer/7052112).

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

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

### getAdditionalContent

Long text from an external source that should be available to the business.

Present when the
[type](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInSimpleAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInSimpleAction__getType__)
is `SHOW_ADDITIONAL_CONTENT`.

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

### hasAdditionalContent

### clearAdditionalContent

### setAdditionalContent

Long text from an external source that should be available to the business.

Present when the
[type](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-issueresolution/latest/V1.BuiltInSimpleAction#_Google_Shopping_Merchant_IssueResolution_V1_BuiltInSimpleAction__getType__)
is `SHOW_ADDITIONAL_CONTENT`.

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

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