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.
|
DeferredItemRemoval |
getDeferredItemRemoval()
Information for deferred item removal.
|
DeferredItemReplacement |
getDeferredItemReplacement()
Information for deferred item replacement.
|
String |
getExpiryTime()
Time at which the subscription expired or will expire unless the access is extended (ex.
|
String |
getLatestSuccessfulOrderId()
The order id of the latest successful order associated with this item.
|
OfferDetails |
getOfferDetails()
The offer details for this item.
|
PrepaidPlan |
getPrepaidPlan()
The item is prepaid.
|
String |
getProductId()
The purchased product ID (for example, 'monthly001').
|
SignupPromotion |
getSignupPromotion()
Promotion details about this item.
|
SubscriptionPurchaseLineItem |
set(String fieldName,
Object value) |
SubscriptionPurchaseLineItem |
setAutoRenewingPlan(AutoRenewingPlan autoRenewingPlan)
The item is auto renewing.
|
SubscriptionPurchaseLineItem |
setDeferredItemRemoval(DeferredItemRemoval deferredItemRemoval)
Information for deferred item removal.
|
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 |
setLatestSuccessfulOrderId(String latestSuccessfulOrderId)
The order id of the latest successful order associated with this item.
|
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').
|
SubscriptionPurchaseLineItem |
setSignupPromotion(SignupPromotion signupPromotion)
Promotion details about this item.
|
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 DeferredItemRemoval getDeferredItemRemoval()
null
for nonepublic SubscriptionPurchaseLineItem setDeferredItemRemoval(DeferredItemRemoval deferredItemRemoval)
deferredItemRemoval
- deferredItemRemoval 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 String getLatestSuccessfulOrderId()
null
for nonepublic SubscriptionPurchaseLineItem setLatestSuccessfulOrderId(String latestSuccessfulOrderId)
latestSuccessfulOrderId
- latestSuccessfulOrderId 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 SignupPromotion getSignupPromotion()
null
for nonepublic SubscriptionPurchaseLineItem setSignupPromotion(SignupPromotion signupPromotion)
signupPromotion
- signupPromotion 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–2025 Google. All rights reserved.