public final class VoidedPurchase
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
VoidedPurchase() |
Modifier and Type | Method and Description |
---|---|
VoidedPurchase |
clone() |
java.lang.String |
getKind()
This kind represents a voided purchase object in the androidpublisher service.
|
java.lang.Long |
getPurchaseTimeMillis()
The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
|
java.lang.String |
getPurchaseToken()
The token that was generated when a purchase was made.
|
java.lang.Long |
getVoidedTimeMillis()
The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the
epoch (Jan 1, 1970).
|
VoidedPurchase |
set(java.lang.String fieldName,
java.lang.Object value) |
VoidedPurchase |
setKind(java.lang.String kind)
This kind represents a voided purchase object in the androidpublisher service.
|
VoidedPurchase |
setPurchaseTimeMillis(java.lang.Long purchaseTimeMillis)
The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
|
VoidedPurchase |
setPurchaseToken(java.lang.String purchaseToken)
The token that was generated when a purchase was made.
|
VoidedPurchase |
setVoidedTimeMillis(java.lang.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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getKind()
null
for nonepublic VoidedPurchase setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.Long getPurchaseTimeMillis()
null
for nonepublic VoidedPurchase setPurchaseTimeMillis(java.lang.Long purchaseTimeMillis)
purchaseTimeMillis
- purchaseTimeMillis or null
for nonepublic java.lang.String getPurchaseToken()
null
for nonepublic VoidedPurchase setPurchaseToken(java.lang.String purchaseToken)
purchaseToken
- purchaseToken or null
for nonepublic java.lang.Long getVoidedTimeMillis()
null
for nonepublic VoidedPurchase setVoidedTimeMillis(java.lang.Long voidedTimeMillis)
voidedTimeMillis
- voidedTimeMillis or null
for nonepublic VoidedPurchase set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VoidedPurchase clone()
clone
in class com.google.api.client.json.GenericJson