package cn.yyxx.commsdk.base.internal.feature;

import android.app.Activity;

import cn.yyxx.commsdk.base.entity.SdkChargeInfo;
import cn.yyxx.commsdk.base.entity.SdkOrderInfo;
import cn.yyxx.commsdk.base.internal.ICallback;
import cn.yyxx.commsdk.base.internal.IRequestCallback;

/**
 * @author #Suyghur.
 * Created on 2021/12/26
 */
public interface IOrder {


    /**
     *
     * @param activity
     * @param sdkOrderInfo  开始支付所需参数
     * @param callback  支付结果回调
     */
    void startPay(Activity activity, SdkOrderInfo sdkOrderInfo, ICallback callback);


    /**
     * 获取下单时所需参数
     * @return
     */
    String getChannelOrderExt();
}
