public final class PurchaseDetails
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 Wallet 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 |
|---|
PurchaseDetails() |
| Modifier and Type | Method and Description |
|---|---|
PurchaseDetails |
clone() |
String |
getAccountId()
ID of the account used to purchase the ticket.
|
String |
getConfirmationCode()
The confirmation code for the purchase.
|
String |
getPurchaseDateTime()
The purchase date/time of the ticket.
|
String |
getPurchaseReceiptNumber()
Receipt number/identifier for tracking the ticket purchase via the body that sold the ticket.
|
TicketCost |
getTicketCost()
The cost of the ticket.
|
PurchaseDetails |
set(String fieldName,
Object value) |
PurchaseDetails |
setAccountId(String accountId)
ID of the account used to purchase the ticket.
|
PurchaseDetails |
setConfirmationCode(String confirmationCode)
The confirmation code for the purchase.
|
PurchaseDetails |
setPurchaseDateTime(String purchaseDateTime)
The purchase date/time of the ticket.
|
PurchaseDetails |
setPurchaseReceiptNumber(String purchaseReceiptNumber)
Receipt number/identifier for tracking the ticket purchase via the body that sold the ticket.
|
PurchaseDetails |
setTicketCost(TicketCost ticketCost)
The cost of the ticket.
|
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 getAccountId()
null for nonepublic PurchaseDetails setAccountId(String accountId)
accountId - accountId or null for nonepublic String getConfirmationCode()
null for nonepublic PurchaseDetails setConfirmationCode(String confirmationCode)
confirmationCode - confirmationCode or null for nonepublic String getPurchaseDateTime()
null for nonepublic PurchaseDetails setPurchaseDateTime(String purchaseDateTime)
purchaseDateTime - purchaseDateTime or null for nonepublic String getPurchaseReceiptNumber()
null for nonepublic PurchaseDetails setPurchaseReceiptNumber(String purchaseReceiptNumber)
purchaseReceiptNumber - purchaseReceiptNumber or null for nonepublic TicketCost getTicketCost()
null for nonepublic PurchaseDetails setTicketCost(TicketCost ticketCost)
ticketCost - ticketCost or null for nonepublic PurchaseDetails set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PurchaseDetails clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.