private String paymentOption = PaymentTypeEnum.DEBIT.toString();
// Pay Action
public String pay() {
PaymentEvent currentEvtPayload = new PaymentEvent();
currentEvtPayload.setType(PaymentTypeEnum.fromString(paymentOption));
currentEvtPayload.setAmount(amount);
currentEvtPayload.setDatetime(new Date());
switch (currentEvtPayload.getType()) {
case DEBIT:
debitEventProducer.fire(currentEvtPayload);
break;