public interface PaymentRequestService extends Service
TransactionService| Modifier and Type | Method and Description |
|---|---|
PaymentRequestVO |
accept(AcceptPaymentRequestDTO params)
Accepts a payment request.
|
void |
cancel(PaymentRequestActionDTO params)
Cancels a payment request (as payee)
|
void |
deny(PaymentRequestActionDTO params)
Denies a payment request (as payer)
|
SerializableInputStream |
exportPaymentRequestsToCSV(PaymentRequestOverviewQuery query)
Generates a CSV with the query result listing the payment requests
|
PaymentRequestData |
getData(java.lang.Long id)
Returns data about a payment request
|
RequestPaymentData |
getRequestData(InternalAccountOwner payee,
InternalAccountOwner payer)
Returns data used to request a payment
|
RequestPaymentPayerData |
getRequestPaymentPayerData(InternalAccountOwner payee,
InternalAccountOwner payer)
Returns data used to request a payment from a specific owner
|
RequestPaymentTypeData |
getRequestPaymentTypeData(InternalAccountOwner payee,
InternalAccountOwner payer,
TransferTypeVO transferType)
Returns the data for a specific payment type on a payment request from / to the given owners
|
PaymentRequestSearchOverviewData |
getSearchOverviewData()
Returns data to perform payment request overview searches.
|
AcceptPaymentRequestPreviewVO |
previewAccept(PaymentRequestVO paymentRequest)
Previews the payment which would be performed when accepting the given payment request
|
PaymentRequestVO |
reschedule(AcceptPaymentRequestDTO params)
Reschedules a payment request.
|
Page<PaymentRequestEntryVO> |
search(PaymentRequestQuery query)
Searches for payment requests according to the given query
|
Page<PaymentRequestVO> |
searchOverview(PaymentRequestOverviewQuery params)
Payment request overview search according to the given query.
|
PaymentRequestVO |
send(SendPaymentRequestDTO parameters)
Sends a payment request
|
PaymentRequestVO accept(@NotNull AcceptPaymentRequestDTO params) throws FrameworkException, TransferException
void cancel(@NotNull
PaymentRequestActionDTO params)
throws FrameworkException
FrameworkExceptionvoid deny(@NotNull
PaymentRequestActionDTO params)
throws FrameworkException
FrameworkExceptionSerializableInputStream exportPaymentRequestsToCSV(@NotNull PaymentRequestOverviewQuery query)
PaymentRequestData getData(@NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionRequestPaymentData getRequestData(InternalAccountOwner payee, InternalAccountOwner payer) throws FrameworkException
FrameworkExceptionRequestPaymentPayerData getRequestPaymentPayerData(InternalAccountOwner payee, InternalAccountOwner payer) throws FrameworkException
FrameworkExceptionRequestPaymentTypeData getRequestPaymentTypeData(InternalAccountOwner payee, InternalAccountOwner payer, TransferTypeVO transferType) throws FrameworkException
FrameworkExceptionPaymentRequestSearchOverviewData getSearchOverviewData() throws FrameworkException
FrameworkExceptionAcceptPaymentRequestPreviewVO previewAccept(@NotNull PaymentRequestVO paymentRequest) throws FrameworkException
FrameworkExceptionPaymentRequestVO reschedule(@NotNull AcceptPaymentRequestDTO params) throws FrameworkException
FrameworkExceptionPage<PaymentRequestEntryVO> search(@NotNull PaymentRequestQuery query) throws FrameworkException
FrameworkExceptionPage<PaymentRequestVO> searchOverview(@NotNull PaymentRequestOverviewQuery params) throws FrameworkException
FrameworkExceptionPaymentRequestVO send(@NotNull SendPaymentRequestDTO parameters) throws FrameworkException
FrameworkException