Package io.moov.sdk.models.components
Enum DebitHoldPeriod
- java.lang.Object
-
- java.lang.Enum<DebitHoldPeriod>
-
- io.moov.sdk.models.components.DebitHoldPeriod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DebitHoldPeriod>
public enum DebitHoldPeriod extends java.lang.Enum<DebitHoldPeriod>
DebitHoldPeriodAn optional override of your default ACH hold period in banking days. The hold period must be longer than or equal to your default setting.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_HOLDONE_MINUS_DAYTWO_MINUS_DAYS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<DebitHoldPeriod>fromValue(java.lang.String value)java.lang.Stringvalue()static DebitHoldPeriodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DebitHoldPeriod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_HOLD
public static final DebitHoldPeriod NO_HOLD
-
ONE_MINUS_DAY
public static final DebitHoldPeriod ONE_MINUS_DAY
-
TWO_MINUS_DAYS
public static final DebitHoldPeriod TWO_MINUS_DAYS
-
-
Method Detail
-
values
public static DebitHoldPeriod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DebitHoldPeriod c : DebitHoldPeriod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DebitHoldPeriod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
-
fromValue
public static java.util.Optional<DebitHoldPeriod> fromValue(java.lang.String value)
-
-