Show / Hide Table of Contents

Class ValueAddedModuleData

Data for Value Added module. Required fields are header and uri.

Inheritance
object
ValueAddedModuleData
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Walletobjects.v1.Data
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class ValueAddedModuleData : IDirectResponseSchema

Properties

Body

Body to be displayed on the module. Character limit is 50 and longer strings will be truncated.

Declaration
[JsonProperty("body")]
public virtual LocalizedString Body { get; set; }
Property Value
Type Description
LocalizedString

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Header

Header to be displayed on the module. Character limit is 60 and longer strings will be truncated.

Declaration
[JsonProperty("header")]
public virtual LocalizedString Header { get; set; }
Property Value
Type Description
LocalizedString

Image

Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio.

Declaration
[JsonProperty("image")]
public virtual Image Image { get; set; }
Property Value
Type Description
Image

SortIndex

The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined.

Declaration
[JsonProperty("sortIndex")]
public virtual int? SortIndex { get; set; }
Property Value
Type Description
int?

Uri

URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking.

Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type Description
string

ViewConstraints

Constraints that all must be met for the module to be shown.

Declaration
[JsonProperty("viewConstraints")]
public virtual ModuleViewConstraints ViewConstraints { get; set; }
Property Value
Type Description
ModuleViewConstraints

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX