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

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}.

getSku

Required. SKU that the result should be restricted to.

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

Generated from protobuf field string sku = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setSku

Required. SKU that the result should be restricted to.

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

Generated from protobuf field string sku = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this