public final class CanceledStateContext
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 |
---|
CanceledStateContext() |
Modifier and Type | Method and Description |
---|---|
CanceledStateContext |
clone() |
DeveloperInitiatedCancellation |
getDeveloperInitiatedCancellation()
Subscription was canceled by the developer.
|
ReplacementCancellation |
getReplacementCancellation()
Subscription was replaced by a new subscription.
|
SystemInitiatedCancellation |
getSystemInitiatedCancellation()
Subscription was canceled by the system, for example because of a billing problem.
|
UserInitiatedCancellation |
getUserInitiatedCancellation()
Subscription was canceled by user.
|
CanceledStateContext |
set(String fieldName,
Object value) |
CanceledStateContext |
setDeveloperInitiatedCancellation(DeveloperInitiatedCancellation developerInitiatedCancellation)
Subscription was canceled by the developer.
|
CanceledStateContext |
setReplacementCancellation(ReplacementCancellation replacementCancellation)
Subscription was replaced by a new subscription.
|
CanceledStateContext |
setSystemInitiatedCancellation(SystemInitiatedCancellation systemInitiatedCancellation)
Subscription was canceled by the system, for example because of a billing problem.
|
CanceledStateContext |
setUserInitiatedCancellation(UserInitiatedCancellation userInitiatedCancellation)
Subscription was canceled by user.
|
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 DeveloperInitiatedCancellation getDeveloperInitiatedCancellation()
null
for nonepublic CanceledStateContext setDeveloperInitiatedCancellation(DeveloperInitiatedCancellation developerInitiatedCancellation)
developerInitiatedCancellation
- developerInitiatedCancellation or null
for nonepublic ReplacementCancellation getReplacementCancellation()
null
for nonepublic CanceledStateContext setReplacementCancellation(ReplacementCancellation replacementCancellation)
replacementCancellation
- replacementCancellation or null
for nonepublic SystemInitiatedCancellation getSystemInitiatedCancellation()
null
for nonepublic CanceledStateContext setSystemInitiatedCancellation(SystemInitiatedCancellation systemInitiatedCancellation)
systemInitiatedCancellation
- systemInitiatedCancellation or null
for nonepublic UserInitiatedCancellation getUserInitiatedCancellation()
null
for nonepublic CanceledStateContext setUserInitiatedCancellation(UserInitiatedCancellation userInitiatedCancellation)
userInitiatedCancellation
- userInitiatedCancellation or null
for nonepublic CanceledStateContext set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CanceledStateContext clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.