Package org.cyclos.impl.banking
Interface PaymentRequestServiceLocal
-
- All Superinterfaces:
PaymentRequestService,Service
public interface PaymentRequestServiceLocal extends PaymentRequestService
Local interface for payment request service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcancelAll(UserAccount account)Cancels all payment requests from or to the given accountvoidexpire(PaymentRequest paymentRequest)Marks the given payment request as expired and notifies the PR senderPaymentRequestgetBySmsCode(String smsCode, User payer)Returns the payment request that has the given sms code and the given user as payer.PaymentRequestDatagetData(PaymentRequest paymentRequest)Returns data about a payment requestvoidnotifyRequestSend(PaymentRequest paymentRequest)Send all notifications derived from a payment request sent E.g notifies the payer of the request (i.e if the request was made from A to B then the payer is B)voidprocessScheduling(PaymentRequest paymentRequest)Inserts either the payment or scheduled payment for this payment requestvoidreopenFailed(PaymentRequest request)Marks the given scheduled payment request which failed processing as open and notifies the PR receiver-
Methods inherited from interface org.cyclos.services.banking.PaymentRequestService
accept, cancel, changeExpirationDate, deny, getData, getRequestData, getRequestPaymentPayerData, getRequestPaymentTypeData, previewAccept, reschedule, send
-
-
-
-
Method Detail
-
cancelAll
int cancelAll(UserAccount account)
Cancels all payment requests from or to the given account
-
expire
void expire(PaymentRequest paymentRequest)
Marks the given payment request as expired and notifies the PR sender
-
getBySmsCode
PaymentRequest getBySmsCode(String smsCode, User payer)
Returns the payment request that has the given sms code and the given user as payer.
-
getData
PaymentRequestData getData(PaymentRequest paymentRequest)
Returns data about a payment request
-
notifyRequestSend
void notifyRequestSend(PaymentRequest paymentRequest)
Send all notifications derived from a payment request sent E.g notifies the payer of the request (i.e if the request was made from A to B then the payer is B)
-
processScheduling
void processScheduling(PaymentRequest paymentRequest)
Inserts either the payment or scheduled payment for this payment request
-
reopenFailed
void reopenFailed(PaymentRequest request)
Marks the given scheduled payment request which failed processing as open and notifies the PR receiver
-
-