public enum PaymentType extends Enum<PaymentType>
| Modifier and Type | Method and Description |
|---|---|
static Optional<PaymentType> |
getByValue(String name) |
String |
getValue() |
static PaymentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentType SINGLE
public static final PaymentType BULK
public static final PaymentType PERIODIC
public static PaymentType[] values()
for (PaymentType c : PaymentType.values()) System.out.println(c);
public static PaymentType 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 static Optional<PaymentType> getByValue(String name)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.