Package eu.ccvlab.mapi.core.payment
Class PaymentResult
java.lang.Object
eu.ccvlab.mapi.core.Result
eu.ccvlab.mapi.core.payment.PaymentResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Unique code identifying the acquirer (or processor if applicable)private String
Authorisation information or internal error codes.private Money
Amount of the paymentprivate String
Answer code of the paymentprivate String
Contains the code that is issued by the Acquirer to identify this transaction.private String
Authorisation type of the payment (Online/Offline)private PaymentCard
Card information of the paymentprivate String
Used authentication method of the transaction.private String
private String
MerchantId of the paymentprivate String
This shows the System Trace Audit Number which uniquely identifies the transactionprivate String
Authorisation informationprivate String
Issued by the POS to identify a specific transactionprivate String
Authorisation information or internal error codesprivate String
private String
private String
Used to identify a specific POSFields inherited from class eu.ccvlab.mapi.core.Result
accounts, ageVerification, authorisationResponse, cardCircuits, cardLanguageCode, cashbackPossible, displayResponse, elmeVersionInfo, eReceiptUrl, errorCode, errorText, flexoParameters, hashData, merchantReferenceNumber, oamServerApplications, openPreAuthorisations, passwordCheck, passwordLevel, paymentAuthenticationDetails, reconciliationResponse, regularCustomer, requestID, requestTypes, serialNumber, state, terminalConfiguration, terminalId, timestamp, trackingToken, transactionDeclineInformation, transactionOverview, tunnelResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
amount
(BigDecimal value, Currency currency) private static PaymentResult
buildIt
(PaymentResultConvertible response) static PaymentResult
failure
(PaymentResultConvertible response) static PaymentResult
failure
(ResultState state) static PaymentResult
getCard()
getToken()
static PaymentResult
static PaymentResult
static PaymentResult
success
(PaymentResultConvertible response) Methods inherited from class eu.ccvlab.mapi.core.Result
resultState
-
Field Details
-
paymentSTAN
This shows the System Trace Audit Number which uniquely identifies the transaction -
amount
Amount of the payment -
acquirerId
Unique code identifying the acquirer (or processor if applicable) -
requestId
Issued by the POS to identify a specific transaction -
card
Card information of the payment -
receiptNumber
Authorisation information -
merchantId
MerchantId of the payment -
cardHolderAuthentication
Used authentication method of the transaction. Possible values: PIN, Signature, NoAuth -
authorisationType
Authorisation type of the payment (Online/Offline) -
approvalCode
Contains the code that is issued by the Acquirer to identify this transaction. The ApprovalCode is also printed on the receipt behind the text: Auth. Code: -
actionCode
Authorisation information or internal error codes. Equal to returnCode -
returnCode
Authorisation information or internal error codes -
answerCode
Answer code of the payment -
workstationId
Used to identify a specific POS -
trxReferenceNumber
-
token
-
cardToken
-
-
Constructor Details
-
PaymentResult
protected PaymentResult()
-
-
Method Details
-
amount
-
failure
-
failure
-
failure
-
previousPaymentFailure
-
previousPaymentSuccess
-
success
-
buildIt
-
getPaymentSTAN
-
getAmount
-
getTimestamp
-
getAcquirerId
-
getRequestId
-
getCard
-
getReceiptNumber
-
getMerchantId
-
getCardHolderAuthentication
-
getAuthorisationType
-
getApprovalCode
-
getActionCode
-
getReturnCode
-
getAnswerCode
-
getWorkstationId
-
getTrxReferenceNumber
-
getToken
-