# Google Shopping Merchant Accounts V1 Client - Class Handshake (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.0 1.0.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.3 0.2.0 0.1.0 Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Handshake.

The current status of establishing of the service.

(for example, pending approval or approved).

Generated from protobuf message `google.shopping.merchant.accounts.v1.Handshake`

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ approval_state` | `int` Output only. The approval state of this handshake. |
| `↳ actor` | `int` Output only. The most recent account to modify the account service's `approval_status`. |

### getApprovalState

Output only. The approval state of this handshake.

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

### setApprovalState

Output only. The approval state of this handshake.

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

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

### getActor

Output only. The most recent account to modify the account service's
`approval_status`.

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

### setActor

Output only. The most recent account to modify the account service's
`approval_status`.

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

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