#include <change_plan_request.h>
JSON template for the ChangePlan rpc request.
◆ ChangePlanRequest() [1/2]
| google_reseller_api::ChangePlanRequest::ChangePlanRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ChangePlanRequest() [2/2]
| google_reseller_api::ChangePlanRequest::ChangePlanRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~ChangePlanRequest()
| google_reseller_api::ChangePlanRequest::~ChangePlanRequest |
( |
| ) |
|
|
virtual |
◆ clear_deal_code()
| void google_reseller_api::ChangePlanRequest::clear_deal_code |
( |
| ) |
|
|
inline |
Clears the 'dealCode' attribute.
◆ clear_kind()
| void google_reseller_api::ChangePlanRequest::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_plan_name()
| void google_reseller_api::ChangePlanRequest::clear_plan_name |
( |
| ) |
|
|
inline |
Clears the 'planName' attribute.
◆ clear_purchase_order_id()
| void google_reseller_api::ChangePlanRequest::clear_purchase_order_id |
( |
| ) |
|
|
inline |
Clears the 'purchaseOrderId' attribute.
◆ clear_seats()
| void google_reseller_api::ChangePlanRequest::clear_seats |
( |
| ) |
|
|
inline |
Clears the 'seats' attribute.
◆ get_deal_code()
| const StringPiece google_reseller_api::ChangePlanRequest::get_deal_code |
( |
| ) |
const |
|
inline |
Get the value of the 'dealCode' attribute.
◆ get_kind()
| const StringPiece google_reseller_api::ChangePlanRequest::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_plan_name()
| const StringPiece google_reseller_api::ChangePlanRequest::get_plan_name |
( |
| ) |
const |
|
inline |
Get the value of the 'planName' attribute.
◆ get_purchase_order_id()
| const StringPiece google_reseller_api::ChangePlanRequest::get_purchase_order_id |
( |
| ) |
const |
|
inline |
Get the value of the 'purchaseOrderId' attribute.
◆ get_seats()
| const Seats google_reseller_api::ChangePlanRequest::get_seats |
( |
| ) |
const |
Get a reference to the value of the 'seats' attribute.
◆ GetTypeName()
| const StringPiece google_reseller_api::ChangePlanRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_deal_code()
| bool google_reseller_api::ChangePlanRequest::has_deal_code |
( |
| ) |
const |
|
inline |
Determine if the 'dealCode' attribute was set.
- Returns
- true if the '
dealCode' attribute was set.
◆ has_kind()
| bool google_reseller_api::ChangePlanRequest::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_plan_name()
| bool google_reseller_api::ChangePlanRequest::has_plan_name |
( |
| ) |
const |
|
inline |
Determine if the 'planName' attribute was set.
- Returns
- true if the '
planName' attribute was set.
◆ has_purchase_order_id()
| bool google_reseller_api::ChangePlanRequest::has_purchase_order_id |
( |
| ) |
const |
|
inline |
Determine if the 'purchaseOrderId' attribute was set.
- Returns
- true if the '
purchaseOrderId' attribute was set.
◆ has_seats()
| bool google_reseller_api::ChangePlanRequest::has_seats |
( |
| ) |
const |
|
inline |
Determine if the 'seats' attribute was set.
- Returns
- true if the '
seats' attribute was set.
◆ mutable_seats()
| Seats google_reseller_api::ChangePlanRequest::mutable_seats |
( |
| ) |
|
Gets a reference to a mutable value of the 'seats' property.
This is a required property. The seats property is the number of user seat licenses.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_deal_code()
| void google_reseller_api::ChangePlanRequest::set_deal_code |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'dealCode' attribute.
Google-issued code (100 char max) for discounted pricing on subscription plans. Deal code must be included in changePlan request in order to receive discounted rate. This property is optional. If a deal code has already been added to a subscription, this property may be left empty and the existing discounted rate will still apply (if not empty, only provide the deal code that is already present on the subscription). If a deal code has never been added to a subscription and this property is left blank, regular pricing will apply.
- Parameters
-
◆ set_kind()
| void google_reseller_api::ChangePlanRequest::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Identifies the resource as a subscription change plan request. Value: subscriptions::changePlanRequest.
- Parameters
-
◆ set_plan_name()
| void google_reseller_api::ChangePlanRequest::set_plan_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'planName' attribute.
The planName property is required. This is the name of the subscription's payment plan. For more information about the Google payment plans, see API concepts.
Possible values are:
- ANNUAL_MONTHLY_PAY
- The annual commitment plan with monthly payments Caution: ANNUAL_MONTHLY_PAY is returned as ANNUAL in all API responses.
- ANNUAL_YEARLY_PAY
- The annual commitment plan with yearly payments.
- FLEXIBLE
- The flexible plan.
- TRIAL
- The 30-day free trial plan.
- Parameters
-
◆ set_purchase_order_id()
| void google_reseller_api::ChangePlanRequest::set_purchase_order_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'purchaseOrderId' attribute.
This is an optional property. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters.
- Parameters
-
The documentation for this class was generated from the following files: