Google Cloud Channel V1 Client - Class SkuPurchaseGroup (2.0.0-RC1)

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 array

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

↳ billing_account_purchase_infos array<Google\Cloud\Channel\V1\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\Internal\RepeatedField

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\Internal\RepeatedField

setBillingAccountPurchaseInfos

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

Parameter
Name Description
var array<Google\Cloud\Channel\V1\BillingAccountPurchaseInfo>
Returns
Type Description
$this