AlipayResp class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- AlipayResp({int? resultStatus, String? result, String? memo})
-
const
-
AlipayResp.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCancelled → bool
-
no setter
- isSuccessful → bool
-
no setter
- memo → String?
-
final
- result → String?
-
支付后结果
final
- resultStatus → int?
-
支付状态,参考支付宝的文档https://docs.open.alipay.com/204/105695/
返回码,标识支付状态,含义如下:
9000——订单支付成功 下面的result有值
8000——正在处理中
4000——订单支付失败
5000——重复请求
6001——用户中途取消
6002——网络连接出错
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseAuthResult(
) → AuthResult? -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited