public final class InAppProduct
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play Android Developer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InAppProduct() |
| Modifier and Type | Method and Description |
|---|---|
InAppProduct |
clone() |
String |
getDefaultLanguage()
Default language of the localized data, as defined by BCP-47.
|
Price |
getDefaultPrice()
Default price.
|
String |
getGracePeriod()
Grace period of the subscription, specified in ISO 8601 format.
|
Map<String,InAppProductListing> |
getListings()
List of localized title and description data.
|
ManagedProductTaxAndComplianceSettings |
getManagedProductTaxesAndComplianceSettings()
Details about taxes and legal compliance.
|
String |
getPackageName()
Package name of the parent app.
|
Map<String,Price> |
getPrices()
Prices per buyer region.
|
String |
getPurchaseType()
The type of the product, e.g.
|
String |
getSku()
Stock-keeping-unit (SKU) of the product, unique within an app.
|
String |
getStatus()
The status of the product, e.g.
|
String |
getSubscriptionPeriod()
Subscription period, specified in ISO 8601 format.
|
SubscriptionTaxAndComplianceSettings |
getSubscriptionTaxesAndComplianceSettings()
Details about taxes and legal compliance.
|
String |
getTrialPeriod()
Trial period, specified in ISO 8601 format.
|
InAppProduct |
set(String fieldName,
Object value) |
InAppProduct |
setDefaultLanguage(String defaultLanguage)
Default language of the localized data, as defined by BCP-47.
|
InAppProduct |
setDefaultPrice(Price defaultPrice)
Default price.
|
InAppProduct |
setGracePeriod(String gracePeriod)
Grace period of the subscription, specified in ISO 8601 format.
|
InAppProduct |
setListings(Map<String,InAppProductListing> listings)
List of localized title and description data.
|
InAppProduct |
setManagedProductTaxesAndComplianceSettings(ManagedProductTaxAndComplianceSettings managedProductTaxesAndComplianceSettings)
Details about taxes and legal compliance.
|
InAppProduct |
setPackageName(String packageName)
Package name of the parent app.
|
InAppProduct |
setPrices(Map<String,Price> prices)
Prices per buyer region.
|
InAppProduct |
setPurchaseType(String purchaseType)
The type of the product, e.g.
|
InAppProduct |
setSku(String sku)
Stock-keeping-unit (SKU) of the product, unique within an app.
|
InAppProduct |
setStatus(String status)
The status of the product, e.g.
|
InAppProduct |
setSubscriptionPeriod(String subscriptionPeriod)
Subscription period, specified in ISO 8601 format.
|
InAppProduct |
setSubscriptionTaxesAndComplianceSettings(SubscriptionTaxAndComplianceSettings subscriptionTaxesAndComplianceSettings)
Details about taxes and legal compliance.
|
InAppProduct |
setTrialPeriod(String trialPeriod)
Trial period, specified in ISO 8601 format.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDefaultLanguage()
null for nonepublic InAppProduct setDefaultLanguage(String defaultLanguage)
defaultLanguage - defaultLanguage or null for nonepublic Price getDefaultPrice()
null for nonepublic InAppProduct setDefaultPrice(Price defaultPrice)
defaultPrice - defaultPrice or null for nonepublic String getGracePeriod()
null for nonepublic InAppProduct setGracePeriod(String gracePeriod)
gracePeriod - gracePeriod or null for nonepublic Map<String,InAppProductListing> getListings()
null for nonepublic InAppProduct setListings(Map<String,InAppProductListing> listings)
listings - listings or null for nonepublic ManagedProductTaxAndComplianceSettings getManagedProductTaxesAndComplianceSettings()
null for nonepublic InAppProduct setManagedProductTaxesAndComplianceSettings(ManagedProductTaxAndComplianceSettings managedProductTaxesAndComplianceSettings)
managedProductTaxesAndComplianceSettings - managedProductTaxesAndComplianceSettings or null for nonepublic String getPackageName()
null for nonepublic InAppProduct setPackageName(String packageName)
packageName - packageName or null for nonepublic Map<String,Price> getPrices()
null for nonepublic InAppProduct setPrices(Map<String,Price> prices)
prices - prices or null for nonepublic String getPurchaseType()
null for nonepublic InAppProduct setPurchaseType(String purchaseType)
purchaseType - purchaseType or null for nonepublic String getSku()
null for nonepublic InAppProduct setSku(String sku)
sku - sku or null for nonepublic String getStatus()
null for nonepublic InAppProduct setStatus(String status)
status - status or null for nonepublic String getSubscriptionPeriod()
null for nonepublic InAppProduct setSubscriptionPeriod(String subscriptionPeriod)
subscriptionPeriod - subscriptionPeriod or null for nonepublic SubscriptionTaxAndComplianceSettings getSubscriptionTaxesAndComplianceSettings()
null for nonepublic InAppProduct setSubscriptionTaxesAndComplianceSettings(SubscriptionTaxAndComplianceSettings subscriptionTaxesAndComplianceSettings)
subscriptionTaxesAndComplianceSettings - subscriptionTaxesAndComplianceSettings or null for nonepublic String getTrialPeriod()
null for nonepublic InAppProduct setTrialPeriod(String trialPeriod)
trialPeriod - trialPeriod or null for nonepublic InAppProduct set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic InAppProduct clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.