WechatFacePayment class

Constructors

WechatFacePayment({String resultCode, String returnMsg, String faceAuthType, String subOpenid, int underageState, int telephoneUsed, String subAppid, String headImgurl, String faceCode, String faceSid, String openid, String nickname, String token, String unionidMsg, String unionidCode})

Properties

faceAuthType String
final
faceCode String
final
faceSid String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
headImgurl String
final
nickname String
final
openid String
final
resultCode String
final
returnMsg String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subAppid String
final
subOpenid String
final
telephoneUsed int
final
token String
final
underageState int
final
unionidCode String
final
unionidMsg String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

platformVersion Future<String>
read-only
releaseWxPayFace Future<String>
释放刷脸支付资源
read-only
testWxPayFace Future<WechatFacePayment>
测试返回结果
read-only
wxStopCodeScanner Future<void>
关闭扫码
read-only

Static Methods

hidePayLoadingDialog() Future<void>
关闭 loading
initFacePay(String appId, String mchId, String storeId, String serverPath) Future<WechatFacePayment>
初始化 更多参数说明查看 https://pay.weixin.qq.com/wiki/doc/wxfacepay/develop/android/facepay.html
showPayLoadingDialog() Future<void>
开启 loading
wxFacePay(String merchantId, String channelId, String orderTitle, String outTradeNo, String totalFee) Future<Map<String, dynamic>>
人脸支付
wxFaceVerify() Future<Map<String, dynamic>>
人脸识别获取 face_sid 和 opneid
wxScanCode() Future<Map<String, dynamic>>
微信扫码