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

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

Offer that you can purchase for a customer. This is used in the ListPurchasableOffer API response.

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ offer Google\Cloud\Channel\V1\Offer

Offer.

getOffer

Offer.

Returns
Type Description
Google\Cloud\Channel\V1\Offer|null

hasOffer

clearOffer

setOffer

Offer.

Parameter
Name Description
var Google\Cloud\Channel\V1\Offer
Returns
Type Description
$this