|
reseller
v1
|
#include <reseller_service.h>
Public Member Functions | |
| SubscriptionsResource (ResellerService *service) | |
| ~SubscriptionsResource () | |
| SubscriptionsResource_ActivateMethod * | NewActivateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id) const |
| SubscriptionsResource_ChangePlanMethod * | NewChangePlanMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id, const ChangePlanRequest &_content_) const |
| SubscriptionsResource_ChangeRenewalSettingsMethod * | NewChangeRenewalSettingsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id, const RenewalSettings &_content_) const |
| SubscriptionsResource_ChangeSeatsMethod * | NewChangeSeatsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id, const Seats &_content_) const |
| SubscriptionsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id, const absl::string_view &deletion_type) const |
| SubscriptionsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id) const |
| SubscriptionsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const Subscription &_content_) const |
| SubscriptionsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_) const |
| SubscriptionsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_) const |
| SubscriptionsResource_StartPaidServiceMethod * | NewStartPaidServiceMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id) const |
| SubscriptionsResource_SuspendMethod * | NewSuspendMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
| [in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
| SubscriptionsResource_ActivateMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewActivateMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const absl::string_view & | subscription_id | ||
| ) | const |
Creates a new SubscriptionsResource_ActivateMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | subscription_id | This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_ChangePlanMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewChangePlanMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const absl::string_view & | subscription_id, | ||
| const ChangePlanRequest & | _content_ | ||
| ) | const |
Creates a new SubscriptionsResource_ChangePlanMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | subscription_id | This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method. |
| [in] | <em>content</em> | The data object to changePlan. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_ChangeRenewalSettingsMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewChangeRenewalSettingsMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const absl::string_view & | subscription_id, | ||
| const RenewalSettings & | _content_ | ||
| ) | const |
Creates a new SubscriptionsResource_ChangeRenewalSettingsMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | subscription_id | This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method. |
| [in] | <em>content</em> | The data object to changeRenewalSettings. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_ChangeSeatsMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewChangeSeatsMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const absl::string_view & | subscription_id, | ||
| const Seats & | _content_ | ||
| ) | const |
Creates a new SubscriptionsResource_ChangeSeatsMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | subscription_id | This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method. |
| [in] | <em>content</em> | The data object to changeSeats. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_DeleteMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const absl::string_view & | subscription_id, | ||
| const absl::string_view & | deletion_type | ||
| ) | const |
Creates a new SubscriptionsResource_DeleteMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | subscription_id | This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method. |
| [in] | deletion_type | The deletionType query string enables the cancellation, downgrade, or suspension of a subscription. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_GetMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const absl::string_view & | subscription_id | ||
| ) | const |
Creates a new SubscriptionsResource_GetMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | subscription_id | This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_InsertMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const Subscription & | _content_ | ||
| ) | const |
Creates a new SubscriptionsResource_InsertMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | <em>content</em> | The data object to insert. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_ListMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a new SubscriptionsResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_ListMethodPager * google_reseller_api::ResellerService::SubscriptionsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a pager for iterating over incremental result pages.
| [in] | <em>credential</em> | NULL credentials will not authorize the request. |
| SubscriptionsResource_StartPaidServiceMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewStartPaidServiceMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const absl::string_view & | subscription_id | ||
| ) | const |
Creates a new SubscriptionsResource_StartPaidServiceMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | subscription_id | This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method. |
Execute the method instance, then destroy it when they are finished. | SubscriptionsResource_SuspendMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewSuspendMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | customer_id, | ||
| const absl::string_view & | subscription_id | ||
| ) | const |
Creates a new SubscriptionsResource_SuspendMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | customer_id | Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. |
| [in] | subscription_id | This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method. |
Execute the method instance, then destroy it when they are finished.