WalletObjectMessage | Doclava
public final class

WalletObjectMessage

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

Class Overview

Parcelable representing a message associated with the wallet object.

For example a message for a new Baconrista loyalty card could have a header:

"Jane, welcome to Banconrista Rewards!"

and body:

"Thanks for joining our program. Show this message to our barista for your first free coffee on us!"

Summary

Nested Classes
class WalletObjectMessage.Builder Builder to create a WalletObjectMessage
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<WalletObjectMessage> CREATOR
Public Methods
UriData getActionUri()
String getBody()
TimeInterval getDisplayInterval()
String getHeader()
UriData getImageUri()
static WalletObjectMessage.Builder newBuilder()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<WalletObjectMessage> CREATOR

Public Methods

public UriData getActionUri ()

Returns
UriData the action uri

public String getBody ()

Returns
String the body

public TimeInterval getDisplayInterval ()

Returns
TimeInterval the display interval

public String getHeader ()

Returns
String the header

public UriData getImageUri ()

Returns
UriData the image uri

public static WalletObjectMessage.Builder newBuilder ()

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int