WalletObjectMessage

public final classWalletObjectMessageextendsObject
implementsParcelable

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 aWalletObjectMessage.

Inherited Constant Summary

Field Summary

public static finalCreator<WalletObjectMessage> CREATOR

Public Method Summary

UriData
getActionUri()
This method is deprecated. This value is unused by the platform and will be removed in the future.
String
getBody()
Returns the body.
TimeInterval
getDisplayInterval()
Returns the display interval.
String
getHeader()
Returns the header.
UriData
getImageUri()
This method is deprecated. This value is unused by the platform and will be removed in the future.
static WalletObjectMessage.Builder
void
writeToParcel(Parceldest, int flags)

Inherited Method Summary

Fields

public static finalCreator<WalletObjectMessage> CREATOR

Public Methods

publicUriData getActionUri()

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

Returns
  • the action uri

publicStringgetBody()

Returns the body.

publicTimeInterval getDisplayInterval()

Returns the display interval.

publicStringgetHeader()

Returns the header.

publicUriData getImageUri()

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

Returns
  • the image uri

public staticWalletObjectMessage.Builder newBuilder()

public voidwriteToParcel(Parceldest, int flags)