Google Cloud Channel V1 Client - Class PurchasableOffer (1.3.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ offer Google\Cloud\Channel\V1\Offer

Offer.

getOffer

Offer.

Returns
TypeDescription
Google\Cloud\Channel\V1\Offer|null

hasOffer

clearOffer

setOffer

Offer.

Parameter
NameDescription
var Google\Cloud\Channel\V1\Offer
Returns
TypeDescription
$this