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 StringUnique code identifying the acquirer (or processor if applicable)private StringAuthorisation information or internal error codes.private MoneyAmount of the paymentprivate StringAnswer code of the paymentprivate StringContains the code that is issued by the Acquirer to identify this transaction.private StringAuthorisation type of the payment (Online/Offline)private PaymentCardCard information of the paymentprivate StringUsed authentication method of the transaction.private Stringprivate Stringprivate StringMerchantId of the paymentprivate Stringprivate StringThis shows the System Trace Audit Number which uniquely identifies the transactionprivate StringAuthorisation informationprivate StringAuthorisation information or internal error codesprivate Stringprivate Stringprivate StringUsed 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, flexoResponse, hashData, hostCorrelationID, merchantReferenceNumber, oamServerApplications, openPreAuthorisations, originalHeader, passwordCheck, passwordLevel, paymentAuthenticationDetails, posCorrelationID, preAuthReference, privateDataResponse, reconciliationResponse, regularCustomer, requestId, requestTypes, serialNumber, state, terminalConfiguration, terminalId, timestamp, tokenItem, trackingToken, transactionDeclineInformation, transactionOverview, tunnelResponse -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidamount(BigDecimal value, Currency currency) private static PaymentResultbuildIt(PaymentResultConvertible response) static PaymentResultfailure(PaymentResultConvertible response) static PaymentResultfailure(ResultState state) static PaymentResultgetCard()getToken()static PaymentResultstatic PaymentResultstatic PaymentResultsuccess(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) -
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 -
payId
-
workstationId
Used to identify a specific POS -
trxReferenceNumber
-
token
-
cardToken
-
emvCustomerReceiptData
-
-
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
-