Interface PaymentServiceLocal

    • Method Detail

      • acceptExternalPayment

        Payment acceptExternalPayment​(ExternalPayment externalPayment,
                                      User destinationUser)
        Performs the payment for the given external payment
        Parameters:
        destinationUser - The user that will receive the payment
      • acceptPaymentRequest

        Payment acceptPaymentRequest​(PaymentRequest paymentRequest)
        Performs the payment for the given payment request
      • confirmOrder

        OrderPayment confirmOrder​(Order order)
        Performs the payment related to the given order, returning the reserved amount, if any
      • doPreview

        PaymentPreviewVO doPreview​(PerformPaymentDTO parameters,
                                   boolean validateCustomFields,
                                   boolean runExtensionPoints,
                                   SessionData receiver)
        Previews the payment.
        Parameters:
        receiver - If not null, is the session data of the payment receiver. If null is not a receive payment
      • previewAcceptPaymentRequest

        PaymentPreviewVO previewAcceptPaymentRequest​(PaymentRequest paymentRequest)
        Previews accepting the given payment request
      • previewApproveTicket

        PaymentPreviewVO previewApproveTicket​(Ticket ticket)
        Previews approving the given ticket
      • processTicket

        Payment processTicket​(Ticket ticket)
        Performs a payment for the given ticket
      • refund

        Payment refund​(Voucher voucher)
        Performs a payment for refunding the given voucher