@Service public class DepositAccountPaymentServiceImpl extends AbstractServiceImpl implements DepositAccountPaymentService
depositAccountConfigService, ledgerService| Constructor and Description |
|---|
DepositAccountPaymentServiceImpl(DepositAccountConfigService depositAccountConfigService,
LedgerService ledgerService,
PaymentRepository paymentRepository,
PaymentMapper paymentMapper,
PaymentExecutionService executionService,
DepositAccountService accountService) |
| Modifier and Type | Method and Description |
|---|---|
TransactionStatusBO |
cancelPayment(String paymentId) |
TransactionStatusBO |
executePayment(String paymentId,
String userName)
Execute a payment.
|
PaymentBO |
getPaymentById(String paymentId) |
TransactionStatusBO |
getPaymentStatusById(String paymentId) |
PaymentBO |
initiatePayment(PaymentBO payment,
TransactionStatusBO status) |
String |
readIbanByPaymentId(String paymentId) |
TransactionStatusBO |
updatePaymentStatus(String paymentId,
TransactionStatusBO status) |
loadClearingAccount, loadLedgerpublic DepositAccountPaymentServiceImpl(DepositAccountConfigService depositAccountConfigService, LedgerService ledgerService, PaymentRepository paymentRepository, PaymentMapper paymentMapper, PaymentExecutionService executionService, DepositAccountService accountService)
public TransactionStatusBO getPaymentStatusById(String paymentId)
getPaymentStatusById in interface DepositAccountPaymentServicepublic PaymentBO getPaymentById(String paymentId)
getPaymentById in interface DepositAccountPaymentServicepublic PaymentBO initiatePayment(PaymentBO payment, TransactionStatusBO status)
initiatePayment in interface DepositAccountPaymentServicepublic TransactionStatusBO executePayment(String paymentId, String userName)
+ Bulk payment without batch execution will be split into single payments and each single payment will be individually sent to this method.
executePayment in interface DepositAccountPaymentServicepublic TransactionStatusBO cancelPayment(String paymentId)
cancelPayment in interface DepositAccountPaymentServicepublic String readIbanByPaymentId(String paymentId)
readIbanByPaymentId in interface DepositAccountPaymentServicepublic TransactionStatusBO updatePaymentStatus(String paymentId, TransactionStatusBO status)
updatePaymentStatus in interface DepositAccountPaymentServiceCopyright © 2019. All rights reserved.