PaymentType enum
支付类型
用于区分不同的支付交易类型
Values
- sale → const PaymentType
-
普通销售 - 直接扣款
-
预授权 - 冻结额度,不立即扣款 后续需调用 AuthorizationCompletion 完成扣款
- refund → const PaymentType
-
退款
- linkedRefund → const PaymentType
-
关联退款(无需刷卡)
- voidTransaction → const PaymentType
-
作废
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PaymentType> - A constant List of the values in this enum, in order of their declaration.