package com.jeesharp.business.modules.pay.route.handler;

import com.github.binarywang.wxpay.bean.result.WxPayUnifiedOrderV3Result;
import com.jeesharp.business.modules.pay.dto.BasicPayOrderData;
import com.jeesharp.business.modules.pay.route.PayWechatPayRouteContext;

/**
 * 微信 JSAPI 预下单路由处理器。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
public interface PayWechatJsapiRouteHandler {

    WxPayUnifiedOrderV3Result.JsapiResult prepay(PayWechatPayRouteContext context, BasicPayOrderData payOrderData)
            throws Exception;
}
