public final class SubscriptionPurchaseLineItem
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 |
---|
SubscriptionPurchaseLineItem() |
Modifier and Type | Method and Description |
---|---|
SubscriptionPurchaseLineItem |
clone() |
AutoRenewingPlan |
getAutoRenewingPlan()
The item is auto renewing.
|
DeferredItemReplacement |
getDeferredItemReplacement()
Information for deferred item replacement.
|
String |
getExpiryTime()
Time at which the subscription expired or will expire unless the access is extended (ex.
|
OfferDetails |
getOfferDetails()
The offer details for this item.
|
PrepaidPlan |
getPrepaidPlan()
The item is prepaid.
|
String |
getProductId()
The purchased product ID (for example, 'monthly001').
|
SubscriptionPurchaseLineItem |
set(String fieldName,
Object value) |
SubscriptionPurchaseLineItem |
setAutoRenewingPlan(AutoRenewingPlan autoRenewingPlan)
The item is auto renewing.
|
SubscriptionPurchaseLineItem |
setDeferredItemReplacement(DeferredItemReplacement deferredItemReplacement)
Information for deferred item replacement.
|
SubscriptionPurchaseLineItem |
setExpiryTime(String expiryTime)
Time at which the subscription expired or will expire unless the access is extended (ex.
|
SubscriptionPurchaseLineItem |
setOfferDetails(OfferDetails offerDetails)
The offer details for this item.
|
SubscriptionPurchaseLineItem |
setPrepaidPlan(PrepaidPlan prepaidPlan)
The item is prepaid.
|
SubscriptionPurchaseLineItem |
setProductId(String productId)
The purchased product ID (for example, 'monthly001').
|
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 AutoRenewingPlan getAutoRenewingPlan()
null
for nonepublic SubscriptionPurchaseLineItem setAutoRenewingPlan(AutoRenewingPlan autoRenewingPlan)
autoRenewingPlan
- autoRenewingPlan or null
for nonepublic DeferredItemReplacement getDeferredItemReplacement()
null
for nonepublic SubscriptionPurchaseLineItem setDeferredItemReplacement(DeferredItemReplacement deferredItemReplacement)
deferredItemReplacement
- deferredItemReplacement or null
for nonepublic String getExpiryTime()
null
for nonepublic SubscriptionPurchaseLineItem setExpiryTime(String expiryTime)
expiryTime
- expiryTime or null
for nonepublic OfferDetails getOfferDetails()
null
for nonepublic SubscriptionPurchaseLineItem setOfferDetails(OfferDetails offerDetails)
offerDetails
- offerDetails or null
for nonepublic PrepaidPlan getPrepaidPlan()
null
for nonepublic SubscriptionPurchaseLineItem setPrepaidPlan(PrepaidPlan prepaidPlan)
prepaidPlan
- prepaidPlan or null
for nonepublic String getProductId()
null
for nonepublic SubscriptionPurchaseLineItem setProductId(String productId)
productId
- productId or null
for nonepublic SubscriptionPurchaseLineItem set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SubscriptionPurchaseLineItem clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.