Package com.adyen.model.transfers
Enum TransferInfo.CategoryEnum
- java.lang.Object
-
- java.lang.Enum<TransferInfo.CategoryEnum>
-
- com.adyen.model.transfers.TransferInfo.CategoryEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TransferInfo.CategoryEnum>
- Enclosing class:
- TransferInfo
public static enum TransferInfo.CategoryEnum extends Enum<TransferInfo.CategoryEnum>
The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. - **topUp**: an incoming transfer initiated by your user to top up their balance account.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANKCARDINTERNALISSUEDCARDPLATFORMPAYMENTTOPUP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransferInfo.CategoryEnumfromValue(String value)StringgetValue()StringtoString()static TransferInfo.CategoryEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TransferInfo.CategoryEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BANK
public static final TransferInfo.CategoryEnum BANK
-
CARD
public static final TransferInfo.CategoryEnum CARD
-
INTERNAL
public static final TransferInfo.CategoryEnum INTERNAL
-
ISSUEDCARD
public static final TransferInfo.CategoryEnum ISSUEDCARD
-
PLATFORMPAYMENT
public static final TransferInfo.CategoryEnum PLATFORMPAYMENT
-
TOPUP
public static final TransferInfo.CategoryEnum TOPUP
-
-
Method Detail
-
values
public static TransferInfo.CategoryEnum[] 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.CategoryEnum c : TransferInfo.CategoryEnum.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.CategoryEnum 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.CategoryEnum>
-
fromValue
public static TransferInfo.CategoryEnum fromValue(String value)
-
-