public class AndroidPublisher.Inappproducts.Update extends AndroidPublisherRequest<InAppProduct>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Update(java.lang.String packageName,
java.lang.String sku,
InAppProduct content)
Updates the details of an in-app product.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
java.lang.String |
getPackageName()
Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
|
java.lang.String |
getSku()
Unique identifier for the in-app product.
|
AndroidPublisher.Inappproducts.Update |
set(java.lang.String parameterName,
java.lang.Object value) |
AndroidPublisher.Inappproducts.Update |
setAlt(java.lang.String alt)
Data format for the response.
|
AndroidPublisher.Inappproducts.Update |
setAutoConvertMissingPrices(java.lang.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.Update |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
AndroidPublisher.Inappproducts.Update |
setKey(java.lang.String key)
API key.
|
AndroidPublisher.Inappproducts.Update |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidPublisher.Inappproducts.Update |
setPackageName(java.lang.String packageName)
Unique identifier for the Android app with the in-app product; for example,
"com.spiffygame".
|
AndroidPublisher.Inappproducts.Update |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidPublisher.Inappproducts.Update |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
AndroidPublisher.Inappproducts.Update |
setSku(java.lang.String sku)
Unique identifier for the in-app product.
|
AndroidPublisher.Inappproducts.Update |
setUserIp(java.lang.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
protected Update(java.lang.String packageName, java.lang.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.Update setAlt(java.lang.String alt)
AndroidPublisherRequest
setAlt
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setFields(java.lang.String fields)
AndroidPublisherRequest
setFields
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setKey(java.lang.String key)
AndroidPublisherRequest
setKey
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setOauthToken(java.lang.String oauthToken)
AndroidPublisherRequest
setOauthToken
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setPrettyPrint(java.lang.Boolean prettyPrint)
AndroidPublisherRequest
setPrettyPrint
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setQuotaUser(java.lang.String quotaUser)
AndroidPublisherRequest
setQuotaUser
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Update setUserIp(java.lang.String userIp)
AndroidPublisherRequest
setUserIp
in class AndroidPublisherRequest<InAppProduct>
public java.lang.String getPackageName()
public AndroidPublisher.Inappproducts.Update setPackageName(java.lang.String packageName)
public java.lang.String getSku()
public AndroidPublisher.Inappproducts.Update setSku(java.lang.String sku)
public java.lang.Boolean getAutoConvertMissingPrices()
public AndroidPublisher.Inappproducts.Update setAutoConvertMissingPrices(java.lang.Boolean autoConvertMissingPrices)
public AndroidPublisher.Inappproducts.Update set(java.lang.String parameterName, java.lang.Object value)
set
in class AndroidPublisherRequest<InAppProduct>