package com.brilliance.isc.esb.api.hx;

import com.brilliance.isc.esb.model.Res;
import com.brilliance.isc.esb.model.hx.*;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * hx 核心接口服务方
 *
 * @restApi
 */

//@RequestMapping("/SSTF")
public interface HxServer {
    /**
     * 8793 swift收报
     *
     * @param req8793
     * @return
     */
    @PostMapping("/8793")
    Res<Res8793> do8793(@RequestBody Req8793 req8793);

    /**
     * 8751 CIPS系统提供跨境人民币收款及付款转发国结
     *
     * @param req8751
     * @return
     */
    @PostMapping("/8751")
    Res<Res8751> do8751(@RequestBody Req8751 req8751);

    /**
     * 1641 代客外汇买卖及大额结售汇确认
     *
     * @param req1641
     * @return
     */
    @PostMapping("/1641")
    Res<Res1641> do1641(@RequestBody Req1641 req1641);


    /**
     * 1656 即期/远期/调期交易成交后处理确认
     *
     * @param req1656
     * @return
     */
    @PostMapping("/1656")
    Res<Res1656> do1656(@RequestBody Req1656 req1656);


}
