reseller  v1
Public Member Functions | List of all members
google_reseller_api::ResellerService::SubscriptionsResource Class Reference

#include <reseller_service.h>

Public Member Functions

 SubscriptionsResource (ResellerService *service)
 
 ~SubscriptionsResource ()
 
SubscriptionsResource_ActivateMethodNewActivateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id) const
 
SubscriptionsResource_ChangePlanMethodNewChangePlanMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id, const ChangePlanRequest &_content_) const
 
SubscriptionsResource_ChangeRenewalSettingsMethodNewChangeRenewalSettingsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id, const RenewalSettings &_content_) const
 
SubscriptionsResource_ChangeSeatsMethodNewChangeSeatsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id, const Seats &_content_) const
 
SubscriptionsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id, const absl::string_view &deletion_type) const
 
SubscriptionsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id) const
 
SubscriptionsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const Subscription &_content_) const
 
SubscriptionsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_) const
 
SubscriptionsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_) const
 
SubscriptionsResource_StartPaidServiceMethodNewStartPaidServiceMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id) const
 
SubscriptionsResource_SuspendMethodNewSuspendMethod (client::AuthorizationCredential *_credential_, const absl::string_view &customer_id, const absl::string_view &subscription_id) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ SubscriptionsResource()

google_reseller_api::ResellerService::SubscriptionsResource::SubscriptionsResource ( ResellerService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~SubscriptionsResource()

google_reseller_api::ResellerService::SubscriptionsResource::~SubscriptionsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewActivateMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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_idThis 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewChangePlanMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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_idThis 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewChangeRenewalSettingsMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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_idThis 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewChangeSeatsMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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_idThis 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeleteMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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_idThis 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_typeThe deletionType query string enables the cancellation, downgrade, or suspension of a subscription.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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_idThis 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

SubscriptionsResource_ListMethod * google_reseller_api::ResellerService::SubscriptionsResource::NewListMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new SubscriptionsResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

SubscriptionsResource_ListMethodPager * google_reseller_api::ResellerService::SubscriptionsResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewStartPaidServiceMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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_idThis 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSuspendMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]customer_idEither 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_idThis 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: