Public Member Functions | |
BigDecimal | getAmount () |
String | getCurrency () |
CommerceTrigger | generateResponse () |
String | getName () |
![]() | |
String | getMerchantId () |
String | getTerminalId () |
Transaction | getTransaction () |
void | setTransaction (Transaction transaction) |
CommerceTrigger | generateResponse () |
String | getMessageType () |
Static Public Attributes | |
static final String | NAME = "CP_SYSTEM_REQUESTS_LOYALTY" |
![]() | |
static final String | MESSAGE_NAME_PREFIX = "CP_SYSTEM_" |
static final String | INTENT_EXTRA_TRANSACTION_CONTEXT = "com.verifone.commerce.intent.extra.TRANSACTION_CONTEXT" |
Protected Member Functions | |
void | populateMessageFromJson (@NonNull JSONObject jsonObject) |
void | setHandle (@NonNull final String handle) |
![]() | |
void | populateMessageFromJson (@NonNull final JSONObject jsonObject) |
String | getAsJsonString () |
Additional Inherited Members |
A request from the terminal Payment Application, allowing applications to present/add loyalty-driven offers. When requested, this app may present the interface to retrieve things like a phone number, email address, code, or other type of customer identifier.
Definition at line 16 of file LoyaltyRequest.java.
CommerceTrigger generateResponse | ( | ) |
Creates a LoyaltyResponse object to be sent in response to the request.
Definition at line 46 of file LoyaltyRequest.java.
BigDecimal getAmount | ( | ) |
Get the transaction amount.
Definition at line 27 of file LoyaltyRequest.java.
String getCurrency | ( | ) |
Get the currency used for the transaction.
Definition at line 37 of file LoyaltyRequest.java.
|
static |
The system name of the message.
Definition at line 20 of file LoyaltyRequest.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.