package cn.yyxx.eyuancomm.base.internal.feature

import android.app.Activity
import cn.yyxx.eyuancomm.base.entity.ResultInfo
import cn.yyxx.eyuancomm.base.entity.SdkChargeInfo

/**
 * @author #Suyghur.
 * Created on 2022/01/17
 */
interface IOrder {

    /**
     * 获取订单号
     * 不是所有渠道都需要自定义获取订单号
     */
    fun getOrderId(activity: Activity?, sdkChargeInfo: SdkChargeInfo, callback: (ResultInfo) -> Unit)
}