progress on aligning transaction payloads
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package zw.qantra.tm.domain.services;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import zw.qantra.tm.domain.models.TransactionEvent;
|
||||
import zw.qantra.tm.domain.repositories.TransactionEventRepository;
|
||||
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
public class TransactionEventService {
|
||||
private final TransactionEventRepository transactionEventRepository;
|
||||
|
||||
public void save(TransactionEvent transactionEvent) {
|
||||
transactionEventRepository.save(transactionEvent);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user