public class AndroidPublisher.Inappproducts.Patch extends AndroidPublisherRequest<InAppProduct>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Patch(String packageName,
String sku,
InAppProduct content)
Updates the details of an in-app product.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoConvertMissingPrices()
If true the prices for all regions targeted by the parent app that don't have a price specified for
this in-app product will be auto converted to the target currency based on the default price.
|
String |
getPackageName()
Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
|
String |
getSku()
Unique identifier for the in-app product.
|
AndroidPublisher.Inappproducts.Patch |
set(String parameterName,
Object value) |
AndroidPublisher.Inappproducts.Patch |
setAlt(String alt)
Data format for the response.
|
AndroidPublisher.Inappproducts.Patch |
setAutoConvertMissingPrices(Boolean autoConvertMissingPrices)
If true the prices for all regions targeted by the parent app that don't have a price
specified for this in-app product will be auto converted to the target currency based on
the default price.
|
AndroidPublisher.Inappproducts.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidPublisher.Inappproducts.Patch |
setKey(String key)
API key.
|
AndroidPublisher.Inappproducts.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidPublisher.Inappproducts.Patch |
setPackageName(String packageName)
Unique identifier for the Android app with the in-app product; for example,
"com.spiffygame".
|
AndroidPublisher.Inappproducts.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidPublisher.Inappproducts.Patch |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidPublisher.Inappproducts.Patch |
setSku(String sku)
Unique identifier for the in-app product.
|
AndroidPublisher.Inappproducts.Patch |
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Patch(String packageName, String sku, InAppProduct 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
- Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".sku
- Unique identifier for the in-app product.content
- the InAppProduct
public AndroidPublisher.Inappproducts.Patch setAlt(String alt)
AndroidPublisherRequest
setAlt
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Patch setFields(String fields)
AndroidPublisherRequest
setFields
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Patch setKey(String key)
AndroidPublisherRequest
setKey
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Patch setOauthToken(String oauthToken)
AndroidPublisherRequest
setOauthToken
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Patch setPrettyPrint(Boolean prettyPrint)
AndroidPublisherRequest
setPrettyPrint
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Patch setQuotaUser(String quotaUser)
AndroidPublisherRequest
setQuotaUser
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Patch setUserIp(String userIp)
AndroidPublisherRequest
setUserIp
in class AndroidPublisherRequest<InAppProduct>
public String getPackageName()
public AndroidPublisher.Inappproducts.Patch setPackageName(String packageName)
public String getSku()
public AndroidPublisher.Inappproducts.Patch setSku(String sku)
public Boolean getAutoConvertMissingPrices()
public AndroidPublisher.Inappproducts.Patch setAutoConvertMissingPrices(Boolean autoConvertMissingPrices)
public AndroidPublisher.Inappproducts.Patch set(String parameterName, Object value)
set
in class AndroidPublisherRequest<InAppProduct>
Copyright © 2011–2020 Google. All rights reserved.