package com.jeesharp.business.modules.pay.api;

import com.jeesharp.business.modules.pay.combine.dto.PayCombineCloseRequestDTO;
import com.jeesharp.business.modules.pay.combine.dto.PayCombineJsapiRequestDTO;
import com.jeesharp.business.modules.pay.combine.dto.PayCombineTransactionResultDTO;

/**
 * 微信合单支付跨模块 API（阶段 5 partner 下单前置）。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
public interface PayCombineTransactionChannelApi {

    PayCombineTransactionResultDTO jsapiPrepay(PayCombineJsapiRequestDTO request);

    PayCombineTransactionResultDTO queryByOutTradeNo(String platformTenantId, String combineOutTradeNo);

    PayCombineTransactionResultDTO close(PayCombineCloseRequestDTO request);
}
