public enum StoredPaymentSourcePaymentType extends Enum<StoredPaymentSourcePaymentType>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
ONE_TIME
One Time payment such as online purchase or donation.
|
RECURRING
Payment which is part of a series of payments with fixed or variable amounts, following a fixed time interval.
|
UNSCHEDULED
Payment which is part of a series of payments that occur on a non-fixed schedule and/or have variable amounts.
|
| Modifier and Type | Method and Description |
|---|---|
static StoredPaymentSourcePaymentType |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static StoredPaymentSourcePaymentType |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<StoredPaymentSourcePaymentType> toConvert)
Convert list of StoredPaymentSourcePaymentType values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static StoredPaymentSourcePaymentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoredPaymentSourcePaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoredPaymentSourcePaymentType ONE_TIME
public static final StoredPaymentSourcePaymentType RECURRING
public static final StoredPaymentSourcePaymentType UNSCHEDULED
public static final StoredPaymentSourcePaymentType _UNKNOWN
public static StoredPaymentSourcePaymentType[] values()
for (StoredPaymentSourcePaymentType c : StoredPaymentSourcePaymentType.values()) System.out.println(c);
public static StoredPaymentSourcePaymentType 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 static StoredPaymentSourcePaymentType constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static StoredPaymentSourcePaymentType fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<StoredPaymentSourcePaymentType>public static List<String> toValue(List<StoredPaymentSourcePaymentType> toConvert)
toConvert - The list of StoredPaymentSourcePaymentType values to convert.Copyright © 2025. All rights reserved.