|
reseller
v1
|
#include <subscription.h>
Classes | |
| class | SubscriptionPlanCommitmentInterval |
Public Member Functions | |
| SubscriptionPlan (const Json::Value &storage) | |
| SubscriptionPlan (Json::Value *storage) | |
| virtual | ~SubscriptionPlan () |
| const StringPiece | GetTypeName () const |
| bool | has_commitment_interval () const |
| void | clear_commitment_interval () |
| const SubscriptionPlanCommitmentInterval | get_commitment_interval () const |
| SubscriptionPlanCommitmentInterval | mutable_commitmentInterval () |
| bool | has_is_commitment_plan () const |
| void | clear_is_commitment_plan () |
| bool | get_is_commitment_plan () const |
| void | set_is_commitment_plan (bool value) |
| bool | has_plan_name () const |
| void | clear_plan_name () |
| const StringPiece | get_plan_name () const |
| void | set_plan_name (const StringPiece &value) |
Static Public Member Functions | |
| static SubscriptionPlan * | New () |
The plan property is required. In this version of the API, the G Suite plans are the flexible plan, annual commitment plan, and the 30-day free trial plan. For more information about the API"s payment plans, see the API concepts.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'commitmentInterval' attribute.
|
inline |
Clears the 'isCommitmentPlan' attribute.
|
inline |
Clears the 'planName' attribute.
|
inline |
Get a reference to the value of the 'commitmentInterval' attribute.
|
inline |
Get the value of the 'isCommitmentPlan' attribute.
|
inline |
Get the value of the 'planName' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_reseller_api::SubscriptionPlan
|
inline |
Determine if the 'commitmentInterval' attribute was set.
commitmentInterval' attribute was set.
|
inline |
Determine if the 'isCommitmentPlan' attribute was set.
isCommitmentPlan' attribute was set.
|
inline |
Determine if the 'planName' attribute was set.
planName' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'commitmentInterval' property.
In this version of the API, annual commitment plan's interval is one year. Note: When billingMethod value is OFFLINE, the subscription property object plan.commitmentInterval is omitted in all API responses.
|
static |
Creates a new default instance.
|
inline |
Change the 'isCommitmentPlan' attribute.
The isCommitmentPlan property's boolean value identifies the plan as an annual commitment plan:
| [in] | value | The new value. |
|
inline |
Change the 'planName' attribute.
The planName property is required. This is the name of the subscription's plan. For more information about the Google payment plans, see the API concepts.
Possible values are:
| [in] | value | The new value. |