Package com.adyen.model.transfers
Enum Transaction.CategoryEnum
- java.lang.Object
-
- java.lang.Enum<Transaction.CategoryEnum>
-
- com.adyen.model.transfers.Transaction.CategoryEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Transaction.CategoryEnum>
- Enclosing class:
- Transaction
public static enum Transaction.CategoryEnum extends Enum<Transaction.CategoryEnum>
The category of the transaction indicating the type of activity. Possible values: * **platformPayment**: The transaction is a payment or payment modification made with an Adyen merchant account. * **internal**: The transaction resulted from an internal adjustment such as a deposit correction or invoice deduction. * **bank**: The transaction is a bank-related activity, such as sending a payout or receiving funds. * **issuedCard**: The transaction is a card-related activity, such as using an Adyen-issued card to pay online.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANKCARDGRANTSINTERNALISSUEDCARDMIGRATIONPLATFORMPAYMENTUPGRADE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transaction.CategoryEnumfromValue(String value)StringgetValue()StringtoString()static Transaction.CategoryEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Transaction.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 Transaction.CategoryEnum BANK
-
CARD
public static final Transaction.CategoryEnum CARD
-
GRANTS
public static final Transaction.CategoryEnum GRANTS
-
INTERNAL
public static final Transaction.CategoryEnum INTERNAL
-
ISSUEDCARD
public static final Transaction.CategoryEnum ISSUEDCARD
-
MIGRATION
public static final Transaction.CategoryEnum MIGRATION
-
PLATFORMPAYMENT
public static final Transaction.CategoryEnum PLATFORMPAYMENT
-
UPGRADE
public static final Transaction.CategoryEnum UPGRADE
-
-
Method Detail
-
values
public static Transaction.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 (Transaction.CategoryEnum c : Transaction.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 Transaction.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<Transaction.CategoryEnum>
-
fromValue
public static Transaction.CategoryEnum fromValue(String value)
-
-