@Service public class PaymentExecutionService extends Object implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
PaymentExecutionService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
AmountBO |
calculateTotalPaymentAmount(PaymentBO payment) |
TransactionStatusBO |
executePayment(Payment payment,
String userName) |
TransactionStatusBO |
schedulePayment(Payment payment) |
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic TransactionStatusBO executePayment(Payment payment, String userName)
public TransactionStatusBO schedulePayment(Payment payment)
Copyright © 2020. All rights reserved.