Interface ExternalPaymentServiceLocal

    • Method Detail

      • cancelAll

        int cancelAll​(UserAccount account)
        Cancels all the pending external payments made from the given account.
      • expire

        void expire​(ExternalPayment externalPayment)
        Expires the given external payment
      • listPossiblePaymentTypesToPerformExternalPayment

        List<PaymentTransferType> listPossiblePaymentTypesToPerformExternalPayment​(InternalAccountOwner from)
        Returns the possible payment types for performing an external payment
      • processExternalPayment

        void processExternalPayment​(Long externalPaymentId,
                                    Long toUserId)
        Processes the external payment. This method is called from a background task
      • processExternalPayments

        void processExternalPayments​(User user)
        Processes all the external payments to the given user.