public class AndroidPublisher.Inappproducts.Insert extends AndroidPublisherRequest<InAppProduct>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
AndroidPublisher.Inappproducts.Insert(java.lang.String packageName,
InAppProduct content)
Creates a new in-app product for an app.
|
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; for example, "com.spiffygame".
|
AndroidPublisher.Inappproducts.Insert |
set(java.lang.String parameterName,
java.lang.Object value) |
AndroidPublisher.Inappproducts.Insert |
setAlt(java.lang.String alt)
Data format for the response.
|
AndroidPublisher.Inappproducts.Insert |
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.Insert |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
AndroidPublisher.Inappproducts.Insert |
setKey(java.lang.String key)
API key.
|
AndroidPublisher.Inappproducts.Insert |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
AndroidPublisher.Inappproducts.Insert |
setPackageName(java.lang.String packageName)
Unique identifier for the Android app; for example, "com.spiffygame".
|
AndroidPublisher.Inappproducts.Insert |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AndroidPublisher.Inappproducts.Insert |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
AndroidPublisher.Inappproducts.Insert |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
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
protected AndroidPublisher.Inappproducts.Insert(java.lang.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
- Unique identifier for the Android app; for example, "com.spiffygame".content
- the InAppProduct
public AndroidPublisher.Inappproducts.Insert setAlt(java.lang.String alt)
AndroidPublisherRequest
setAlt
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setFields(java.lang.String fields)
AndroidPublisherRequest
setFields
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setKey(java.lang.String key)
AndroidPublisherRequest
setKey
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setOauthToken(java.lang.String oauthToken)
AndroidPublisherRequest
setOauthToken
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setPrettyPrint(java.lang.Boolean prettyPrint)
AndroidPublisherRequest
setPrettyPrint
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setQuotaUser(java.lang.String quotaUser)
AndroidPublisherRequest
setQuotaUser
in class AndroidPublisherRequest<InAppProduct>
public AndroidPublisher.Inappproducts.Insert setUserIp(java.lang.String userIp)
AndroidPublisherRequest
setUserIp
in class AndroidPublisherRequest<InAppProduct>
public java.lang.String getPackageName()
public AndroidPublisher.Inappproducts.Insert setPackageName(java.lang.String packageName)
public java.lang.Boolean getAutoConvertMissingPrices()
public AndroidPublisher.Inappproducts.Insert setAutoConvertMissingPrices(java.lang.Boolean autoConvertMissingPrices)
public AndroidPublisher.Inappproducts.Insert set(java.lang.String parameterName, java.lang.Object value)
set
in class AndroidPublisherRequest<InAppProduct>