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

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
Name Description
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
Type Description
Google\Cloud\Channel\V1\CustomerConstraints|null

hasCustomerConstraints

clearCustomerConstraints

setCustomerConstraints

Represents constraints required to purchase the Offer for a customer.

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