Package com.plaid.client.model
Enum TransactionCode
java.lang.Object
java.lang.Enum<TransactionCode>
com.plaid.client.model.TransactionCode
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransactionCode>
,java.lang.constant.Constable
public enum TransactionCode extends java.lang.Enum<TransactionCode>
An identifier classifying the transaction type. This field is only populated for European institutions. For institutions in the US and Canada, this field is set to `null`. `adjustment:` Bank adjustment `atm:` Cash deposit or withdrawal via an automated teller machine `bank charge:` Charge or fee levied by the institution `bill payment`: Payment of a bill `cash:` Cash deposit or withdrawal `cashback:` Cash withdrawal while making a debit card purchase `cheque:` Document ordering the payment of money to another person or organization `direct debit:` Automatic withdrawal of funds initiated by a third party at a regular interval `interest:` Interest earned or incurred `purchase:` Purchase made with a debit or credit card `standing order:` Payment instructed by the account holder to a third party at a regular interval `transfer:` Transfer of money between accounts
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionCode.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJUSTMENT
ATM
BANK_CHARGE
BILL_PAYMENT
CASH
CASHBACK
CHEQUE
DIRECT_DEBIT
ENUM_UNKNOWN
INTEREST
NULL
PURCHASE
STANDING_ORDER
TRANSFER
-
Method Summary
Modifier and Type Method Description static TransactionCode
fromValue(java.lang.String value)
java.lang.String
getValue()
java.lang.String
toString()
static TransactionCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransactionCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<TransactionCode>
-
fromValue
-