public class Reseller.Subscriptions.StartPaidService extends ResellerRequest<Subscription>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
StartPaidService(String customerId,
String subscriptionId)
Immediately move a 30-day free trial subscription to a paid service subscription.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomerId()
This can be either the customer's primary domain name or the customer's unique identifier.
|
String |
getSubscriptionId()
This is a required property.
|
Reseller.Subscriptions.StartPaidService |
set(String parameterName,
Object value) |
Reseller.Subscriptions.StartPaidService |
set$Xgafv(String $Xgafv)
V1 error format.
|
Reseller.Subscriptions.StartPaidService |
setAccessToken(String accessToken)
OAuth access token.
|
Reseller.Subscriptions.StartPaidService |
setAlt(String alt)
Data format for response.
|
Reseller.Subscriptions.StartPaidService |
setCallback(String callback)
JSONP
|
Reseller.Subscriptions.StartPaidService |
setCustomerId(String customerId)
This can be either the customer's primary domain name or the customer's unique identifier.
|
Reseller.Subscriptions.StartPaidService |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Reseller.Subscriptions.StartPaidService |
setKey(String key)
API key.
|
Reseller.Subscriptions.StartPaidService |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Reseller.Subscriptions.StartPaidService |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Reseller.Subscriptions.StartPaidService |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Reseller.Subscriptions.StartPaidService |
setSubscriptionId(String subscriptionId)
This is a required property.
|
Reseller.Subscriptions.StartPaidService |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Reseller.Subscriptions.StartPaidService |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected StartPaidService(String customerId, String subscriptionId)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. StartPaidService#initialize(com.google.api.client.googleapis.services.Abs
tractGoogleClientRequest) must be called to initialize this instance immediately after
invoking the constructor.
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.public Reseller.Subscriptions.StartPaidService set$Xgafv(String $Xgafv)
ResellerRequestset$Xgafv in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setAccessToken(String accessToken)
ResellerRequestsetAccessToken in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setAlt(String alt)
ResellerRequestsetAlt in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setCallback(String callback)
ResellerRequestsetCallback in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setFields(String fields)
ResellerRequestsetFields in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setKey(String key)
ResellerRequestsetKey in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setOauthToken(String oauthToken)
ResellerRequestsetOauthToken in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setPrettyPrint(Boolean prettyPrint)
ResellerRequestsetPrettyPrint in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setQuotaUser(String quotaUser)
ResellerRequestsetQuotaUser in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setUploadType(String uploadType)
ResellerRequestsetUploadType in class ResellerRequest<Subscription>public Reseller.Subscriptions.StartPaidService setUploadProtocol(String uploadProtocol)
ResellerRequestsetUploadProtocol in class ResellerRequest<Subscription>public String getCustomerId()
public Reseller.Subscriptions.StartPaidService setCustomerId(String customerId)
public String getSubscriptionId()
public Reseller.Subscriptions.StartPaidService setSubscriptionId(String subscriptionId)
public Reseller.Subscriptions.StartPaidService set(String parameterName, Object value)
set in class ResellerRequest<Subscription>Copyright © 2011–2021 Google. All rights reserved.