public final class ValueAddedModuleData
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 |
|---|
ValueAddedModuleData() |
| Modifier and Type | Method and Description |
|---|---|
ValueAddedModuleData |
clone() |
LocalizedString |
getBody()
Body to be displayed on the module.
|
LocalizedString |
getHeader()
Header to be displayed on the module.
|
Image |
getImage()
Image to be displayed on the module.
|
Integer |
getSortIndex()
The index for sorting the modules.
|
String |
getUri()
URI that the module leads to on click.
|
ModuleViewConstraints |
getViewConstraints()
Constraints that all must be met for the module to be shown.
|
ValueAddedModuleData |
set(String fieldName,
Object value) |
ValueAddedModuleData |
setBody(LocalizedString body)
Body to be displayed on the module.
|
ValueAddedModuleData |
setHeader(LocalizedString header)
Header to be displayed on the module.
|
ValueAddedModuleData |
setImage(Image image)
Image to be displayed on the module.
|
ValueAddedModuleData |
setSortIndex(Integer sortIndex)
The index for sorting the modules.
|
ValueAddedModuleData |
setUri(String uri)
URI that the module leads to on click.
|
ValueAddedModuleData |
setViewConstraints(ModuleViewConstraints viewConstraints)
Constraints that all must be met for the module to be shown.
|
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 getBody()
null for nonepublic ValueAddedModuleData setBody(LocalizedString body)
body - body or null for nonepublic LocalizedString getHeader()
null for nonepublic ValueAddedModuleData setHeader(LocalizedString header)
header - header or null for nonepublic Image getImage()
null for nonepublic ValueAddedModuleData setImage(Image image)
image - image or null for nonepublic Integer getSortIndex()
null for nonepublic ValueAddedModuleData setSortIndex(Integer sortIndex)
sortIndex - sortIndex or null for nonepublic String getUri()
null for nonepublic ValueAddedModuleData setUri(String uri)
uri - uri or null for nonepublic ModuleViewConstraints getViewConstraints()
null for nonepublic ValueAddedModuleData setViewConstraints(ModuleViewConstraints viewConstraints)
viewConstraints - viewConstraints or null for nonepublic ValueAddedModuleData set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ValueAddedModuleData clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.