Public Member Functions | |
CommerceTrigger | generateResponse () |
void | setPayment (Payment payment) |
String | getName () |
String | getTransactionId () |
BigDecimal | getApprovedAmount () |
String | getAuthCode () |
String | getAuthResult () |
String | getAuthResponseText () |
String | getAuthEntity () |
void | setAuthEntity (String authEntity) |
![]() | |
String | getMerchantId () |
String | getTerminalId () |
Transaction | getTransaction () |
void | setTransaction (Transaction transaction) |
CommerceTrigger | generateResponse () |
String | getMessageType () |
Static Public Attributes | |
static final String | NAME = "CP_SYSTEM_NOTIFIES_AUTHORIZATION_COMPLETED" |
![]() | |
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 | setHandle (@NonNull String handle) |
void | populateMessageFromJson (@NonNull JSONObject jsonObject) |
String | getAsJsonString () |
![]() | |
void | populateMessageFromJson (@NonNull final JSONObject jsonObject) |
String | getAsJsonString () |
Additional Inherited Members |
Fired by Payment Application when payment authorization is complete.
Definition at line 20 of file AuthorizationCompletedNotification.java.
CommerceTrigger generateResponse | ( | ) |
There is no response for this object, so this returns null.
Definition at line 33 of file AuthorizationCompletedNotification.java.
BigDecimal getApprovedAmount | ( | ) |
Amount the transaction was approved for. String amount formatting applies.
Definition at line 110 of file AuthorizationCompletedNotification.java.
String getAuthCode | ( | ) |
The transaction Authorization Code usually provided by the payment processing service or acquirer.
Definition at line 119 of file AuthorizationCompletedNotification.java.
String getAuthEntity | ( | ) |
Entity that has authorized the transaction. Must be one of: MERCHANT, ACQUIRER, CARD_SCHEME, ISSUER. If the authorizing entity is unknown, this field is not present.
Definition at line 157 of file AuthorizationCompletedNotification.java.
String getAuthResponseText | ( | ) |
Descriptive text accompanying the Auth_Code from payment processor. Usually present when the transaction has failed authorization this field provides the reason for the failure.
Definition at line 147 of file AuthorizationCompletedNotification.java.
String getAuthResult | ( | ) |
Result of transaction authorization. Must be one of: AUTHORIZED_ONLINE, AUTHORIZED_OFFLINE, REJECTED_ONLINE, CASH_VERIFIED, ABORTED
Definition at line 129 of file AuthorizationCompletedNotification.java.
String getTransactionId | ( | ) |
Transaction Id as provided by the payment gateway. It is a client-specific transaction identifier. This Trans_Id can be used for subsequent operations as VOID.
Definition at line 97 of file AuthorizationCompletedNotification.java.
|
static |
The system name of the message.
Definition at line 27 of file AuthorizationCompletedNotification.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.