public final class VoidedPurchase 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: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
VoidedPurchase() |
Modifier and Type | Method and Description |
---|---|
VoidedPurchase |
clone() |
String |
getKind()
This kind represents a voided purchase object in the androidpublisher service.
|
Long |
getPurchaseTimeMillis()
The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
|
String |
getPurchaseToken()
The token that was generated when a purchase was made.
|
Long |
getVoidedTimeMillis()
The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the
epoch (Jan 1, 1970).
|
VoidedPurchase |
set(String fieldName,
Object value) |
VoidedPurchase |
setKind(String kind)
This kind represents a voided purchase object in the androidpublisher service.
|
VoidedPurchase |
setPurchaseTimeMillis(Long purchaseTimeMillis)
The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
|
VoidedPurchase |
setPurchaseToken(String purchaseToken)
The token that was generated when a purchase was made.
|
VoidedPurchase |
setVoidedTimeMillis(Long voidedTimeMillis)
The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the
epoch (Jan 1, 1970).
|
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 String getKind()
null
for nonepublic VoidedPurchase setKind(String kind)
kind
- kind or null
for nonepublic Long getPurchaseTimeMillis()
null
for nonepublic VoidedPurchase setPurchaseTimeMillis(Long purchaseTimeMillis)
purchaseTimeMillis
- purchaseTimeMillis or null
for nonepublic String getPurchaseToken()
null
for nonepublic VoidedPurchase setPurchaseToken(String purchaseToken)
purchaseToken
- purchaseToken or null
for nonepublic Long getVoidedTimeMillis()
null
for nonepublic VoidedPurchase setVoidedTimeMillis(Long voidedTimeMillis)
voidedTimeMillis
- voidedTimeMillis or null
for nonepublic VoidedPurchase set(String fieldName, Object value)
set
in class GenericJson
public VoidedPurchase clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.