You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
792 B
Java
22 lines
792 B
Java
package com.vmis.interfaceapp.client;
|
|
|
|
import com.vmis.interfaceapp.model.basic.BasicRequest;
|
|
import com.vmis.interfaceapp.model.basic.BasicResponse;
|
|
import com.vmis.interfaceapp.model.common.Envelope;
|
|
import com.vmis.interfaceapp.model.ledger.LedgerRequest;
|
|
import com.vmis.interfaceapp.model.ledger.LedgerResponse;
|
|
import org.springframework.http.ResponseEntity;
|
|
|
|
/**
|
|
* 정부 시스템 연계 API 추상화 인터페이스.
|
|
*
|
|
* <p>외부 정부 시스템과의 통신 계약을 명확히 하여 테스트 용이성과
|
|
* 추후 교체 가능성을 높입니다.</p>
|
|
*/
|
|
public interface GovernmentApi {
|
|
|
|
ResponseEntity<Envelope<BasicResponse>> callBasic(Envelope<BasicRequest> envelope);
|
|
|
|
ResponseEntity<Envelope<LedgerResponse>> callLedger(Envelope<LedgerRequest> envelope);
|
|
}
|