public class AndroidPublisher.Purchases.Products.Acknowledge extends AndroidPublisherRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Acknowledge(String packageName,
String productId,
String token,
ProductPurchasesAcknowledgeRequest content)
Acknowledges a purchase of an inapp item.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPackageName()
The package name of the application the inapp product was sold in (for example, 'com.some.thing').
|
String |
getProductId()
The inapp product SKU (for example, 'com.some.thing.inapp1').
|
String |
getToken()
The token provided to the user's device when the subscription was purchased.
|
AndroidPublisher.Purchases.Products.Acknowledge |
set(String parameterName,
Object value) |
AndroidPublisher.Purchases.Products.Acknowledge |
setAlt(String alt)
Data format for the response.
|
AndroidPublisher.Purchases.Products.Acknowledge |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidPublisher.Purchases.Products.Acknowledge |
setKey(String key)
API key.
|
AndroidPublisher.Purchases.Products.Acknowledge |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidPublisher.Purchases.Products.Acknowledge |
setPackageName(String packageName)
The package name of the application the inapp product was sold in (for example,
'com.some.thing').
|
AndroidPublisher.Purchases.Products.Acknowledge |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidPublisher.Purchases.Products.Acknowledge |
setProductId(String productId)
The inapp product SKU (for example, 'com.some.thing.inapp1').
|
AndroidPublisher.Purchases.Products.Acknowledge |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidPublisher.Purchases.Products.Acknowledge |
setToken(String token)
The token provided to the user's device when the subscription was purchased.
|
AndroidPublisher.Purchases.Products.Acknowledge |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, 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 Acknowledge(String packageName, String productId, String token, ProductPurchasesAcknowledgeRequest 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 the inapp product was sold in (for example, 'com.some.thing').productId - The inapp product SKU (for example, 'com.some.thing.inapp1').token - The token provided to the user's device when the subscription was purchased.content - the ProductPurchasesAcknowledgeRequestpublic AndroidPublisher.Purchases.Products.Acknowledge setAlt(String alt)
AndroidPublisherRequestsetAlt in class AndroidPublisherRequest<Void>public AndroidPublisher.Purchases.Products.Acknowledge setFields(String fields)
AndroidPublisherRequestsetFields in class AndroidPublisherRequest<Void>public AndroidPublisher.Purchases.Products.Acknowledge setKey(String key)
AndroidPublisherRequestsetKey in class AndroidPublisherRequest<Void>public AndroidPublisher.Purchases.Products.Acknowledge setOauthToken(String oauthToken)
AndroidPublisherRequestsetOauthToken in class AndroidPublisherRequest<Void>public AndroidPublisher.Purchases.Products.Acknowledge setPrettyPrint(Boolean prettyPrint)
AndroidPublisherRequestsetPrettyPrint in class AndroidPublisherRequest<Void>public AndroidPublisher.Purchases.Products.Acknowledge setQuotaUser(String quotaUser)
AndroidPublisherRequestsetQuotaUser in class AndroidPublisherRequest<Void>public AndroidPublisher.Purchases.Products.Acknowledge setUserIp(String userIp)
AndroidPublisherRequestsetUserIp in class AndroidPublisherRequest<Void>public String getPackageName()
public AndroidPublisher.Purchases.Products.Acknowledge setPackageName(String packageName)
public String getProductId()
public AndroidPublisher.Purchases.Products.Acknowledge setProductId(String productId)
public String getToken()
public AndroidPublisher.Purchases.Products.Acknowledge setToken(String token)
public AndroidPublisher.Purchases.Products.Acknowledge set(String parameterName, Object value)
set in class AndroidPublisherRequest<Void>Copyright © 2011–2019 Google. All rights reserved.