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)
|
PaymentRequestData |
getData(java.lang.Long id)
Returns data about a payment request
|
RequestPaymentData |
getRequestData(AccountOwner payee,
AccountOwner payer)
Returns data used to request a payment
|
RequestPaymentPayerData |
getRequestPaymentPayerData(AccountOwner payee,
AccountOwner payer)
Returns data used to request a payment from a specific owner
|
RequestPaymentTypeData |
getRequestPaymentTypeData(AccountOwner payee,
AccountOwner payer,
java.lang.Long paymentTypeId)
Returns the data for a specific payment type on a payment request from / to the given owners
|
AcceptPaymentRequestPreviewVO |
previewAccept(java.lang.Long id)
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
|
PaymentRequestVO |
send(SendPaymentRequestDTO parameters)
Sends a payment request
|
PaymentRequestVO accept(AcceptPaymentRequestDTO params) throws FrameworkException, TransferException, PasswordException
void cancel(PaymentRequestActionDTO params) throws FrameworkException
FrameworkExceptionvoid deny(PaymentRequestActionDTO params) throws FrameworkException
FrameworkExceptionPaymentRequestData getData(java.lang.Long id) throws FrameworkException
FrameworkExceptionRequestPaymentData getRequestData(AccountOwner payee, AccountOwner payer) throws FrameworkException
FrameworkExceptionRequestPaymentPayerData getRequestPaymentPayerData(AccountOwner payee, AccountOwner payer) throws FrameworkException
FrameworkExceptionRequestPaymentTypeData getRequestPaymentTypeData(AccountOwner payee, AccountOwner payer, java.lang.Long paymentTypeId) throws FrameworkException
FrameworkExceptionAcceptPaymentRequestPreviewVO previewAccept(java.lang.Long id) throws FrameworkException, TransferException
FrameworkExceptionTransferExceptionPaymentRequestVO reschedule(AcceptPaymentRequestDTO params) throws FrameworkException
FrameworkExceptionPage<PaymentRequestEntryVO> search(PaymentRequestQuery query) throws FrameworkException
FrameworkExceptionPaymentRequestVO send(SendPaymentRequestDTO parameters) throws FrameworkException, TransferException
FrameworkExceptionTransferException