Public Member Functions | |
String | getName () |
APIResult | getResult () |
String | getErrorDescription () |
PresentationMethod | getCardType () |
String | getCardHolderName () |
String | getCardTrack1 () |
String | getCardTrack2 () |
String | getCardTrack3 () |
String | getCardPAN () |
String | getPanLast4 () |
String | getCardExpiry () |
String | getPANHandle () |
String | getCardStatus () |
CardInformation | getCardInformation () |
![]() | |
String | getMessageType () |
Static Public Attributes | |
static final String | NAME = "CP_APP_RECEIVES_CARD_DATA" |
![]() | |
static final String | MESSAGE_NAME_PREFIX = "CP_APP_" |
Protected Member Functions | |
void | setHandle (@NonNull String handle) |
void | populateMessageFromJson (@NonNull JSONObject jsonObject) |
![]() | |
void | populateMessageFromJson (@NonNull final JSONObject jsonObject) |
String | getAsJsonString () |
String | getCpAppId () |
String | getCpAppVersion () |
Additional Inherited Members |
The response to the CardDataRequest call.
CP Triggers & API - Version 4.3.0
Definition at line 17 of file CardDataResponse.java.
String getCardExpiry | ( | ) |
Card Expiration in MMYY format.
Definition at line 146 of file CardDataResponse.java.
String getCardHolderName | ( | ) |
Cardholder name returned, if present. In case of Manual entry it is not present. Further, certain regional privacy laws forbid sharing cardholder name.
Definition at line 98 of file CardDataResponse.java.
CardInformation getCardInformation | ( | ) |
Returns full object with all card information encapsulated.
Definition at line 174 of file CardDataResponse.java.
String getCardPAN | ( | ) |
Card PAN for non PCI Card when Card_Type is Manual.
Definition at line 130 of file CardDataResponse.java.
String getCardStatus | ( | ) |
Either "PCI_CARD", "NON_PCI_CARD" or "USER_CANCEL" . "PCI_CARD" when the card is a payment card. "USER_CANCEL" when reading was intentionally cancelled.
Definition at line 166 of file CardDataResponse.java.
String getCardTrack1 | ( | ) |
Track-1 of card, if present
Definition at line 106 of file CardDataResponse.java.
String getCardTrack2 | ( | ) |
Track-2 of card, if present
Definition at line 114 of file CardDataResponse.java.
String getCardTrack3 | ( | ) |
Track-3 of card, if present
Definition at line 122 of file CardDataResponse.java.
PresentationMethod getCardType | ( | ) |
One of ["MAG_STRIPE", "CHIP", "CTLS_CARD", "CTLS_PHONE", "MANUAL"]
Definition at line 89 of file CardDataResponse.java.
String getErrorDescription | ( | ) |
Additional information in case of error
Definition at line 79 of file CardDataResponse.java.
String getPANHandle | ( | ) |
A reference returned by the Payment Application to refer to the PAN in question. Commerce Application may choose to use PAN_Handle to request an encrypted PAN via API CP_APP_REQUESTS_ENCRYPTED_CARD or initiate a payment transaction by CP_APP_REQUESTS_PAYMENT_TRANSACTION_START.
Definition at line 156 of file CardDataResponse.java.
String getPanLast4 | ( | ) |
Last 4 digits of of PAN.
Definition at line 138 of file CardDataResponse.java.
APIResult getResult | ( | ) |
One of the generic result values or "ERROR_USER_TIMEOUT" if timeout was reached while waiting for reading a card
Definition at line 71 of file CardDataResponse.java.
|
static |
The system name of the message.
Definition at line 21 of file CardDataResponse.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.