Google Cloud Channel V1 Client - Class SkuPurchaseGroup (2.4.1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class SkuPurchaseGroup.

Represents a set of SKUs that must be purchased using the same billing account.

Generated from protobuf message google.cloud.channel.v1.SkuPurchaseGroup

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ skus string[]

Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.

↳ billing_account_purchase_infos array<BillingAccountPurchaseInfo>

List of billing accounts that are eligible to purhcase these SKUs.

getSkus

Resource names of the SKUs included in this group.

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

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setSkus

Resource names of the SKUs included in this group.

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

getBillingAccountPurchaseInfos

List of billing accounts that are eligible to purhcase these SKUs.

Returns
Type Description
Google\Protobuf\RepeatedField<BillingAccountPurchaseInfo>

setBillingAccountPurchaseInfos

List of billing accounts that are eligible to purhcase these SKUs.

Parameter
Name Description
var array<BillingAccountPurchaseInfo>
Returns
Type Description
$this