package com.liquidnet.service.goblin.service;

import com.liquidnet.service.goblin.param.shouqianba.request.CashierQueryRequest;
import com.liquidnet.service.goblin.param.shouqianba.request.OrderCreateRequest;
import com.liquidnet.service.goblin.param.shouqianba.request.SettlementCreateRequest;
import com.liquidnet.service.goblin.param.shouqianba.response.data.CashierQueryData;
import com.liquidnet.service.goblin.param.shouqianba.response.data.OrderCreateData;
import com.liquidnet.service.goblin.param.shouqianba.response.data.SettlementCreateData;

/**
 * 收钱吧对接接口定义
 *
 * @author liquidnet
 * @since 2026-03-16
 */
public interface IGoblinShouQianBaService {

    /**
     * 创建结算明细
     * <p>
     * 对接收钱吧「创建结算明细」接口，向收钱吧上传订单结算数据。
     * </p>
     *
     * @param request 创建结算明细请求参数
     * @return 收钱吧响应结果；调用失败时返回 null
     */
    SettlementCreateData createSettlement(SettlementCreateRequest request);

    /**
     * 创建订单
     * @param request
     * @return
     */
    OrderCreateData createOrder(OrderCreateRequest request);

    /**
     * 查询收银台
     * @param request
     * @return
     */
    CashierQueryData queryCashier(CashierQueryRequest request);
}
