public final class SubscriptionPurchase
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 Developer API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
SubscriptionPurchase() |
Modifier and Type | Method and Description |
---|---|
SubscriptionPurchase |
clone() |
java.lang.Boolean |
getAutoRenewing()
Whether the subscription will automatically be renewed when it reaches its current expiry time.
|
java.lang.Long |
getInitiationTimestampMsec()
Time at which the subscription was granted, in milliseconds since the Epoch.
|
java.lang.String |
getKind()
This kind represents a subscriptionPurchase object in the androidpublisher service.
|
java.lang.Long |
getValidUntilTimestampMsec()
Time at which the subscription will expire, in milliseconds since the Epoch.
|
SubscriptionPurchase |
set(java.lang.String fieldName,
java.lang.Object value) |
SubscriptionPurchase |
setAutoRenewing(java.lang.Boolean autoRenewing)
Whether the subscription will automatically be renewed when it reaches its current expiry time.
|
SubscriptionPurchase |
setInitiationTimestampMsec(java.lang.Long initiationTimestampMsec)
Time at which the subscription was granted, in milliseconds since the Epoch.
|
SubscriptionPurchase |
setKind(java.lang.String kind)
This kind represents a subscriptionPurchase object in the androidpublisher service.
|
SubscriptionPurchase |
setValidUntilTimestampMsec(java.lang.Long validUntilTimestampMsec)
Time at which the subscription will expire, in milliseconds since the Epoch.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getAutoRenewing()
null
for nonepublic SubscriptionPurchase setAutoRenewing(java.lang.Boolean autoRenewing)
autoRenewing
- autoRenewing or null
for nonepublic java.lang.Long getInitiationTimestampMsec()
null
for nonepublic SubscriptionPurchase setInitiationTimestampMsec(java.lang.Long initiationTimestampMsec)
initiationTimestampMsec
- initiationTimestampMsec or null
for nonepublic java.lang.String getKind()
null
for nonepublic SubscriptionPurchase setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.Long getValidUntilTimestampMsec()
null
for nonepublic SubscriptionPurchase setValidUntilTimestampMsec(java.lang.Long validUntilTimestampMsec)
validUntilTimestampMsec
- validUntilTimestampMsec or null
for nonepublic SubscriptionPurchase set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SubscriptionPurchase clone()
clone
in class com.google.api.client.json.GenericJson