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 offers.
getPaymentPlan
Describes how a reseller will be billed.
Returns
Type
Description
int
Enum of typePaymentPlan.
setPaymentPlan
Describes how a reseller will be billed.
Parameter
Name
Description
var
int
Enum of typePaymentPlan.
Returns
Type
Description
$this
getPaymentType
Specifies when the payment needs to happen.
Returns
Type
Description
int
Enum of typePaymentType.
setPaymentType
Specifies when the payment needs to happen.
Parameter
Name
Description
var
int
Enum of typePaymentType.
Returns
Type
Description
$this
getPaymentCycle
Describes how frequently the reseller will be billed, such as
once per month.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Channel V1 Client - Class Plan (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.Plan)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.Plan)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.Plan)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.Plan)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.Plan)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.Plan)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.Plan)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.Plan)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.Plan)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.Plan)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.Plan)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.Plan)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.Plan)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.Plan) \nReference documentation and code samples for the Google Cloud Channel V1 Client class Plan.\n\nThe payment plan for the Offer. Describes how to make a payment.\n\nGenerated from protobuf message `google.cloud.channel.v1.Plan`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPaymentPlan\n\nDescribes how a reseller will be billed.\n\n### setPaymentPlan\n\nDescribes how a reseller will be billed.\n\n### getPaymentType\n\nSpecifies when the payment needs to happen.\n\n### setPaymentType\n\nSpecifies when the payment needs to happen.\n\n### getPaymentCycle\n\nDescribes how frequently the reseller will be billed, such as\nonce per month.\n\n### hasPaymentCycle\n\n### clearPaymentCycle\n\n### setPaymentCycle\n\nDescribes how frequently the reseller will be billed, such as\nonce per month.\n\n### getTrialPeriod\n\nPresent for Offers with a trial period.\n\nFor trial-only Offers, a paid service needs to start before the trial\nperiod ends for continued service.\nFor Regular Offers with a trial period, the regular pricing goes into\neffect when trial period ends, or if paid service is started before the end\nof the trial period.\n\n### hasTrialPeriod\n\n### clearTrialPeriod\n\n### setTrialPeriod\n\nPresent for Offers with a trial period.\n\nFor trial-only Offers, a paid service needs to start before the trial\nperiod ends for continued service.\nFor Regular Offers with a trial period, the regular pricing goes into\neffect when trial period ends, or if paid service is started before the end\nof the trial period.\n\n### getBillingAccount\n\nReseller Billing account to charge after an offer transaction.\n\nOnly present for Google Cloud offers.\n\n### setBillingAccount\n\nReseller Billing account to charge after an offer transaction.\n\nOnly present for Google Cloud offers."]]