package com.zxbw.modulemain.contract

import com.zxhl.cms.net.model.box.AppInEntity
import com.zxhl.cms.net.model.qy.CouponsEntity
import com.zxhl.cms.net.model.uc.AliPayEntity
import com.zxhl.cms.net.model.uc.WeChatPayEntity
import com.zxhl.cms.net.model.video.MemberEntity


class RechargeContract {
    interface View {
        fun setPayList(result: MemberEntity)
        fun setCouponsList(result: List<CouponsEntity>?)
        fun requestOrderSuc(result: AliPayEntity)
        fun requestOrderSuc(result: WeChatPayEntity)
        fun requestOrderFail(errorMsg: String)

        fun verifyOrderSuc(order: String)

        fun verifyOrderFail(errorMsg: String)
        fun setAppInfo(result: AppInEntity?)

    }

    interface Presenter {
        fun getFetchCard()
        fun getPayList(payModel: String)
        fun requestRightsAliPay(
            jumpScheme: String,
            goodsId: String,
            payType: String,
            phone: String,
            type: String,
            skill: Boolean?,
            outTradeNo: String?,
            couponId: String?,
            mobileOp: String?
        )

        fun verifyPay(order: String?, payType: Int)
        fun appInfo()
        fun requestWechatPayOrder(
            jumpScheme: String,
            goodsId: String,
            payType: String,
            phone: String,
            type: String,
            skill: Boolean?,
            outTradeNo: String?,
            couponId: String?,
            mobileOp: String?
        )
    }
}