Package com.adyen.model.transfers
Enum TransferInfo.PriorityEnum
- java.lang.Object
-
- java.lang.Enum<TransferInfo.PriorityEnum>
-
- com.adyen.model.transfers.TransferInfo.PriorityEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TransferInfo.PriorityEnum>
- Enclosing class:
- TransferInfo
public static enum TransferInfo.PriorityEnum extends Enum<TransferInfo.PriorityEnum>
The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransferInfo.PriorityEnumfromValue(String value)StringgetValue()StringtoString()static TransferInfo.PriorityEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TransferInfo.PriorityEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CROSSBORDER
public static final TransferInfo.PriorityEnum CROSSBORDER
-
FAST
public static final TransferInfo.PriorityEnum FAST
-
INSTANT
public static final TransferInfo.PriorityEnum INSTANT
-
INTERNAL
public static final TransferInfo.PriorityEnum INTERNAL
-
REGULAR
public static final TransferInfo.PriorityEnum REGULAR
-
WIRE
public static final TransferInfo.PriorityEnum WIRE
-
-
Method Detail
-
values
public static TransferInfo.PriorityEnum[] 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 (TransferInfo.PriorityEnum c : TransferInfo.PriorityEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransferInfo.PriorityEnum 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<TransferInfo.PriorityEnum>
-
fromValue
public static TransferInfo.PriorityEnum fromValue(String value)
-
-