public static enum APIResource.RequestType extends Enum<APIResource.RequestType>
Modifier and Type | Method and Description |
---|---|
static APIResource.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIResource.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIResource.RequestType NORMAL
public static final APIResource.RequestType MULTIPART
public static APIResource.RequestType[] values()
for (APIResource.RequestType c : APIResource.RequestType.values()) System.out.println(c);
public static APIResource.RequestType 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 nullCopyright © 2016 Stripe. All rights reserved.