public final class TicketCost
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 |
|---|
TicketCost() |
| Modifier and Type | Method and Description |
|---|---|
TicketCost |
clone() |
LocalizedString |
getDiscountMessage()
A message describing any kind of discount that was applied.
|
Money |
getFaceValue()
The face value of the ticket.
|
Money |
getPurchasePrice()
The actual purchase price of the ticket, after tax and/or discounts.
|
TicketCost |
set(String fieldName,
Object value) |
TicketCost |
setDiscountMessage(LocalizedString discountMessage)
A message describing any kind of discount that was applied.
|
TicketCost |
setFaceValue(Money faceValue)
The face value of the ticket.
|
TicketCost |
setPurchasePrice(Money purchasePrice)
The actual purchase price of the ticket, after tax and/or discounts.
|
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 LocalizedString getDiscountMessage()
null for nonepublic TicketCost setDiscountMessage(LocalizedString discountMessage)
discountMessage - discountMessage or null for nonepublic Money getFaceValue()
null for nonepublic TicketCost setFaceValue(Money faceValue)
faceValue - faceValue or null for nonepublic Money getPurchasePrice()
null for nonepublic TicketCost setPurchasePrice(Money purchasePrice)
purchasePrice - purchasePrice or null for nonepublic TicketCost set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TicketCost clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.