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,
boolean runExtensionPoints,
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)
destinationUser - The user that will receive the paymentPayment acceptPaymentRequest(PaymentRequest paymentRequest)
OrderPayment confirmOrder(Order order)
Payment createForVoucherBuying(VoucherType type, User buyer, java.math.BigDecimal amount, java.util.List<CustomFieldValueDTO> customValues)
Payment createForVoucherRedeeming(Voucher voucher, User user, java.util.List<CustomFieldValueDTO> customValues)
PaymentPreviewVO doPreview(PerformPaymentDTO parameters, boolean validateCustomFields, boolean runExtensionPoints, SessionData receiver)
receiver - If not null, is the session data of the payment receiver. If null is not a receive paymentPayment importPayment(PerformPaymentDTO parameters)
PaymentPreviewVO previewAcceptPaymentRequest(PaymentRequest paymentRequest)