public final class Subscription extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Subscription() |
| Modifier and Type | Method and Description |
|---|---|
Subscription |
clone() |
Boolean |
getArchived()
Output only.
|
List<BasePlan> |
getBasePlans()
The set of base plans for this subscription.
|
List<SubscriptionListing> |
getListings()
Required.
|
String |
getPackageName()
Immutable.
|
String |
getProductId()
Immutable.
|
SubscriptionTaxAndComplianceSettings |
getTaxAndComplianceSettings()
Details about taxes and legal compliance.
|
Subscription |
set(String fieldName,
Object value) |
Subscription |
setArchived(Boolean archived)
Output only.
|
Subscription |
setBasePlans(List<BasePlan> basePlans)
The set of base plans for this subscription.
|
Subscription |
setListings(List<SubscriptionListing> listings)
Required.
|
Subscription |
setPackageName(String packageName)
Immutable.
|
Subscription |
setProductId(String productId)
Immutable.
|
Subscription |
setTaxAndComplianceSettings(SubscriptionTaxAndComplianceSettings taxAndComplianceSettings)
Details about taxes and legal compliance.
|
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 Boolean getArchived()
null for nonepublic Subscription setArchived(Boolean archived)
archived - archived or null for nonepublic List<BasePlan> getBasePlans()
null for nonepublic Subscription setBasePlans(List<BasePlan> basePlans)
basePlans - basePlans or null for nonepublic List<SubscriptionListing> getListings()
null for nonepublic Subscription setListings(List<SubscriptionListing> listings)
listings - listings or null for nonepublic String getPackageName()
null for nonepublic Subscription setPackageName(String packageName)
packageName - packageName or null for nonepublic String getProductId()
null for nonepublic Subscription setProductId(String productId)
productId - productId or null for nonepublic SubscriptionTaxAndComplianceSettings getTaxAndComplianceSettings()
null for nonepublic Subscription setTaxAndComplianceSettings(SubscriptionTaxAndComplianceSettings taxAndComplianceSettings)
taxAndComplianceSettings - taxAndComplianceSettings or null for nonepublic Subscription set(String fieldName, Object value)
set in class GenericJsonpublic Subscription clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.