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 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.FlagsAbstractMap.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 |
getVoidedQuantity()
The voided quantity as the result of a quantity-based partial refund.
|
Integer |
getVoidedReason()
The reason why the purchase was voided, possible values are: 0.
|
Integer |
getVoidedSource()
The initiator of voided purchase, possible values are: 0.
|
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 |
setVoidedQuantity(Integer voidedQuantity)
The voided quantity as the result of a quantity-based partial refund.
|
VoidedPurchase |
setVoidedReason(Integer voidedReason)
The reason why the purchase was voided, possible values are: 0.
|
VoidedPurchase |
setVoidedSource(Integer voidedSource)
The initiator of voided purchase, possible values are: 0.
|
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, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 getVoidedQuantity()
null for nonepublic VoidedPurchase setVoidedQuantity(Integer voidedQuantity)
voidedQuantity - voidedQuantity 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 com.google.api.client.json.GenericJsonpublic VoidedPurchase clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.