FlutterUnipayPlugin class
银联全渠道-手机控件支付 flutter插件
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Properties
-
platformVersion
→ Future<
String> -
read-only
Static Methods
Constants
- MESSAGE_CHANNEL_NAME → const String
-
简单字符串消息传递信道名称
'com.nbp.msg.flutter_unipay_plugin'
- METHOD_CHANNEL_NAME → const String
-
方法调用信道名称
'com.nbp.flutter_unipay_plugin'
- UP_PAY_CANCEL → const String
-
支付结果: 支付取消
"7777"
- UP_PAY_DONE → const String
-
支付结果: 支付完成无结果
"6666"
- UP_PAY_EXCEPTION → const String
-
支付结果: 异常发生
"8888"
- UP_PAY_FAIL → const String
-
支付结果: 失败
"9999"
- UP_PAY_MODE_PROD → const String
-
支付环境: "00" - 启动银联正式环境
"00"
- UP_PAY_MODE_TEST → const String
-
支付环境: "01" - 连接银联测试环境
"01"
- UP_PAY_RESULT_K_CODE → const String
-
支付结果报文json格式 { 'code':''
, 'data':'', 'sign':'', 'error':''
}'code'
- UP_PAY_RESULT_K_DATA → const String
-
支付结果报文json格式 { 'code':''
, 'data':'', 'sign':'', 'error':''
}'data'
- UP_PAY_RESULT_K_ERROR → const String
-
支付结果报文json格式 { 'code':''
, 'data':'', 'sign':'', 'error':''
}'error'
- UP_PAY_RESULT_K_SIGN → const String
-
支付结果报文json格式 { 'code':''
, 'data':'', 'sign':'', 'error':''
}'sign'
- UP_PAY_SUCCESS → const String
-
支付结果: 正常
"0000"