Class TextModuleData
Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined.
Implements
Inherited Members
Namespace: Google.Apis.Walletobjects.v1.Data
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class TextModuleData : IDirectResponseSchema
Properties
Body
The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.
Declaration
[JsonProperty("body")]
public virtual string Body { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Header
The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens.
Declaration
[JsonProperty("header")]
public virtual string Header { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The ID associated with a text module. This field is here to enable ease of management of text modules and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
LocalizedBody
Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.
Declaration
[JsonProperty("localizedBody")]
public virtual LocalizedString LocalizedBody { get; set; }
Property Value
Type | Description |
---|---|
LocalizedString |
LocalizedHeader
Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens.
Declaration
[JsonProperty("localizedHeader")]
public virtual LocalizedString LocalizedHeader { get; set; }
Property Value
Type | Description |
---|---|
LocalizedString |