public class AndroidPublisher.Purchases.Subscriptions.Defer extends AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Defer(String packageName,
String subscriptionId,
String token,
SubscriptionPurchasesDeferRequest content)
Defers a user's subscription purchase until a specified future expiration time.
|
Modifier and Type | Method and Description |
---|---|
String |
getPackageName()
The package name of the application for which this subscription was purchased (for example,
'com.some.thing').
|
String |
getSubscriptionId()
The purchased subscription ID (for example, 'monthly001').
|
String |
getToken()
The token provided to the user's device when the subscription was purchased.
|
AndroidPublisher.Purchases.Subscriptions.Defer |
set(String parameterName,
Object value) |
AndroidPublisher.Purchases.Subscriptions.Defer |
setAlt(String alt)
Data format for the response.
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setKey(String key)
API key.
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setPackageName(String packageName)
The package name of the application for which this subscription was purchased (for
example, 'com.some.thing').
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setSubscriptionId(String subscriptionId)
The purchased subscription ID (for example, 'monthly001').
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setToken(String token)
The token provided to the user's device when the subscription was purchased.
|
AndroidPublisher.Purchases.Subscriptions.Defer |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Defer(String packageName, String subscriptionId, String token, SubscriptionPurchasesDeferRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
AndroidPublisher.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
packageName
- The package name of the application for which this subscription was purchased (for example,
'com.some.thing').subscriptionId
- The purchased subscription ID (for example, 'monthly001').token
- The token provided to the user's device when the subscription was purchased.content
- the SubscriptionPurchasesDeferRequest
public AndroidPublisher.Purchases.Subscriptions.Defer setAlt(String alt)
AndroidPublisherRequest
setAlt
in class AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
public AndroidPublisher.Purchases.Subscriptions.Defer setFields(String fields)
AndroidPublisherRequest
setFields
in class AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
public AndroidPublisher.Purchases.Subscriptions.Defer setKey(String key)
AndroidPublisherRequest
setKey
in class AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
public AndroidPublisher.Purchases.Subscriptions.Defer setOauthToken(String oauthToken)
AndroidPublisherRequest
setOauthToken
in class AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
public AndroidPublisher.Purchases.Subscriptions.Defer setPrettyPrint(Boolean prettyPrint)
AndroidPublisherRequest
setPrettyPrint
in class AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
public AndroidPublisher.Purchases.Subscriptions.Defer setQuotaUser(String quotaUser)
AndroidPublisherRequest
setQuotaUser
in class AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
public AndroidPublisher.Purchases.Subscriptions.Defer setUserIp(String userIp)
AndroidPublisherRequest
setUserIp
in class AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
public String getPackageName()
public AndroidPublisher.Purchases.Subscriptions.Defer setPackageName(String packageName)
public String getSubscriptionId()
public AndroidPublisher.Purchases.Subscriptions.Defer setSubscriptionId(String subscriptionId)
public String getToken()
public AndroidPublisher.Purchases.Subscriptions.Defer setToken(String token)
public AndroidPublisher.Purchases.Subscriptions.Defer set(String parameterName, Object value)
set
in class AndroidPublisherRequest<SubscriptionPurchasesDeferResponse>
Copyright © 2011–2018 Google. All rights reserved.