程序包 com.walker.pay
Enum Class ServiceProvider
- 所有已实现的接口:
Serializable,Comparable<ServiceProvider>,Constable
支付提供商定义。
当提供商为银行"Bank"类型时,会存在多个具体银行名称的提供商,这是特殊情况,需要业务加载银行列表。
- 作者:
- 时克英
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量 -
字段概要
字段修饰符和类型字段说明static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
方法概要
修饰符和类型方法说明getIndex()getName()static final ServiceProviderstatic ServiceProviderReturns the enum constant of this class with the specified name.static ServiceProvider[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
Wechat
微信 -
Alipay
支付宝 -
UnionPay
银联 -
AllinPay
通联 -
NewLand
新大陆 -
HuaweiPay
华为 -
ApplePay
苹果 -
Bank
银行 -
AllinPayCloud
通商云(通联)支付 -
PayUnk
畅联第三方支付(用的转账,类似于下订单)
-
-
字段详细资料
-
PROVIDER_ID_WECHAT
- 另请参阅:
-
PROVIDER_ID_ALIPAY
- 另请参阅:
-
PROVIDER_ID_UNION_PAY
- 另请参阅:
-
PROVIDER_ID_ALLIN_PAY
- 另请参阅:
-
PROVIDER_ID_NEW_LAND
- 另请参阅:
-
PROVIDER_ID_HUAWEI_PAY
- 另请参阅:
-
PROVIDER_ID_APPLE_PAY
- 另请参阅:
-
PROVIDER_ID_BANK
- 另请参阅:
-
PROVIDER_ID_ALLINPAY_CLOUD
- 另请参阅:
-
PROVIDER_ID_PAYUNK
- 另请参阅:
-
PROVIDER_NAME_WECHAT
- 另请参阅:
-
PROVIDER_NAME_ALIPAY
- 另请参阅:
-
PROVIDER_NAME_UNION_PAY
- 另请参阅:
-
PROVIDER_NAME_ALLIN_PAY
- 另请参阅:
-
PROVIDER_NAME_NEW_LAND
- 另请参阅:
-
PROVIDER_NAME_HUAWEI_PAY
- 另请参阅:
-
PROVIDER_NAME_APPLE_PAY
- 另请参阅:
-
PROVIDER_NAME_BANK
- 另请参阅:
-
PROVIDER_NAME_ALLINPAY_CLOUD
- 另请参阅:
-
PROVIDER_NAME_PAYUNK
- 另请参阅:
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getIndex
-
getName
-
getType
-