Google Cloud Channel V1 Client - Class TransferEligibility (1.0.1)

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

Specifies transfer eligibility of a SKU.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ is_eligible bool

Whether reseller is eligible to transfer the SKU.

↳ description string

Localized description if reseller is not eligible to transfer the SKU.

↳ ineligibility_reason int

Specified the reason for ineligibility.

getIsEligible

Whether reseller is eligible to transfer the SKU.

Generated from protobuf field bool is_eligible = 1;

Returns
TypeDescription
bool

setIsEligible

Whether reseller is eligible to transfer the SKU.

Generated from protobuf field bool is_eligible = 1;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getDescription

Localized description if reseller is not eligible to transfer the SKU.

Generated from protobuf field string description = 2;

Returns
TypeDescription
string

setDescription

Localized description if reseller is not eligible to transfer the SKU.

Generated from protobuf field string description = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIneligibilityReason

Specified the reason for ineligibility.

Generated from protobuf field .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;

Returns
TypeDescription
int

setIneligibilityReason

Specified the reason for ineligibility.

Generated from protobuf field .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;

Parameter
NameDescription
var int
Returns
TypeDescription
$this