class PublishRequestFundedNotificationHandler {

    @TransactionalEventListener
    public void onFunded(final RequestFundedEvent fundedEvent) {
        eventPublisher.publishEvent(new RequestFundedNotificationDto(fundedEvent.getFundDto().getBlockchainEventId(),
                                                                     fundedEvent.getTimestamp(),
                                                                     fundedEvent.getRequestId(),
                                                                     fundedEvent.getFundDto().getId()));
    }

    public  PublishRequestFundedNotificationHandler(final ApplicationEventPublisher eventPublisher);

}