Interface PaymentRequestServiceLocal

    • Method Detail

      • cancelAll

        int cancelAll​(UserAccount account)
        Cancels all payment requests from or to the given account
      • expire

        void expire​(PaymentRequest paymentRequest)
        Marks the given payment request as expired and notifies the PR sender
      • getBySmsCode

        PaymentRequest getBySmsCode​(String smsCode,
                                    User payer)
        Returns the payment request that has the given sms code and the given user as payer.
      • notifyRequestSend

        void notifyRequestSend​(PaymentRequest paymentRequest)
        Send all notifications derived from a payment request sent E.g notifies the payer of the request (i.e if the request was made from A to B then the payer is B)
      • processScheduling

        void processScheduling​(PaymentRequest paymentRequest)
        Inserts either the payment or scheduled payment for this payment request
      • reopenFailed

        void reopenFailed​(PaymentRequest request)
        Marks the given scheduled payment request which failed processing as open and notifies the PR receiver