0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class WhatsAppCredentials.

Ephemeral Meta credentials for WhatsApp native integration.

Generated from protobuf message `google.cloud.ces.v1.WhatsAppCredentials`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ auth_code` | `string` Required. The Meta auth code provided by the embedded signup flow. |
| `↳ pin` | `string` Required. The 6-digit PIN created by the user for two-step verification. |
| `↳ phone_number` | `string` Required. The phone number to register with WhatsApp. |
| `↳ business_account_id` | `string` Required. The Business Account ID to use for the phone number. |
| `↳ waba_id` | `string` Required. The WhatsApp Business Account ID. |
| `↳ conversation_profile_id` | `string` Required. The Conversation Profile ID to use for the deployment. |

### getAuthCode

Required. The Meta auth code provided by the embedded signup flow.

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

### setAuthCode

Required. The Meta auth code provided by the embedded signup flow.

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

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

### getPin

Required. The 6-digit PIN created by the user for two-step verification.

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

### setPin

Required. The 6-digit PIN created by the user for two-step verification.

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

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

### getPhoneNumber

Required. The phone number to register with WhatsApp.

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

### setPhoneNumber

Required. The phone number to register with WhatsApp.

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

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

### getBusinessAccountId

Required. The Business Account ID to use for the phone number.

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

### setBusinessAccountId

Required. The Business Account ID to use for the phone number.

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

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

### getWabaId

Required. The WhatsApp Business Account ID.

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

### setWabaId

Required. The WhatsApp Business Account ID.

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

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

### getConversationProfileId

Required. The Conversation Profile ID to use for the deployment.

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

### setConversationProfileId

Required. The Conversation Profile ID to use for the deployment.

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

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