public final class TextModuleData
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 |
|---|
TextModuleData() |
| Modifier and Type | Method and Description |
|---|---|
TextModuleData |
clone() |
String |
getBody()
The body of the Text Module, which is defined as an uninterrupted string.
|
String |
getHeader()
The header of the Text Module.
|
String |
getId()
The ID associated with a text module.
|
LocalizedString |
getLocalizedBody()
Translated strings for the body.
|
LocalizedString |
getLocalizedHeader()
Translated strings for the header.
|
TextModuleData |
set(String fieldName,
Object value) |
TextModuleData |
setBody(String body)
The body of the Text Module, which is defined as an uninterrupted string.
|
TextModuleData |
setHeader(String header)
The header of the Text Module.
|
TextModuleData |
setId(String id)
The ID associated with a text module.
|
TextModuleData |
setLocalizedBody(LocalizedString localizedBody)
Translated strings for the body.
|
TextModuleData |
setLocalizedHeader(LocalizedString localizedHeader)
Translated strings for the header.
|
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 getBody()
null for nonepublic TextModuleData setBody(String body)
body - body or null for nonepublic String getHeader()
null for nonepublic TextModuleData setHeader(String header)
header - header or null for nonepublic String getId()
null for nonepublic TextModuleData setId(String id)
id - id or null for nonepublic LocalizedString getLocalizedBody()
null for nonepublic TextModuleData setLocalizedBody(LocalizedString localizedBody)
localizedBody - localizedBody or null for nonepublic LocalizedString getLocalizedHeader()
null for nonepublic TextModuleData setLocalizedHeader(LocalizedString localizedHeader)
localizedHeader - localizedHeader or null for nonepublic TextModuleData set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TextModuleData clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.