public final class SubscriptionDeferralInfo 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 Developer API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SubscriptionDeferralInfo() |
Modifier and Type | Method and Description |
---|---|
SubscriptionDeferralInfo |
clone() |
Long |
getDesiredExpiryTimeMillis()
The desired next expiry time to assign to the subscription, in milliseconds since the Epoch.
|
Long |
getExpectedExpiryTimeMillis()
The expected expiry time for the subscription.
|
SubscriptionDeferralInfo |
set(String fieldName,
Object value) |
SubscriptionDeferralInfo |
setDesiredExpiryTimeMillis(Long desiredExpiryTimeMillis)
The desired next expiry time to assign to the subscription, in milliseconds since the Epoch.
|
SubscriptionDeferralInfo |
setExpectedExpiryTimeMillis(Long expectedExpiryTimeMillis)
The expected expiry time for the subscription.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getDesiredExpiryTimeMillis()
null
for nonepublic SubscriptionDeferralInfo setDesiredExpiryTimeMillis(Long desiredExpiryTimeMillis)
desiredExpiryTimeMillis
- desiredExpiryTimeMillis or null
for nonepublic Long getExpectedExpiryTimeMillis()
null
for nonepublic SubscriptionDeferralInfo setExpectedExpiryTimeMillis(Long expectedExpiryTimeMillis)
expectedExpiryTimeMillis
- expectedExpiryTimeMillis or null
for nonepublic SubscriptionDeferralInfo set(String fieldName, Object value)
set
in class GenericJson
public SubscriptionDeferralInfo clone()
clone
in class GenericJson