public final class Barcode
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 |
|---|
Barcode() |
| Modifier and Type | Method and Description |
|---|---|
Barcode |
clone() |
String |
getAlternateText()
An optional text that will override the default text that shows under the barcode.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getRenderEncoding()
The render encoding for the barcode.
|
LocalizedString |
getShowCodeText()
Optional text that will be shown when the barcode is hidden behind a click action.
|
String |
getType()
The type of barcode.
|
String |
getValue()
The value encoded in the barcode.
|
Barcode |
set(String fieldName,
Object value) |
Barcode |
setAlternateText(String alternateText)
An optional text that will override the default text that shows under the barcode.
|
Barcode |
setKind(String kind)
Identifies what kind of resource this is.
|
Barcode |
setRenderEncoding(String renderEncoding)
The render encoding for the barcode.
|
Barcode |
setShowCodeText(LocalizedString showCodeText)
Optional text that will be shown when the barcode is hidden behind a click action.
|
Barcode |
setType(String type)
The type of barcode.
|
Barcode |
setValue(String value)
The value encoded in the barcode.
|
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 getAlternateText()
null for nonepublic Barcode setAlternateText(String alternateText)
alternateText - alternateText or null for nonepublic String getKind()
null for nonepublic Barcode setKind(String kind)
kind - kind or null for nonepublic String getRenderEncoding()
null for nonepublic Barcode setRenderEncoding(String renderEncoding)
renderEncoding - renderEncoding or null for nonepublic LocalizedString getShowCodeText()
null for nonepublic Barcode setShowCodeText(LocalizedString showCodeText)
showCodeText - showCodeText or null for nonepublic String getType()
null for nonepublic Barcode setType(String type)
type - type or null for nonepublic String getValue()
null for nonepublic Barcode setValue(String value)
value - value or null for nonepublic Barcode set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Barcode clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.