Interface MasterCardTransactionInfo
-
public interface MasterCardTransactionInfo
This interface contains the Transaction Info specific for MasterCard.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactionConditions
getConditionsofUse()
Retrieve the Transaction Conditions (Terminal Country code == Transaction Country Code)UserActionOnPoi
getExpectedUserActionOnPOI()
Retrieve the Expected User Action on POI (User should do Online pin \ Signature \ Online pin or Signature \ NONE \ UNKNOWN )double
getOtherAmount()
Get the other amount of the transaction according to the currency used based on ISO-4217 Example : Based on ISO 4217 - 'E' denotes how many values are present after decimal points for that currency Japanese Yen - E = 0 - No decimal values Raw Value (getRawAmount) = 0x00, 0x00, 0x00, 0x00, 0x50, 0x00 Value = 5000 Euro, IDR and Brazil Real - E =2 - 2 values after decimal points Raw Value (getRawAmount) = 0x00, 0x00, 0x00, 0x00, 0x50, 0x65 Value = 50.65 Joranian Dinar - E = 3 - 3 values after decimal points Raw Value (getRawAmount) = 0x00, 0x00, 0x00, 0x00, 0x56, 0x65 Value = 56.65 Unidad de Fomento - E = 4 - 4 values after decimal points Raw Value (getRawAmount) = 0x00, 0x00, 0x00, 0x00, 0x56, 0x65 Value = 0.5665TransactionPurpose
getPurpose()
Retrieve the Transaction Purpose (Terminal Request ARQC, AAC or Unknown)TransactionRange
getTransactionRange()
Retrieve the Transaction Range (LVT or HVT Transaction )boolean
hasTerminalRequestedCdCvm()
has Terminal Requested CdCvm used for transactionboolean
isAlternateAID()
Is Alternate AID used for transaction
-
-
-
Method Detail
-
getConditionsofUse
TransactionConditions getConditionsofUse()
Retrieve the Transaction Conditions (Terminal Country code == Transaction Country Code)- Returns:
- TransactionConditions Enum
-
getPurpose
TransactionPurpose getPurpose()
Retrieve the Transaction Purpose (Terminal Request ARQC, AAC or Unknown)- Returns:
- TransactionPurpose Enum
-
getExpectedUserActionOnPOI
UserActionOnPoi getExpectedUserActionOnPOI()
Retrieve the Expected User Action on POI (User should do Online pin \ Signature \ Online pin or Signature \ NONE \ UNKNOWN )- Returns:
- UserActionOnPoi Enum
-
getTransactionRange
TransactionRange getTransactionRange()
Retrieve the Transaction Range (LVT or HVT Transaction )- Returns:
- TransactionRange Enum
-
getOtherAmount
double getOtherAmount()
Get the other amount of the transaction according to the currency used based on ISO-4217 Example : Based on ISO 4217 - 'E' denotes how many values are present after decimal points for that currency Japanese Yen - E = 0 - No decimal values Raw Value (getRawAmount) = 0x00, 0x00, 0x00, 0x00, 0x50, 0x00 Value = 5000 Euro, IDR and Brazil Real - E =2 - 2 values after decimal points Raw Value (getRawAmount) = 0x00, 0x00, 0x00, 0x00, 0x50, 0x65 Value = 50.65 Joranian Dinar - E = 3 - 3 values after decimal points Raw Value (getRawAmount) = 0x00, 0x00, 0x00, 0x00, 0x56, 0x65 Value = 56.65 Unidad de Fomento - E = 4 - 4 values after decimal points Raw Value (getRawAmount) = 0x00, 0x00, 0x00, 0x00, 0x56, 0x65 Value = 0.5665- Returns:
- Floating point value of transaction other amount.
-
isAlternateAID
boolean isAlternateAID()
Is Alternate AID used for transaction- Returns:
- boolean isAlternateAID
-
hasTerminalRequestedCdCvm
boolean hasTerminalRequestedCdCvm()
has Terminal Requested CdCvm used for transaction- Returns:
- boolean trxCDCVMRequest
-
-