Google Cloud Channel V1 Client - Class Constraints (1.6.0)

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

Represents the constraints for buying the Offer.

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ customer_constraints Google\Cloud\Channel\V1\CustomerConstraints

Represents constraints required to purchase the Offer for a customer.

getCustomerConstraints

Represents constraints required to purchase the Offer for a customer.

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

hasCustomerConstraints

clearCustomerConstraints

setCustomerConstraints

Represents constraints required to purchase the Offer for a customer.

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