public class AndroidPublisher.Inappproducts.Insert extends AndroidPublisherRequest<InAppProduct>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Insert(String packageName,
InAppProduct content)
Creates an in-app product (a managed product or a subscription).
|
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()
Package name of the app.
|
AndroidPublisher.Inappproducts.Insert |
set(String parameterName,
Object value) |
AndroidPublisher.Inappproducts.Insert |
set$Xgafv(String $Xgafv)
V1 error format.
|
AndroidPublisher.Inappproducts.Insert |
setAccessToken(String accessToken)
OAuth access token.
|
AndroidPublisher.Inappproducts.Insert |
setAlt(String alt)
Data format for response.
|
AndroidPublisher.Inappproducts.Insert |
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.Insert |
setCallback(String callback)
JSONP
|
AndroidPublisher.Inappproducts.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AndroidPublisher.Inappproducts.Insert |
setKey(String key)
API key.
|
AndroidPublisher.Inappproducts.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidPublisher.Inappproducts.Insert |
setPackageName(String packageName)
Package name of the app.
|
AndroidPublisher.Inappproducts.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidPublisher.Inappproducts.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
AndroidPublisher.Inappproducts.Insert |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
AndroidPublisher.Inappproducts.Insert |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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 Insert(String packageName, 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
- Package name of the app.content
- the InAppProduct
public AndroidPublisher.Inappproducts.Insert set$Xgafv(String $Xgafv)
AndroidPublisherRequest
set$Xgafv
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setAccessToken(String accessToken)
AndroidPublisherRequest
setAccessToken
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setAlt(String alt)
AndroidPublisherRequest
setAlt
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setCallback(String callback)
AndroidPublisherRequest
setCallback
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setFields(String fields)
AndroidPublisherRequest
setFields
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setKey(String key)
AndroidPublisherRequest
setKey
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setOauthToken(String oauthToken)
AndroidPublisherRequest
setOauthToken
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setPrettyPrint(Boolean prettyPrint)
AndroidPublisherRequest
setPrettyPrint
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setQuotaUser(String quotaUser)
AndroidPublisherRequest
setQuotaUser
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setUploadType(String uploadType)
AndroidPublisherRequest
setUploadType
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setUploadProtocol(String uploadProtocol)
AndroidPublisherRequest
setUploadProtocol
in class AndroidPublisherRequest<InAppProduct>
public String getPackageName()
public AndroidPublisher.Inappproducts.Insert setPackageName(String packageName)
public Boolean getAutoConvertMissingPrices()
public AndroidPublisher.Inappproducts.Insert setAutoConvertMissingPrices(Boolean autoConvertMissingPrices)
public AndroidPublisher.Inappproducts.Insert set(String parameterName, Object value)
set
in class AndroidPublisherRequest<InAppProduct>
Copyright © 2011–2025 Google. All rights reserved.