[매입] mg_recv_svc → 전문수신 @Service #3

Open
forge-bot wants to merge 9 commits from forge/ACM-MG-004-attempt-1-run-4e397b504ae6 into main
Showing only changes of commit c2ff44f8e2 - Show all commits

View file

@ -0,0 +1,32 @@
package com.klaro.acquirecore.acquiring.repository;
import com.klaro.acquirecore.acquiring.codec.ParsedMessage;
import java.util.Optional;
/**
* 매입 거래 Repository 인터페이스 (DB 접근 스텁)
*/
public interface AcquireTransactionRepository {
/**
* 거래ID로 거래 조회
* @param txId 거래ID
* @return 거래 정보
*/
Optional<ParsedMessage> findByTxId(String txId);
/**
* 거래 저장
* @param message 거래 정보
* @return 저장 성공 여부
*/
boolean save(ParsedMessage message);
/**
* 거래ID로 삭제
* @param txId 거래ID
* @return 삭제 성공 여부
*/
boolean deleteByTxId(String txId);
}