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.Builder instead.
|
|
CreateWalletObjectsRequest(OfferWalletObject
offerWalletObject)
This constructor is deprecated. Use
newBuilder() to create a
CreateWalletObjectsRequest.Builder instead.
|
|
CreateWalletObjectsRequest(GiftCardWalletObject
giftCardWalletObject)
This constructor is deprecated. Use
newBuilder() to create a
CreateWalletObjectsRequest.Builder instead.
|
Public Method Summary
int |
getCreateMode()
Returns the creation mode that will be used when the request is made.
|
GiftCardWalletObject | |
LoyaltyWalletObject | |
OfferWalletObject | |
static CreateWalletObjectsRequest.Builder |
newBuilder()
Create a
CreateWalletObjectsRequest.Builder for building a
CreateWalletObjectsRequest .
|
void |
writeToParcel(Parceldest, int
flags)
|
Inherited Method Summary
Constants
public static final int REQUEST_IMMEDIATE_SAVE
public static final int SHOW_SAVE_PROMPT
Fields
public static finalCreator<CreateWalletObjectsRequest> CREATOR
Public Constructors
publicCreateWalletObjectsRequest(LoyaltyWalletObject loyaltyWalletObject)
This constructor is 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 |
---|
publicCreateWalletObjectsRequest(OfferWalletObject offerWalletObject)
This constructor is 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 |
---|
publicCreateWalletObjectsRequest(GiftCardWalletObject giftCardWalletObject)
This constructor is 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 intgetCreateMode()
Returns the creation mode that will be used when the request is made.
publicGiftCardWalletObject getGiftCardWalletObject()
publicLoyaltyWalletObject getLoyaltyWalletObject()
publicOfferWalletObject getOfferWalletObject()
public staticCreateWalletObjectsRequest.Builder newBuilder()
Create a
CreateWalletObjectsRequest.Builder
for building aCreateWalletObjectsRequest
.