X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fde%2Fjuplo%2Fkafka%2Fpayment%2Ftransfer%2Fports%2FHandleStateChangeUseCase.java;h=7d9fe83253beb7bb2f93ab1b15dfe617594c0d0a;hb=6d64dff7c410dd644e42a25b0a67513c3b30cfd3;hp=2e75fc08dc219f0b9537dd615b79cb0840de49fa;hpb=26809d379a0e024017f70db8c70382f94faf98b6;p=demos%2Fkafka%2Fdemos-kafka-payment-system-transfer diff --git a/src/main/java/de/juplo/kafka/payment/transfer/ports/HandleStateChangeUseCase.java b/src/main/java/de/juplo/kafka/payment/transfer/ports/HandleStateChangeUseCase.java index 2e75fc0..7d9fe83 100644 --- a/src/main/java/de/juplo/kafka/payment/transfer/ports/HandleStateChangeUseCase.java +++ b/src/main/java/de/juplo/kafka/payment/transfer/ports/HandleStateChangeUseCase.java @@ -1,9 +1,9 @@ package de.juplo.kafka.payment.transfer.ports; -import de.juplo.kafka.payment.transfer.domain.Transfer; +import de.juplo.kafka.payment.transfer.adapter.TransferStateChangedEvent; public interface HandleStateChangeUseCase { - void handle(Transfer transfer); + TransferStateChangedEvent handleStateChange(TransferStateChangedEvent stateChangedEvent); }