Public Member Functions | |
String | getMerchantId () |
String | getTerminalId () |
Transaction | getTransaction () |
void | setTransaction (Transaction transaction) |
CommerceTrigger | generateResponse () |
String | getMessageType () |
Static Public Attributes | |
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 final JSONObject jsonObject) |
String | getAsJsonString () |
Additional Inherited Members |
The parent class for all CP Payment Trigger messages and the responses. Each message will be a subclass of this object, allowing more convenient access to the various messages between this application and the Payment Application.
Definition at line 17 of file CommerceTrigger.java.
CommerceTrigger generateResponse | ( | ) |
Generates the appropriate response message.
Definition at line 56 of file CommerceTrigger.java.
String getMerchantId | ( | ) |
The ID of the merchant.
Definition at line 31 of file CommerceTrigger.java.
String getTerminalId | ( | ) |
The ID of the terminal.
Definition at line 38 of file CommerceTrigger.java.
Transaction getTransaction | ( | ) |
The transaction context for the trigger.
Definition at line 45 of file CommerceTrigger.java.
|
static |
The message name prefix for this type of message. This is provided as a reference value, and should not be edited.
Definition at line 22 of file CommerceTrigger.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.