public final class AutoRenewingPlan
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AutoRenewingPlan() |
Modifier and Type | Method and Description |
---|---|
AutoRenewingPlan |
clone() |
Boolean |
getAutoRenewEnabled()
If the subscription is currently set to auto-renew, e.g.
|
InstallmentPlan |
getInstallmentDetails()
The installment plan commitment and state related info for the auto renewing plan.
|
SubscriptionItemPriceChangeDetails |
getPriceChangeDetails()
The information of the last price change for the item since subscription signup.
|
AutoRenewingPlan |
set(String fieldName,
Object value) |
AutoRenewingPlan |
setAutoRenewEnabled(Boolean autoRenewEnabled)
If the subscription is currently set to auto-renew, e.g.
|
AutoRenewingPlan |
setInstallmentDetails(InstallmentPlan installmentDetails)
The installment plan commitment and state related info for the auto renewing plan.
|
AutoRenewingPlan |
setPriceChangeDetails(SubscriptionItemPriceChangeDetails priceChangeDetails)
The information of the last price change for the item since subscription signup.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
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
public Boolean getAutoRenewEnabled()
null
for nonepublic AutoRenewingPlan setAutoRenewEnabled(Boolean autoRenewEnabled)
autoRenewEnabled
- autoRenewEnabled or null
for nonepublic InstallmentPlan getInstallmentDetails()
null
for nonepublic AutoRenewingPlan setInstallmentDetails(InstallmentPlan installmentDetails)
installmentDetails
- installmentDetails or null
for nonepublic SubscriptionItemPriceChangeDetails getPriceChangeDetails()
null
for nonepublic AutoRenewingPlan setPriceChangeDetails(SubscriptionItemPriceChangeDetails priceChangeDetails)
priceChangeDetails
- priceChangeDetails or null
for nonepublic AutoRenewingPlan set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AutoRenewingPlan clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.