Package com.adyen.model.management
Enum SplitConfigurationLogic.RemainderEnum
- java.lang.Object
-
- java.lang.Enum<SplitConfigurationLogic.RemainderEnum>
-
- com.adyen.model.management.SplitConfigurationLogic.RemainderEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SplitConfigurationLogic.RemainderEnum>
- Enclosing class:
- SplitConfigurationLogic
public static enum SplitConfigurationLogic.RemainderEnum extends Enum<SplitConfigurationLogic.RemainderEnum>
Books the amount left over after currency conversion to the specified balance account. Possible values: **addToLiableAccount**, **addToOneBalanceAccount**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDTOLIABLEACCOUNTADDTOONEBALANCEACCOUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SplitConfigurationLogic.RemainderEnumfromValue(String value)StringgetValue()StringtoString()static SplitConfigurationLogic.RemainderEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SplitConfigurationLogic.RemainderEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDTOLIABLEACCOUNT
public static final SplitConfigurationLogic.RemainderEnum ADDTOLIABLEACCOUNT
-
ADDTOONEBALANCEACCOUNT
public static final SplitConfigurationLogic.RemainderEnum ADDTOONEBALANCEACCOUNT
-
-
Method Detail
-
values
public static SplitConfigurationLogic.RemainderEnum[] 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 (SplitConfigurationLogic.RemainderEnum c : SplitConfigurationLogic.RemainderEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SplitConfigurationLogic.RemainderEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<SplitConfigurationLogic.RemainderEnum>
-
fromValue
public static SplitConfigurationLogic.RemainderEnum fromValue(String value)
-
-