public final class

TextModuleData

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.wallet.wobs.TextModuleData

Class Overview

Parcelable representing data for text module associated with wallet object.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<TextModuleData> CREATOR
Public Constructors
TextModuleData(String header, String body)
Creates an instance of TextModule with given header and body
Public Methods
String getBody()
String getHeader()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<TextModuleData> CREATOR

Public Constructors

public TextModuleData (String header, String body)

Creates an instance of TextModule with given header and body

Parameters
header String: the header of the text module
body String: the body of the text module

Public Methods

public String getBody ()

Returns
String the text module body

public String getHeader ()

Returns
String the text module header

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int