public enum TicketType extends Enum<TicketType>
| Enum Constant and Description |
|---|
CARD
用于调用卡券相关接口的临时票据
|
JSAPI
用于调用微信JSSDK的临时票据
|
| Modifier and Type | Method and Description |
|---|---|
String |
type() |
static TicketType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TicketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TicketType JSAPI
public static final TicketType CARD
public static TicketType[] values()
for (TicketType c : TicketType.values()) System.out.println(c);
public static TicketType 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 © 2019. All rights reserved.