Public Member Functions | |
void | setProgramId (String programId) |
String | getProgramId () |
void | setCustomerLoyaltyId (String[] customerLoyaltyId) |
String [] | getCustomerLoyaltyId () |
void | setCustomerPhoneNumber (String customerPhoneNumber) |
String | getCustomerPhoneNumber () |
void | setCustomerName (String customerName) |
String | getCustomerName () |
void | setCustomerEmail (String customerEmail) |
String | getCustomerEmail () |
void | setLoyaltyPointsBalance (String loyaltyPointsBalance) |
String | getLoyaltyPointsBalance () |
void | setLoyaltyPayload (String loyaltyPayload) |
String | getLoyaltyPayload () |
void | setConsumerId (String consumerId) |
String | getConsumerId () |
LoyaltyIdentifier (Parcel in, int parcelVersion) | |
void | writeToParcel (Parcel dest, int flags) |
JSONObject | buildToCpJson () |
![]() | |
CPBaseParcel (Parcel in, int parcelVersion) | |
![]() | |
BaseParcel (Parcel in, int parcelVersion) | |
void | setParcelVersion (int targetParcelVersion) |
final int | getParcelVersion () |
String | getClassName () |
void | writeToParcel (Parcel dest, int flags) |
int | describeContents () |
Static Public Attributes | |
static final Creator< LoyaltyIdentifier > | CREATOR |
![]() | |
static final Parcelable.Creator< BaseParcel > | CREATOR |
Additional Inherited Members | |
![]() | |
static< CPEntityType extends CPBaseParcel > CPEntityType | buildFromCpJson ( @NonNull JSONObject jsonObject, @NonNull Class< CPEntityType > clazz, @Nullable CPEntityType parentObject) |
![]() | |
abstract< CPEntityType extends CPBaseParcel > CPEntityType | buildFromCpJson ( @NonNull JSONObject jsonObject, @Nullable CPEntityType parentObject) |
![]() | |
static< CPEntityType extends CPBaseParcel > ArrayList< CPEntityType > | buildListFromCpJson ( @NonNull JSONObject jsonObject, @NonNull Class< CPEntityType > clazz, @NonNull String targetJsonAlias) |
![]() | |
static void | safelySetParcelVersion (final int targetParcelVersion, @Nullable BaseParcel item) |
static void | safelySetParcelVersion (final int targetParcelVersion, @Nullable List<? extends BaseParcel > items) |
static< T extends BaseParcel > void | safelySetParcelVersion (final int targetParcelVersion, @Nullable T[] items) |
This represents the data that is shared between the terminal and the Android application. Setting the fields is only relevant when sending the data to the terminal, and conversely, getting the fields is only relevant when receiving this object from the terminal.
Definition at line 30 of file LoyaltyIdentifier.java.
String getConsumerId | ( | ) |
Refer to setConsumerId(String);
Definition at line 154 of file LoyaltyIdentifier.java.
String getCustomerEmail | ( | ) |
Refer to setCustomerEmail(String);
Definition at line 109 of file LoyaltyIdentifier.java.
String [] getCustomerLoyaltyId | ( | ) |
Refer to setCustomerLoyaltyId(String[]);
Definition at line 67 of file LoyaltyIdentifier.java.
String getCustomerName | ( | ) |
Refer to setCustomerName(String);
Definition at line 95 of file LoyaltyIdentifier.java.
String getCustomerPhoneNumber | ( | ) |
Refer to setCustomerPhoneNumber(String);
Definition at line 81 of file LoyaltyIdentifier.java.
String getLoyaltyPayload | ( | ) |
Refer to setLoyaltyPayload(String);
Definition at line 140 of file LoyaltyIdentifier.java.
String getLoyaltyPointsBalance | ( | ) |
Refer to setLoyaltyPointsBalance(String);
Definition at line 124 of file LoyaltyIdentifier.java.
String getProgramId | ( | ) |
Refer to setProgramId(String);
Definition at line 52 of file LoyaltyIdentifier.java.
void setConsumerId | ( | String | consumerId | ) |
Unique to the phone for customer tracking purposes. This is optional.
Definition at line 147 of file LoyaltyIdentifier.java.
void setCustomerEmail | ( | String | customerEmail | ) |
The email address of the customer. This is optional.
Definition at line 102 of file LoyaltyIdentifier.java.
void setCustomerLoyaltyId | ( | String [] | customerLoyaltyId | ) |
An array of loyalty IDs for this customer in the associated program. Either this or the customer phone number is required.
Definition at line 60 of file LoyaltyIdentifier.java.
void setCustomerName | ( | String | customerName | ) |
The name of the customer if available. This is optional.
Definition at line 88 of file LoyaltyIdentifier.java.
void setCustomerPhoneNumber | ( | String | customerPhoneNumber | ) |
Available in NFC phone tap. An alternate to Loyalty Id. This is optional.
Definition at line 74 of file LoyaltyIdentifier.java.
void setLoyaltyPayload | ( | String | loyaltyPayload | ) |
Some loyalty providers may only pass through to the POS their encrypted data set. This allows a loyalty provider to include their own proprietary fields to parse on the POS side. This is optional.
Definition at line 133 of file LoyaltyIdentifier.java.
void setLoyaltyPointsBalance | ( | String | loyaltyPointsBalance | ) |
The number of points available to the customer after the matching offer is applied. This is optional.
Definition at line 117 of file LoyaltyIdentifier.java.
void setProgramId | ( | String | programId | ) |
Unique reference to identify the Loyalty Program.
Definition at line 45 of file LoyaltyIdentifier.java.
|
static |
Definition at line 175 of file LoyaltyIdentifier.java.
This document is the confidential property of Verifone, Inc. Any reproduction or distribution of this document, in whole or in part, or the disclosure of any of the information contained herein, without the prior written consent of Verifone, Inc. is prohibited. This document and any supplemental material supplied as part of any review must be returned to Verifone, Inc. upon request. Notice: This document may go through material revisions over time. While the Company will make every effort to keep readers updated as changes occur, care must be taken by the reader to make sure they are reading the latest version. Version numbers appear in the title page and revision history page of this document. All rights reserved. Verifone, the Verifone logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. All other trademarks or brand names are properties of their respective holders.