Google Cloud Channel V1 Client - Class CreateEntitlementPurchase (1.8.2)

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
NameDescription
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
TypeDescription
string

setSku

Required. SKU that the result should be restricted to.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBillingAccount

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

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

Returns
TypeDescription
string

setBillingAccount

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this