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
|
Payment |
createForVoucherBuying(VoucherType type,
User buyer,
java.math.BigDecimal amount,
java.util.List<CustomFieldValueDTO> customValues)
Generate a payment when buying a voucher
|
Payment |
createForVoucherRedeeming(Voucher voucher,
User user,
java.util.List<CustomFieldValueDTO> customValues)
Create a payment when redeeming a voucher
|
PaymentPreviewVO |
doPreview(PerformPaymentDTO parameters,
boolean validateCustomFields,
SessionData receiver)
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
Payment createForVoucherBuying(VoucherType type, User buyer, java.math.BigDecimal amount, java.util.List<CustomFieldValueDTO> customValues) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionPayment createForVoucherRedeeming(Voucher voucher, User user, java.util.List<CustomFieldValueDTO> customValues)
PaymentPreviewVO doPreview(PerformPaymentDTO parameters, boolean validateCustomFields, SessionData receiver) throws FrameworkException
receiver - If not null, is the session data of the payment receiver. If null is not a receive paymentFrameworkExceptionPayment importPayment(PerformPaymentDTO parameters) throws FrameworkException
FrameworkExceptionPaymentPreviewVO previewAcceptPaymentRequest(PaymentRequest paymentRequest) throws FrameworkException
FrameworkException