| Modifier and Type | Class and Description |
|---|---|
class |
Reseller.Subscriptions.Activate |
class |
Reseller.Subscriptions.ChangePlan |
class |
Reseller.Subscriptions.ChangeRenewalSettings |
class |
Reseller.Subscriptions.ChangeSeats |
class |
Reseller.Subscriptions.Delete |
class |
Reseller.Subscriptions.Get |
class |
Reseller.Subscriptions.Insert |
class |
Reseller.Subscriptions.List |
class |
Reseller.Subscriptions.StartPaidService |
class |
Reseller.Subscriptions.Suspend |
| Constructor and Description |
|---|
Subscriptions() |
| Modifier and Type | Method and Description |
|---|---|
Reseller.Subscriptions.Activate |
activate(String customerId,
String subscriptionId)
Activates a subscription previously suspended by the reseller.
|
Reseller.Subscriptions.ChangePlan |
changePlan(String customerId,
String subscriptionId,
ChangePlanRequest content)
Updates a subscription plan.
|
Reseller.Subscriptions.ChangeRenewalSettings |
changeRenewalSettings(String customerId,
String subscriptionId,
RenewalSettings content)
Updates a user license's renewal settings.
|
Reseller.Subscriptions.ChangeSeats |
changeSeats(String customerId,
String subscriptionId,
Seats content)
Updates a subscription's user license settings.
|
Reseller.Subscriptions.Delete |
delete(String customerId,
String subscriptionId,
String deletionType)
Cancels, suspends, or transfers a subscription to direct.
|
Reseller.Subscriptions.Get |
get(String customerId,
String subscriptionId)
Gets a specific subscription.
|
Reseller.Subscriptions.Insert |
insert(String customerId,
Subscription content)
Creates or transfer a subscription.
|
Reseller.Subscriptions.List |
list()
Lists of subscriptions managed by the reseller.
|
Reseller.Subscriptions.StartPaidService |
startPaidService(String customerId,
String subscriptionId)
Immediately move a 30-day free trial subscription to a paid service subscription.
|
Reseller.Subscriptions.Suspend |
suspend(String customerId,
String subscriptionId)
Suspends an active subscription.
|
public Reseller.Subscriptions.Activate activate(String customerId, String subscriptionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - 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.IOExceptionpublic Reseller.Subscriptions.ChangePlan changePlan(String customerId, String subscriptionId, ChangePlanRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - 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.content - the ChangePlanRequestIOExceptionpublic Reseller.Subscriptions.ChangeRenewalSettings changeRenewalSettings(String customerId, String subscriptionId, RenewalSettings content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - 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.content - the RenewalSettingsIOExceptionpublic Reseller.Subscriptions.ChangeSeats changeSeats(String customerId, String subscriptionId, Seats content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - 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.content - the SeatsIOExceptionpublic Reseller.Subscriptions.Delete delete(String customerId, String subscriptionId, String deletionType) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - 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.deletionType - The `deletionType` query string enables the cancellation, downgrade, or suspension of a
subscription.IOExceptionpublic Reseller.Subscriptions.Get get(String customerId, String subscriptionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - 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.IOExceptionpublic Reseller.Subscriptions.Insert insert(String customerId, Subscription content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.content - the SubscriptionIOExceptionpublic Reseller.Subscriptions.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Reseller.Subscriptions.StartPaidService startPaidService(String customerId, String subscriptionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - 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.IOExceptionpublic Reseller.Subscriptions.Suspend suspend(String customerId, String subscriptionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - This can be either the customer's primary domain name or the customer's unique identifier. If the
domain name for a customer changes, the old domain name cannot be used to access the
customer, but the customer's unique identifier (as returned by the API) can always be
used. We recommend storing the unique identifier in your systems where applicable.subscriptionId - 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.IOExceptionCopyright © 2011–2021 Google. All rights reserved.