public static enum GoCardlessClient.Environment extends java.lang.Enum<GoCardlessClient.Environment>
Available environments for this client.
| Enum Constant and Description |
|---|
LIVE
Live environment (base URL https://api.gocardless.com).
|
SANDBOX
Sandbox environment (base URL https://api-sandbox.gocardless.com).
|
| Modifier and Type | Method and Description |
|---|---|
static GoCardlessClient.Environment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GoCardlessClient.Environment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoCardlessClient.Environment LIVE
public static final GoCardlessClient.Environment SANDBOX
public static GoCardlessClient.Environment[] values()
for (GoCardlessClient.Environment c : GoCardlessClient.Environment.values()) System.out.println(c);
public static GoCardlessClient.Environment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null