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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
bool |
setIsEligible
Whether reseller is eligible to transfer the SKU.
Generated from protobuf field bool is_eligible = 1;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Localized description if reseller is not eligible to transfer the SKU.
Generated from protobuf field string description = 2;
Returns | |
---|---|
Type | Description |
string |
setDescription
Localized description if reseller is not eligible to transfer the SKU.
Generated from protobuf field string description = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIneligibilityReason
Specified the reason for ineligibility.
Generated from protobuf field .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;
Returns | |
---|---|
Type | Description |
int |
setIneligibilityReason
Specified the reason for ineligibility.
Generated from protobuf field .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |