Reference documentation and code samples for the Google Cloud Channel V1 Client class Plan.
The payment plan for the Offer. Describes how to make a payment.
Generated from protobuf message google.cloud.channel.v1.Plan
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ payment_plan |
int
Describes how a reseller will be billed. |
↳ payment_type |
int
Specifies when the payment needs to happen. |
↳ payment_cycle |
Google\Cloud\Channel\V1\Period
Describes how frequently the reseller will be billed, such as once per month. |
↳ trial_period |
Google\Cloud\Channel\V1\Period
Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period. |
↳ billing_account |
string
Reseller Billing account to charge after an offer transaction. Only present for Google Cloud Platform offers. |
getPaymentPlan
Describes how a reseller will be billed.
Generated from protobuf field .google.cloud.channel.v1.PaymentPlan payment_plan = 1;
Returns | |
---|---|
Type | Description |
int |
setPaymentPlan
Describes how a reseller will be billed.
Generated from protobuf field .google.cloud.channel.v1.PaymentPlan payment_plan = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPaymentType
Specifies when the payment needs to happen.
Generated from protobuf field .google.cloud.channel.v1.PaymentType payment_type = 2;
Returns | |
---|---|
Type | Description |
int |
setPaymentType
Specifies when the payment needs to happen.
Generated from protobuf field .google.cloud.channel.v1.PaymentType payment_type = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPaymentCycle
Describes how frequently the reseller will be billed, such as once per month.
Generated from protobuf field .google.cloud.channel.v1.Period payment_cycle = 3;
Returns | |
---|---|
Type | Description |
Google\Cloud\Channel\V1\Period|null |
hasPaymentCycle
clearPaymentCycle
setPaymentCycle
Describes how frequently the reseller will be billed, such as once per month.
Generated from protobuf field .google.cloud.channel.v1.Period payment_cycle = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Channel\V1\Period
|
Returns | |
---|---|
Type | Description |
$this |
getTrialPeriod
Present for Offers with a trial period.
For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.
Generated from protobuf field .google.cloud.channel.v1.Period trial_period = 4;
Returns | |
---|---|
Type | Description |
Google\Cloud\Channel\V1\Period|null |
hasTrialPeriod
clearTrialPeriod
setTrialPeriod
Present for Offers with a trial period.
For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.
Generated from protobuf field .google.cloud.channel.v1.Period trial_period = 4;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Channel\V1\Period
|
Returns | |
---|---|
Type | Description |
$this |
getBillingAccount
Reseller Billing account to charge after an offer transaction.
Only present for Google Cloud Platform offers.
Generated from protobuf field string billing_account = 5;
Returns | |
---|---|
Type | Description |
string |
setBillingAccount
Reseller Billing account to charge after an offer transaction.
Only present for Google Cloud Platform offers.
Generated from protobuf field string billing_account = 5;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |