public final class SubscriptionPurchase extends 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: http://code.google.com/p/google-api-java-client/wiki/Json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SubscriptionPurchase() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionPurchase |
clone() |
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 |
set(String fieldName,
Object value) |
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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Boolean getAutoRenewing()
null for nonepublic SubscriptionPurchase setAutoRenewing(Boolean autoRenewing)
autoRenewing - autoRenewing or null for nonepublic Long getInitiationTimestampMsec()
null for nonepublic SubscriptionPurchase setInitiationTimestampMsec(Long initiationTimestampMsec)
initiationTimestampMsec - initiationTimestampMsec or null for nonepublic String getKind()
null for nonepublic SubscriptionPurchase setKind(String kind)
kind - kind or null for nonepublic Long getValidUntilTimestampMsec()
null for nonepublic SubscriptionPurchase setValidUntilTimestampMsec(Long validUntilTimestampMsec)
validUntilTimestampMsec - validUntilTimestampMsec or null for nonepublic SubscriptionPurchase set(String fieldName, Object value)
set in class GenericJsonpublic SubscriptionPurchase clone()
clone in class GenericJson