|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
com.google.api.services.androidpublisher.AndroidpublisherRequest<Void>
com.google.api.services.androidpublisher.Androidpublisher.Purchases.Cancel
public class Androidpublisher.Purchases.Cancel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
protected |
Androidpublisher.Purchases.Cancel(String packageName,
String subscriptionId,
String token)
Cancels a user's subscription purchase. |
| Method Summary | |
|---|---|
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.Cancel |
setAlt(String alt)
Data format for the response. |
Androidpublisher.Purchases.Cancel |
setFields(String fields)
Selector specifying which fields to include in a partial response. |
Androidpublisher.Purchases.Cancel |
setKey(String key)
API key. |
Androidpublisher.Purchases.Cancel |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user. |
Androidpublisher.Purchases.Cancel |
setPackageName(String packageName)
The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). |
Androidpublisher.Purchases.Cancel |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks. |
Androidpublisher.Purchases.Cancel |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications. |
Androidpublisher.Purchases.Cancel |
setSubscriptionId(String subscriptionId)
The purchased subscription ID (for example, 'monthly001'). |
Androidpublisher.Purchases.Cancel |
setToken(String token)
The token provided to the user's device when the subscription was purchased. |
Androidpublisher.Purchases.Cancel |
setUserIp(String userIp)
IP address of the site where the request originates. |
| Methods inherited from class com.google.api.services.androidpublisher.AndroidpublisherRequest |
|---|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders |
| Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest |
|---|
getJsonContent, newExceptionOnError, queue |
| Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest |
|---|
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Androidpublisher.Purchases.Cancel(String packageName,
String subscriptionId,
String token)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Androidpublisher.initialize(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.| Method Detail |
|---|
public Androidpublisher.Purchases.Cancel setAlt(String alt)
AndroidpublisherRequest
setAlt in class AndroidpublisherRequest<Void>public Androidpublisher.Purchases.Cancel setFields(String fields)
AndroidpublisherRequest
setFields in class AndroidpublisherRequest<Void>public Androidpublisher.Purchases.Cancel setKey(String key)
AndroidpublisherRequest
setKey in class AndroidpublisherRequest<Void>public Androidpublisher.Purchases.Cancel setOauthToken(String oauthToken)
AndroidpublisherRequest
setOauthToken in class AndroidpublisherRequest<Void>public Androidpublisher.Purchases.Cancel setPrettyPrint(Boolean prettyPrint)
AndroidpublisherRequest
setPrettyPrint in class AndroidpublisherRequest<Void>public Androidpublisher.Purchases.Cancel setQuotaUser(String quotaUser)
AndroidpublisherRequest
setQuotaUser in class AndroidpublisherRequest<Void>public Androidpublisher.Purchases.Cancel setUserIp(String userIp)
AndroidpublisherRequest
setUserIp in class AndroidpublisherRequest<Void>public String getPackageName()
public Androidpublisher.Purchases.Cancel setPackageName(String packageName)
public String getSubscriptionId()
public Androidpublisher.Purchases.Cancel setSubscriptionId(String subscriptionId)
public String getToken()
public Androidpublisher.Purchases.Cancel setToken(String token)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||