Google Cloud Channel V1 Client - Class SkuPurchaseGroup (1.8.2)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSkus

Resource names of the SKUs included in this group.

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getBillingAccountPurchaseInfos

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBillingAccountPurchaseInfos

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

Parameter
NameDescription
var array<Google\Cloud\Channel\V1\BillingAccountPurchaseInfo>
Returns
TypeDescription
$this