CreateWalletObjectsRequest

public final class CreateWalletObjectsRequest extends AbstractSafeParcelable

Parcelable representing request to create wallet objects.

Nested Class Summary

class CreateWalletObjectsRequest.Builder Builder to create a CreateWalletObjectsRequest
@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 final Creator<CreateWalletObjectsRequest> CREATOR

Public Constructor Summary

CreateWalletObjectsRequest(LoyaltyWalletObject loyaltyWalletObject)
This constructor was deprecated. Use newBuilder() to create a CreateWalletObjectsRequest.Builder instead.
CreateWalletObjectsRequest(OfferWalletObject offerWalletObject)
This constructor was deprecated. Use newBuilder() to create a CreateWalletObjectsRequest.Builder instead.
CreateWalletObjectsRequest(GiftCardWalletObject giftCardWalletObject)
This constructor was deprecated. Use newBuilder() to create a CreateWalletObjectsRequest.Builder instead.

Public Method Summary

int
GiftCardWalletObject
LoyaltyWalletObject
OfferWalletObject
static CreateWalletObjectsRequest.Builder
void
writeToParcel(Parcel dest, 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 final Creator<CreateWalletObjectsRequest> CREATOR

Public Constructors

public CreateWalletObjectsRequest (LoyaltyWalletObject loyaltyWalletObject)

This constructor was deprecated.
Use newBuilder() to create a CreateWalletObjectsRequest.Builder instead.

Constructs a request for a loyalty card creation

Parameters
loyaltyWalletObject the loyalty card to be created

public CreateWalletObjectsRequest (OfferWalletObject offerWalletObject)

This constructor was deprecated.
Use newBuilder() to create a CreateWalletObjectsRequest.Builder instead.

Constructs a request for an offer object creation

Parameters
offerWalletObject the offer object to be created

public CreateWalletObjectsRequest (GiftCardWalletObject giftCardWalletObject)

This constructor was deprecated.
Use newBuilder() to create a CreateWalletObjectsRequest.Builder instead.

Constructs a request for a gift card object creation.

Parameters
giftCardWalletObject the gift card to be created.

Public Methods

public int getCreateMode ()

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

public GiftCardWalletObject getGiftCardWalletObject ()

public LoyaltyWalletObject getLoyaltyWalletObject ()

public OfferWalletObject getOfferWalletObject ()

public void writeToParcel (Parcel dest, int flags)