[매입] mg_recv_svc → 전문수신 @Service (ACM-MG-004)
This commit is contained in:
parent
3b247810b7
commit
d9946e31ff
1 changed files with 40 additions and 0 deletions
|
|
@ -0,0 +1,40 @@
|
|||
package com.klaro.acquirecore.acquiring.repository;
|
||||
|
||||
import com.klaro.acquirecore.acquiring.dto.TxMessage;
|
||||
|
||||
/**
|
||||
* Repository interface for TX data access.
|
||||
* Stub implementation - actual DB access to be implemented.
|
||||
*/
|
||||
public interface TxRepository {
|
||||
|
||||
/**
|
||||
* Check if merchant is active.
|
||||
*/
|
||||
boolean isMerchantActive(String merchantId);
|
||||
|
||||
/**
|
||||
* Check if terminal is active for given merchant.
|
||||
*/
|
||||
boolean isTerminalActive(String merchantId, String terminalId);
|
||||
|
||||
/**
|
||||
* Save transaction record.
|
||||
*/
|
||||
void saveTransaction(TxMessage msg);
|
||||
|
||||
/**
|
||||
* Check if transaction exists.
|
||||
*/
|
||||
boolean transactionExists(String txId);
|
||||
|
||||
/**
|
||||
* Get transaction status.
|
||||
*/
|
||||
String getTransactionStatus(String txId);
|
||||
|
||||
/**
|
||||
* Update transaction status.
|
||||
*/
|
||||
void updateTransactionStatus(String txId, String status);
|
||||
}
|
||||
Reference in a new issue