Package com.adyen.model.management
Enum SplitConfigurationRule.FundingSourceEnum
- java.lang.Object
-
- java.lang.Enum<SplitConfigurationRule.FundingSourceEnum>
-
- com.adyen.model.management.SplitConfigurationRule.FundingSourceEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SplitConfigurationRule.FundingSourceEnum>
- Enclosing class:
- SplitConfigurationRule
public static enum SplitConfigurationRule.FundingSourceEnum extends Enum<SplitConfigurationRule.FundingSourceEnum>
The funding source condition of the payment method (only for cards). Possible values: **credit**, **debit**, or **ANY**.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SplitConfigurationRule.FundingSourceEnumfromValue(String value)StringgetValue()StringtoString()static SplitConfigurationRule.FundingSourceEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SplitConfigurationRule.FundingSourceEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREDIT
public static final SplitConfigurationRule.FundingSourceEnum CREDIT
-
DEBIT
public static final SplitConfigurationRule.FundingSourceEnum DEBIT
-
ANY
public static final SplitConfigurationRule.FundingSourceEnum ANY
-
-
Method Detail
-
values
public static SplitConfigurationRule.FundingSourceEnum[] 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 (SplitConfigurationRule.FundingSourceEnum c : SplitConfigurationRule.FundingSourceEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SplitConfigurationRule.FundingSourceEnum 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<SplitConfigurationRule.FundingSourceEnum>
-
fromValue
public static SplitConfigurationRule.FundingSourceEnum fromValue(String value)
-
-