public enum PayType extends Enum<PayType>
| Enum Constant and Description |
|---|
APP
App pay type.
|
H5
H 5 pay type.
|
JSAPI
Jsapi pay type.
|
NATIVE
Native pay type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
type()
Type string.
|
static PayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PayType JSAPI
public static final PayType APP
public static final PayType H5
public static final PayType NATIVE
private final String type
public static PayType[] values()
for (PayType c : PayType.values()) System.out.println(c);
public static PayType 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 © 2023. All rights reserved.