Google Cloud Commerce Producer V1beta Client - Class Usage (0.2.0)

Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class Usage.

Price configurations for the usage part.

Generated from protobuf message google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage

Namespace

Google \ Cloud \ CommerceProducer \ V1beta \ StandardOffer \ PriceModel

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sku_list SkuList

Output only. The offer's usage fees are charged against these SKUs.

↳ sku_group_list SkuGroupList

Output only. The offer's usage fees are charged against the SKUs in these groups.

getSkuList

Output only. The offer's usage fees are charged against these SKUs.

Returns
Type Description
SkuList|null

hasSkuList

setSkuList

Output only. The offer's usage fees are charged against these SKUs.

Parameter
Name Description
var SkuList
Returns
Type Description
$this

getSkuGroupList

Output only. The offer's usage fees are charged against the SKUs in these groups.

Returns
Type Description
SkuGroupList|null

hasSkuGroupList

setSkuGroupList

Output only. The offer's usage fees are charged against the SKUs in these groups.

Parameter
Name Description
var SkuGroupList
Returns
Type Description
$this

getSkus

Returns
Type Description
string