WalletObjectMessage

public final class WalletObjectMessage extends AbstractSafeParcelable

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!"

Nested Class Summary

class WalletObjectMessage.Builder Builder to create a WalletObjectMessage

Inherited Constant Summary

Field Summary

public static final Creator<WalletObjectMessage> CREATOR

Public Method Summary

UriData
String
TimeInterval
String
UriData
static WalletObjectMessage.Builder
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<WalletObjectMessage> CREATOR

Public Methods

public UriData getActionUri ()

Returns
  • the action uri

public String getBody ()

Returns
  • the body

public TimeInterval getDisplayInterval ()

Returns
  • the display interval

public String getHeader ()

Returns
  • the header

public UriData getImageUri ()

Returns
  • the image uri

public static WalletObjectMessage.Builder newBuilder ()

public void writeToParcel (Parcel dest, int flags)