Google Cloud Channel V1 Client - Class TransferableOffer (2.4.0)

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

TransferableOffer represents an Offer that can be used in Transfer.

Read-only.

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ offer Offer

Offer with parameter constraints updated to allow the Transfer.

↳ 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 with parameter constraints updated to allow the Transfer.

Returns
Type Description
Offer|null

hasOffer

clearOffer

setOffer

Offer with parameter constraints updated to allow the Transfer.

Parameter
Name Description
var Offer
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