public final class SubscriptionDetails
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 |
---|
SubscriptionDetails() |
Modifier and Type | Method and Description |
---|---|
SubscriptionDetails |
clone() |
String |
getBasePlanId()
The base plan ID of the subscription.
|
String |
getOfferId()
The offer ID for the current subscription offer.
|
String |
getOfferPhase()
The pricing phase for the billing period funded by this order.
|
String |
getServicePeriodEndTime()
The end of the billing period funded by this order.
|
String |
getServicePeriodStartTime()
The start of the billing period funded by this order.
|
SubscriptionDetails |
set(String fieldName,
Object value) |
SubscriptionDetails |
setBasePlanId(String basePlanId)
The base plan ID of the subscription.
|
SubscriptionDetails |
setOfferId(String offerId)
The offer ID for the current subscription offer.
|
SubscriptionDetails |
setOfferPhase(String offerPhase)
The pricing phase for the billing period funded by this order.
|
SubscriptionDetails |
setServicePeriodEndTime(String servicePeriodEndTime)
The end of the billing period funded by this order.
|
SubscriptionDetails |
setServicePeriodStartTime(String servicePeriodStartTime)
The start of the billing period funded by this order.
|
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 String getBasePlanId()
null
for nonepublic SubscriptionDetails setBasePlanId(String basePlanId)
basePlanId
- basePlanId or null
for nonepublic String getOfferId()
null
for nonepublic SubscriptionDetails setOfferId(String offerId)
offerId
- offerId or null
for nonepublic String getOfferPhase()
null
for nonepublic SubscriptionDetails setOfferPhase(String offerPhase)
offerPhase
- offerPhase or null
for nonepublic String getServicePeriodEndTime()
null
for nonepublic SubscriptionDetails setServicePeriodEndTime(String servicePeriodEndTime)
servicePeriodEndTime
- servicePeriodEndTime or null
for nonepublic String getServicePeriodStartTime()
null
for nonepublic SubscriptionDetails setServicePeriodStartTime(String servicePeriodStartTime)
servicePeriodStartTime
- servicePeriodStartTime or null
for nonepublic SubscriptionDetails set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SubscriptionDetails clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.