Package com.adyen.model.transfers
Enum Transfer.PriorityEnum
- java.lang.Object
-
- java.lang.Enum<Transfer.PriorityEnum>
-
- com.adyen.model.transfers.Transfer.PriorityEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Transfer.PriorityEnum>
- Enclosing class:
- Transfer
public static enum Transfer.PriorityEnum extends Enum<Transfer.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**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). This will be removed in v4 and replaced with a new field.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CROSSBORDERDIRECTDEBITFASTINSTANTINTERNALREGULARWIRE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transfer.PriorityEnumfromValue(String value)StringgetValue()StringtoString()static Transfer.PriorityEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Transfer.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 Transfer.PriorityEnum CROSSBORDER
-
DIRECTDEBIT
public static final Transfer.PriorityEnum DIRECTDEBIT
-
FAST
public static final Transfer.PriorityEnum FAST
-
INSTANT
public static final Transfer.PriorityEnum INSTANT
-
INTERNAL
public static final Transfer.PriorityEnum INTERNAL
-
REGULAR
public static final Transfer.PriorityEnum REGULAR
-
WIRE
public static final Transfer.PriorityEnum WIRE
-
-
Method Detail
-
values
public static Transfer.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 (Transfer.PriorityEnum c : Transfer.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 Transfer.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<Transfer.PriorityEnum>
-
fromValue
public static Transfer.PriorityEnum fromValue(String value)
-
-