Logo
Developer SDK
Version 1.9.632.913d652c-152450467.
LoyaltyIdentifier Class Reference
Inheritance diagram for LoyaltyIdentifier:
CPBaseParcel ICpToJson BaseParcel

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 ()
 
- Public Member Functions inherited from CPBaseParcel
 CPBaseParcel (Parcel in, int parcelVersion)
 
- Public Member Functions inherited from BaseParcel
 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< LoyaltyIdentifierCREATOR
 
- Static Public Attributes inherited from BaseParcel
static final Parcelable.Creator< BaseParcelCREATOR
 

Additional Inherited Members

- Static Public Member Functions inherited from CPBaseParcel
static< CPEntityType extends CPBaseParcel > CPEntityType buildFromCpJson ( @NonNull JSONObject jsonObject, @NonNull Class< CPEntityType > clazz, @Nullable CPEntityType parentObject)
 
- Protected Member Functions inherited from CPBaseParcel
abstract< CPEntityType extends CPBaseParcel > CPEntityType buildFromCpJson ( @NonNull JSONObject jsonObject, @Nullable CPEntityType parentObject)
 
- Static Protected Member Functions inherited from CPBaseParcel
static< CPEntityType extends CPBaseParcel > ArrayList< CPEntityType > buildListFromCpJson ( @NonNull JSONObject jsonObject, @NonNull Class< CPEntityType > clazz, @NonNull String targetJsonAlias)
 
- Static Protected Member Functions inherited from BaseParcel
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)
 

Detailed Description

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.

Member Function Documentation

◆ getConsumerId()

String getConsumerId ( )

Refer to setConsumerId(String);

Definition at line 154 of file LoyaltyIdentifier.java.

◆ getCustomerEmail()

String getCustomerEmail ( )

Refer to setCustomerEmail(String);

Definition at line 109 of file LoyaltyIdentifier.java.

◆ getCustomerLoyaltyId()

String [] getCustomerLoyaltyId ( )

Refer to setCustomerLoyaltyId(String[]);

Definition at line 67 of file LoyaltyIdentifier.java.

◆ getCustomerName()

String getCustomerName ( )

Refer to setCustomerName(String);

Definition at line 95 of file LoyaltyIdentifier.java.

◆ getCustomerPhoneNumber()

String getCustomerPhoneNumber ( )

Refer to setCustomerPhoneNumber(String);

Definition at line 81 of file LoyaltyIdentifier.java.

◆ getLoyaltyPayload()

String getLoyaltyPayload ( )

Refer to setLoyaltyPayload(String);

Definition at line 140 of file LoyaltyIdentifier.java.

◆ getLoyaltyPointsBalance()

String getLoyaltyPointsBalance ( )

Refer to setLoyaltyPointsBalance(String);

Definition at line 124 of file LoyaltyIdentifier.java.

◆ getProgramId()

String getProgramId ( )

Refer to setProgramId(String);

Definition at line 52 of file LoyaltyIdentifier.java.

◆ setConsumerId()

void setConsumerId ( String  consumerId)

Unique to the phone for customer tracking purposes. This is optional.

Definition at line 147 of file LoyaltyIdentifier.java.

◆ setCustomerEmail()

void setCustomerEmail ( String  customerEmail)

The email address of the customer. This is optional.

Definition at line 102 of file LoyaltyIdentifier.java.

◆ setCustomerLoyaltyId()

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.

◆ setCustomerName()

void setCustomerName ( String  customerName)

The name of the customer if available. This is optional.

Definition at line 88 of file LoyaltyIdentifier.java.

◆ setCustomerPhoneNumber()

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.

◆ setLoyaltyPayload()

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.

◆ setLoyaltyPointsBalance()

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.

◆ setProgramId()

void setProgramId ( String  programId)

Unique reference to identify the Loyalty Program.

Definition at line 45 of file LoyaltyIdentifier.java.

Member Data Documentation

◆ CREATOR

final Creator<LoyaltyIdentifier> CREATOR
static
Initial value:
=
new LoyaltyIdentifier.ParcelCreator<LoyaltyIdentifier>() {
@Override
public LoyaltyIdentifier createFromParcel(Parcel source) {
BaseParcel createdObject = super.createFromParcel(source);
if (createdObject == null || !LoyaltyIdentifier.class.isInstance(createdObject))
return new LoyaltyIdentifier(source, getRecommendedParcelVersion());
else
return (LoyaltyIdentifier) createdObject;
}
@Override
public LoyaltyIdentifier[] newArray(int size) {
return new LoyaltyIdentifier[size];
}
}

Definition at line 175 of file LoyaltyIdentifier.java.


The documentation for this class was generated from the following file:

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.