Google Cloud Channel V1 Client - Class PurchasableOffer (2.4.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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ offer
Offer

Offer.

↳ price_reference_id
string

Optional. Price reference ID for the offer. Only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.

getOffer

Offer.

Returns
Type
Description
Offer |null

hasOffer

clearOffer

setOffer

Offer.

Parameter
Name
Description
var
Returns
Type
Description
$this

getPriceReferenceId

Optional. Price reference ID for the offer. Only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.

Returns
Type
Description
string

setPriceReferenceId

Optional. Price reference ID for the offer. Only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: