CreateWalletObjectsRequest

public final classCreateWalletObjectsRequestextendsObject
implementsParcelable

Parcelable representing request to create wallet objects.

Nested Class Summary

class CreateWalletObjectsRequest.Builder Builder to create aCreateWalletObjectsRequest.
@interface CreateWalletObjectsRequest.CreateMode The creation mode to use.

Constant Summary

int REQUEST_IMMEDIATE_SAVE
int SHOW_SAVE_PROMPT

Inherited Constant Summary

Field Summary

public static finalCreator<CreateWalletObjectsRequest> CREATOR

Public Constructor Summary

CreateWalletObjectsRequest(LoyaltyWalletObject loyaltyWalletObject)
This constructor is deprecated. Use newBuilder()to create a CreateWalletObjectsRequest.Builderinstead.
CreateWalletObjectsRequest(OfferWalletObject offerWalletObject)
This constructor is deprecated. Use newBuilder()to create a CreateWalletObjectsRequest.Builderinstead.
CreateWalletObjectsRequest(GiftCardWalletObject giftCardWalletObject)
This constructor is deprecated. Use newBuilder()to create a CreateWalletObjectsRequest.Builderinstead.

Public Method Summary

int
getCreateMode()
Returns the creation mode that will be used when the request is made.
GiftCardWalletObject
LoyaltyWalletObject
OfferWalletObject
static CreateWalletObjectsRequest.Builder
void
writeToParcel(Parceldest, int flags)

Inherited Method Summary

Constants

public static final int REQUEST_IMMEDIATE_SAVE

Constant Value:1

public static final int SHOW_SAVE_PROMPT

Constant Value:0

Fields

public static finalCreator<CreateWalletObjectsRequest> CREATOR

Public Constructors

publicCreateWalletObjectsRequest(LoyaltyWalletObject loyaltyWalletObject)

This constructor is deprecated.
Use newBuilder()to create a CreateWalletObjectsRequest.Builderinstead.

Constructs a request for a loyalty card creation

Parameters
loyaltyWalletObject the loyalty card to be created

publicCreateWalletObjectsRequest(OfferWalletObject offerWalletObject)

This constructor is deprecated.
Use newBuilder()to create a CreateWalletObjectsRequest.Builderinstead.

Constructs a request for an offer object creation

Parameters
offerWalletObject the offer object to be created

publicCreateWalletObjectsRequest(GiftCardWalletObject giftCardWalletObject)

This constructor is deprecated.
Use newBuilder()to create a CreateWalletObjectsRequest.Builderinstead.

Constructs a request for a gift card object creation.

Parameters
giftCardWalletObject the gift card to be created.

Public Methods

public intgetCreateMode()

Returns the creation mode that will be used when the request is made.

publicGiftCardWalletObject getGiftCardWalletObject()

publicLoyaltyWalletObject getLoyaltyWalletObject()

publicOfferWalletObject getOfferWalletObject()

public voidwriteToParcel(Parceldest, int flags)