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.
|
String |
getOrderId()
The order id which uniquely identifies a one-time purchase, subscription purchase, or
subscription renewal.
|
Long |
getPurchaseTimeMillis()
The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).
|
String |
getPurchaseToken()
The token which uniquely identifies a one-time purchase or subscription.
|
Integer |
getVoidedReason()
The reason why the purchase was voided, possible values are: - Other - Remorse - Not_received
- Defective - Accidental_purchase - Fraud - Friendly_fraud - Chargeback
|
Integer |
getVoidedSource()
The initiator of voided purchase, possible values are: - User - Developer - Google
|
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 |
setOrderId(String orderId)
The order id which uniquely identifies a one-time purchase, subscription purchase, or
subscription renewal.
|
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 which uniquely identifies a one-time purchase or subscription.
|
VoidedPurchase |
setVoidedReason(Integer voidedReason)
The reason why the purchase was voided, possible values are: - Other - Remorse - Not_received
- Defective - Accidental_purchase - Fraud - Friendly_fraud - Chargeback
|
VoidedPurchase |
setVoidedSource(Integer voidedSource)
The initiator of voided purchase, possible values are: - User - Developer - Google
|
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 String getOrderId()
null
for nonepublic VoidedPurchase setOrderId(String orderId)
orderId
- orderId 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 Integer getVoidedReason()
null
for nonepublic VoidedPurchase setVoidedReason(Integer voidedReason)
voidedReason
- voidedReason or null
for nonepublic Integer getVoidedSource()
null
for nonepublic VoidedPurchase setVoidedSource(Integer voidedSource)
voidedSource
- voidedSource 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–2020 Google. All rights reserved.