Class PaymentResult


  • public class PaymentResult
    extends Result
    • Field Detail

      • paymentSTAN

        private java.lang.String paymentSTAN
        This shows the System Trace Audit Number which uniquely identifies the transaction
      • amount

        private Money amount
        Amount of the payment
      • timestamp

        private java.lang.String timestamp
        Date and time of the transaction as registered on the processing host
      • acquirerId

        private java.lang.String acquirerId
        Unique code identifying the acquirer (or processor if applicable)
      • requestId

        private java.lang.String requestId
        Issued by the POS to identify a specific transaction
      • card

        private PaymentCard card
        Card information of the payment
      • receiptNumber

        private java.lang.String receiptNumber
        Authorisation information
      • merchantId

        private java.lang.String merchantId
        MerchantId of the payment
      • cardHolderAuthentication

        private java.lang.String cardHolderAuthentication
        Used authentication method of the transaction. Possible values: PIN, Signature, NoAuth
      • authorisationType

        private java.lang.String authorisationType
        Authorisation type of the payment (Online/Offline)
      • approvalCode

        private java.lang.String 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

        private java.lang.String actionCode
        Authorisation information or internal error codes. Equal to returnCode
      • returnCode

        private java.lang.String returnCode
        Authorisation information or internal error codes
      • answerCode

        private java.lang.String answerCode
        Answer code of the payment
      • workstationId

        private java.lang.String workstationId
        Used to identify a specific POS
      • trxReferenceNumber

        private java.lang.String trxReferenceNumber
      • token

        private java.lang.String token
      • eReceiptUrl

        private java.lang.String eReceiptUrl
        Url to the e-receipt for the PhonePOS solution
    • Constructor Detail

      • PaymentResult

        protected PaymentResult()
    • Method Detail

      • amount

        public void amount​(java.math.BigDecimal value,
                           java.util.Currency currency)
      • failure

        public static PaymentResult failure​(java.lang.String errorCode,
                                            java.lang.String errorText)
      • getPaymentSTAN

        public java.lang.String getPaymentSTAN()
      • getAmount

        public Money getAmount()
      • getTimestamp

        public java.lang.String getTimestamp()
      • getAcquirerId

        public java.lang.String getAcquirerId()
      • getRequestId

        public java.lang.String getRequestId()
      • getReceiptNumber

        public java.lang.String getReceiptNumber()
      • getMerchantId

        public java.lang.String getMerchantId()
      • getCardHolderAuthentication

        public java.lang.String getCardHolderAuthentication()
      • getAuthorisationType

        public java.lang.String getAuthorisationType()
      • getApprovalCode

        public java.lang.String getApprovalCode()
      • getActionCode

        public java.lang.String getActionCode()
      • getReturnCode

        public java.lang.String getReturnCode()
      • getAnswerCode

        public java.lang.String getAnswerCode()
      • getWorkstationId

        public java.lang.String getWorkstationId()
      • getTrxReferenceNumber

        public java.lang.String getTrxReferenceNumber()
      • getToken

        public java.lang.String getToken()