Package de.adorsys.psd2.model
Enum ExecutionRule
- java.lang.Object
-
- java.lang.Enum<ExecutionRule>
-
- de.adorsys.psd2.model.ExecutionRule
-
- All Implemented Interfaces:
Serializable,Comparable<ExecutionRule>
public enum ExecutionRule extends Enum<ExecutionRule>
\"following\" or \"preceding\" supported as values. This data attribute defines the behaviour when recurring payment dates falls on a weekend or bank holiday. The payment is then executed either the \"preceding\" or \"following\" working day. ASPSP might reject the request due to the communicated value, if rules in Online-Banking are not supporting this execution rule.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionRulefromValue(String text)StringtoString()static ExecutionRulevalueOf(String name)Returns the enum constant of this type with the specified name.static ExecutionRule[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOLLOWING
public static final ExecutionRule FOLLOWING
-
PRECEDING
public static final ExecutionRule PRECEDING
-
-
Method Detail
-
values
public static ExecutionRule[] 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 (ExecutionRule c : ExecutionRule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionRule valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<ExecutionRule>
-
fromValue
public static ExecutionRule fromValue(String text)
-
-