# Google Cloud Channel V1 Client - Class BillingAccountPurchaseInfo (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Channel V1 Client class BillingAccountPurchaseInfo.

Represents a billing account that can be used to make a purchase.

Generated from protobuf message `google.cloud.channel.v1.BillingAccountPurchaseInfo`

## Namespace

Google \\ Cloud \\ Channel \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ billing_account` | `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.BillingAccount` The billing account resource. |

### getBillingAccount

The billing account resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.BillingAccount|null` |   |

### hasBillingAccount

### clearBillingAccount

### setBillingAccount

The billing account resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.BillingAccount` |

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