|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.androidpublisher.model.SubscriptionPurchase
public final class SubscriptionPurchase
A Purchase resource indicates the status of a user's subscription purchase.
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: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
SubscriptionPurchase()
|
|
| Method Summary | |
|---|---|
Boolean |
getAutoRenewing()
Whether the subscription will automatically be renewed when it reaches its current expiry time. |
Long |
getInitiationTimestampMsec()
Time at which the subscription was granted, in milliseconds since Epoch. |
String |
getKind()
This kind represents a subscriptionPurchase object in the androidpublisher service. |
Long |
getValidUntilTimestampMsec()
Time at which the subscription will expire, in milliseconds since Epoch. |
SubscriptionPurchase |
setAutoRenewing(Boolean autoRenewing)
Whether the subscription will automatically be renewed when it reaches its current expiry time. |
SubscriptionPurchase |
setInitiationTimestampMsec(Long initiationTimestampMsec)
Time at which the subscription was granted, in milliseconds since Epoch. |
SubscriptionPurchase |
setKind(String kind)
This kind represents a subscriptionPurchase object in the androidpublisher service. |
SubscriptionPurchase |
setValidUntilTimestampMsec(Long validUntilTimestampMsec)
Time at which the subscription will expire, in milliseconds since Epoch. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
clone, getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubscriptionPurchase()
| Method Detail |
|---|
public Boolean getAutoRenewing()
null.
public SubscriptionPurchase setAutoRenewing(Boolean autoRenewing)
null.
public Long getInitiationTimestampMsec()
null.
public SubscriptionPurchase setInitiationTimestampMsec(Long initiationTimestampMsec)
null.
public String getKind()
null.
public SubscriptionPurchase setKind(String kind)
null.
public Long getValidUntilTimestampMsec()
null.
public SubscriptionPurchase setValidUntilTimestampMsec(Long validUntilTimestampMsec)
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||