Package com.adyen.model.transfers
Enum FundingInstrument.SourceOfFundsEnum
- java.lang.Object
-
- java.lang.Enum<FundingInstrument.SourceOfFundsEnum>
-
- com.adyen.model.transfers.FundingInstrument.SourceOfFundsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<FundingInstrument.SourceOfFundsEnum>
- Enclosing class:
- FundingInstrument
public static enum FundingInstrument.SourceOfFundsEnum extends Enum<FundingInstrument.SourceOfFundsEnum>
Indicates where the funds used for the transfer originated. Possible values are: - **DEBIT** for card-to-card transfers. - **DEPOSIT_ACCOUNT** for wallet-to-card transfers.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBITDEPOSIT_ACCOUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FundingInstrument.SourceOfFundsEnumfromValue(String value)StringgetValue()StringtoString()static FundingInstrument.SourceOfFundsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static FundingInstrument.SourceOfFundsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBIT
public static final FundingInstrument.SourceOfFundsEnum DEBIT
-
DEPOSIT_ACCOUNT
public static final FundingInstrument.SourceOfFundsEnum DEPOSIT_ACCOUNT
-
-
Method Detail
-
values
public static FundingInstrument.SourceOfFundsEnum[] 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 (FundingInstrument.SourceOfFundsEnum c : FundingInstrument.SourceOfFundsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FundingInstrument.SourceOfFundsEnum 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<FundingInstrument.SourceOfFundsEnum>
-
fromValue
public static FundingInstrument.SourceOfFundsEnum fromValue(String value)
-
-