IAppPay

interface IAppPay

AppPay主要包含微信支付、支付宝支付,让App集成支付功能变的更简单。

Author

Jenly

Follow me

Inheritors

Functions

Link copied to clipboard
abstract fun checkAliAuth(authInfo: String)
abstract fun checkAliAuth(authInfo: String, listener: AliPay.OnAuthListener)
检测支付宝授权
Link copied to clipboard
abstract fun sendAliPayReq(orderInfo: String)
abstract fun sendAliPayReq(orderInfo: String, listener: AliPay.OnPayListener)
发送支付宝支付请求
Link copied to clipboard
abstract fun sendUnionPayReq(orderInfo: String)
abstract fun sendUnionPayReq(orderInfo: String, listener: UnionPay.OnPayListener)
abstract fun sendUnionPayReq(orderInfo: String, serverMode: String)
abstract fun sendUnionPayReq(orderInfo: String, serverMode: String, listener: UnionPay.OnPayListener)
发起银联支付请求
Link copied to clipboard
abstract fun sendWXPayReq(req: WXPayReq)
abstract fun sendWXPayReq(req: WXPayReq, listener: WXPay.OnPayListener)
发送微信支付请求