public enum TradeType extends Enum<TradeType>
| Enum Constant and Description |
|---|
APP
APP支付
|
JSAPI
公众号支付
|
MICROPAY
刷卡支付
|
NATIVE
原生扫码支付
|
| Modifier and Type | Method and Description |
|---|---|
static TradeType |
from(String s) |
String |
type() |
static TradeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TradeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TradeType JSAPI
public static final TradeType NATIVE
public static final TradeType APP
public static final TradeType MICROPAY
public static TradeType[] values()
for (TradeType c : TradeType.values()) System.out.println(c);
public static TradeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String type()
Copyright © 2016. All rights reserved.