public interface PaymentServiceLocal extends PaymentService
| Modifier and Type | Method and Description |
|---|---|
Payment |
acceptExternalPayment(ExternalPayment externalPayment,
User destinationUser)
Performs the payment for the given external payment
|
Payment |
acceptPaymentRequest(PaymentRequest paymentRequest)
Performs the payment for the given payment request
|
OrderPayment |
confirmOrder(Order order)
Performs the payment related to the given order, returning the reserved amount, if any
|
PaymentPreviewVO |
doPreview(PerformPaymentDTO parameters,
boolean validateCustomFields,
boolean received)
Previews the payment.
|
Payment |
importPayment(PerformPaymentDTO parameters)
Imports a payment
|
PaymentPreviewVO |
previewAcceptPaymentRequest(PaymentRequest paymentRequest)
Previews accepting the given payment request
|
getData, perform, preview, previewReceive, print, receive, searchPayment acceptExternalPayment(ExternalPayment externalPayment, User destinationUser) throws FrameworkException
destinationUser - The user that will receive the paymentFrameworkExceptionPayment acceptPaymentRequest(PaymentRequest paymentRequest) throws FrameworkException, TransferException, PasswordException
OrderPayment confirmOrder(Order order) throws FrameworkException, TransferException, PasswordException
PaymentPreviewVO doPreview(PerformPaymentDTO parameters, boolean validateCustomFields, boolean received) throws FrameworkException
received - if the payment is indeed a receiveFrameworkExceptionPayment importPayment(PerformPaymentDTO parameters) throws FrameworkException
FrameworkExceptionPaymentPreviewVO previewAcceptPaymentRequest(PaymentRequest paymentRequest) throws FrameworkException
FrameworkException