908caa1276b39b33209852eca81bce0140fdf3f4
[demos/kafka/demos-kafka-payment-system-transfer] / TransferRepository.java
1 package de.juplo.kafka.payment.transfer.domain;
2
3 import de.juplo.kafka.payment.transfer.domain.Transfer;
4
5 import java.util.Optional;
6 import java.util.UUID;
7
8
9 public interface TransferRepository
10 {
11   void put(Transfer transfer);
12   Optional<Transfer> get(Long id);
13 }