Google Cloud Channel V1 Client - Class CreateEntitlementPurchase (2.0.0)

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