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.String |
getOrderId()
The order id which uniquely identifies a one-time purchase, subscription purchase, or
subscription renewal.
|
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 which uniquely identifies a one-time purchase or subscription.
|
java.lang.Integer |
getVoidedReason()
The reason why the purchase was voided, possible values are: - Other - Remorse - Not_received
- Defective - Accidental_purchase - Fraud - Friendly_fraud - Chargeback
|
java.lang.Integer |
getVoidedSource()
The initiator of voided purchase, possible values are: - User - Developer - Google
|
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 |
setOrderId(java.lang.String orderId)
The order id which uniquely identifies a one-time purchase, subscription purchase, or
subscription renewal.
|
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 which uniquely identifies a one-time purchase or subscription.
|
VoidedPurchase |
setVoidedReason(java.lang.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(java.lang.Integer voidedSource)
The initiator of voided purchase, possible values are: - User - Developer - Google
|
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.String getOrderId()
null
for nonepublic VoidedPurchase setOrderId(java.lang.String orderId)
orderId
- orderId 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.Integer getVoidedReason()
null
for nonepublic VoidedPurchase setVoidedReason(java.lang.Integer voidedReason)
voidedReason
- voidedReason or null
for nonepublic java.lang.Integer getVoidedSource()
null
for nonepublic VoidedPurchase setVoidedSource(java.lang.Integer voidedSource)
voidedSource
- voidedSource 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