Logo
Developer SDK
Version 1.9.632.913d652c-152450467.
EncryptedCardResponse Class Reference
Inheritance diagram for EncryptedCardResponse:
CommerceApi CommerceMessage

Public Member Functions

String getName ()
 
APIResult getResult ()
 
String getErrorDescription ()
 
String getPanHandle ()
 
String getEncryptedPAN ()
 
String getEncryptedPANKSN ()
 
CardInformation getCardInformation ()
 
- Public Member Functions inherited from CommerceApi
String getMessageType ()
 
- Public Member Functions inherited from CommerceMessage
abstract String getName ()
 
abstract String getMessageType ()
 
final String getHandle ()
 
final boolean isTypeOfMessage (@NonNull final String type)
 
boolean put (String key, Object value)
 
Object get (String key)
 
List< String > getKeys ()
 
Status send (@NonNull final Context context)
 

Static Public Attributes

static final String NAME = "CP_APP_RECEIVES_ENCRYPTED_CARD"
 
- Static Public Attributes inherited from CommerceApi
static final String MESSAGE_NAME_PREFIX = "CP_APP_"
 
- Static Public Attributes inherited from CommerceMessage
static final String MESSAGE_TYPE_INTERAPP = "INTERAPP"
 
static final String MESSAGE_TYPE_PAYMENTTRIGGER = "PAYMENTTRIGGER"
 
static final String MESSAGE_TYPE_NONPAYMENTTRIGGER = "NONPAYMENTTRIGGER"
 
static final String MESSAGE_TYPE_PAYMENTAPI = "PAYMENTAPI"
 
static final String MESSAGE_TYPE_UNKNOWN = "UNKNOWN"
 
static final String INTENT_ACTION_PREFIX = "com.verifone.commerce.intent.action."
 
static final String INTENT_CATEGORY = "com.verifone.commerce.intent.category.CP_MESSAGE"
 
static final String INTENT_EXTRA_HANDLE = "com.verifone.commerce.intent.extra.HANDLE"
 
static final String INTENT_EXTRA_PAYLOAD = "com.verifone.commerce.intent.extra.PAYLOAD"
 
static final String CP_JSON_KEY_TRANS_AMOUNT = "Trans_Amount"
 
static final String CP_JSON_KEY_CURRENCY = "Currency"
 

Protected Member Functions

void setHandle (@NonNull String handle)
 
void setCpAppId (String cpAppId)
 
void setCpAppVersion (String cpAppVersion)
 
void populateMessageFromJson (@NonNull JSONObject jsonObject)
 
- Protected Member Functions inherited from CommerceApi
void populateMessageFromJson (@NonNull final JSONObject jsonObject)
 
String getAsJsonString ()
 
String getCpAppId ()
 
String getCpAppVersion ()
 
- Protected Member Functions inherited from CommerceMessage
void populateMessageFromJson (@NonNull final JSONObject jsonObject)
 
void setHandle (@NonNull final String handle)
 
JSONObject getJsonObject ()
 
void setJsonObject (@NonNull final JSONObject jsonObject)
 
abstract String getAsJsonString ()
 
String getCpAppId ()
 
void setCpAppId (String cpAppId)
 
String getCpAppVersion ()
 
void setCpAppVersion (String cpAppVersion)
 

Additional Inherited Members

- Static Public Member Functions inherited from CommerceMessage
static Intent createIntentWithName (final String name)
 
static Intent createIntentForMessage (final CommerceMessage message)
 
static int getNumberOfReceivers (Context context, final CommerceMessage message)
 
static boolean isResponseMessage (String name)
 
static boolean isRequestMessage (String name)
 
static boolean isMessageFromCPAndroid (String name)
 

Detailed Description

The response to the EncryptedCardRequest call. Can be used only with encrypted connection. Unavailable for Carbon 10/8.

CP API 4.3.0

Definition at line 16 of file EncryptedCardResponse.java.

Member Function Documentation

◆ getCardInformation()

CardInformation getCardInformation ( )

Returns full object with all available card information encapsulated.

Definition at line 127 of file EncryptedCardResponse.java.

◆ getEncryptedPAN()

String getEncryptedPAN ( )

Construction of field Encrypted_PAN: Plaintext PAN data is encrypted and converted to a HEX string.

Definition at line 111 of file EncryptedCardResponse.java.

◆ getEncryptedPANKSN()

String getEncryptedPANKSN ( )

The KSN (Key Serial Number) as a Hex string. KSN is 10 digits and after conversion it is 20 characters.

Definition at line 119 of file EncryptedCardResponse.java.

◆ getErrorDescription()

String getErrorDescription ( )

Additional information in case of error

Definition at line 94 of file EncryptedCardResponse.java.

◆ getPanHandle()

String getPanHandle ( )

PAN_Handle associated with this card.

Definition at line 103 of file EncryptedCardResponse.java.

◆ getResult()

APIResult getResult ( )

One of the generic result values or "ERROR_ENCRYPTION_UNAVAILABLE" if timeout was reached while waiting for reading a card

Definition at line 86 of file EncryptedCardResponse.java.

Member Data Documentation

◆ NAME

final String NAME = "CP_APP_RECEIVES_ENCRYPTED_CARD"
static

The system name of the message.

Definition at line 20 of file EncryptedCardResponse.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.