WalletObjectMessage

public final class WalletObjectMessage extends Object
implements Parcelable

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
getActionUri()
This method was deprecated. This value is unused by the platform and will be removed in the future.
String
TimeInterval
String
UriData
getImageUri()
This method was deprecated. This value is unused by the platform and will be removed in the future.
static WalletObjectMessage.Builder
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<WalletObjectMessage> CREATOR

Public Methods

public UriData getActionUri ()

This method was deprecated.
This value is unused by the platform and will be removed in the future.

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 ()

This method was deprecated.
This value is unused by the platform and will be removed in the future.

Returns
  • the image uri

public static WalletObjectMessage.Builder newBuilder ()

public void writeToParcel (Parcel dest, int flags)