public enum PaymentChannel extends Enum<PaymentChannel>
Modifier and Type | Class and Description |
---|---|
static class |
PaymentChannel.Adapter |
Enum Constant and Description |
---|
ENUM_UNKNOWN |
IN_STORE |
ONLINE |
OTHER |
Modifier and Type | Method and Description |
---|---|
static PaymentChannel |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static PaymentChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentChannel ONLINE
public static final PaymentChannel IN_STORE
public static final PaymentChannel OTHER
public static final PaymentChannel ENUM_UNKNOWN
public static PaymentChannel[] values()
for (PaymentChannel c : PaymentChannel.values()) System.out.println(c);
public static PaymentChannel 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 getValue()
public String toString()
toString
in class Enum<PaymentChannel>
public static PaymentChannel fromValue(String value)
Copyright © 2017–2024 Plaid Inc.. All rights reserved.