# Google Cloud Channel V1 Client - Class CreateEntitlementPurchase (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 CreateEntitlementPurchase.

List Offers for CreateEntitlement purchase.

Generated from protobuf message `google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase`

## Namespace

Google \\ Cloud \\ Channel \\ V1 \\ ListPurchasableOffersRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ sku` | `string` Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}. |
| `↳ billing_account` | `string` Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}. |

### getSku

Required. SKU that the result should be restricted to.

Format: products/{product_id}/skus/{sku_id}.

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

### setSku

Required. SKU that the result should be restricted to.

Format: products/{product_id}/skus/{sku_id}.

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

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

### getBillingAccount

Optional. Billing account that the result should be restricted to.

Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

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

### setBillingAccount

Optional. Billing account that the result should be restricted to.

Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

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

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