Package com.plaid.client.model
Enum TransactionCode
- java.lang.Object
-
- java.lang.Enum<TransactionCode>
-
- com.plaid.client.model.TransactionCode
-
- All Implemented Interfaces:
Serializable
,Comparable<TransactionCode>
public enum TransactionCode extends 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
INTEREST
NULL
PURCHASE
STANDING_ORDER
TRANSFER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionCode
fromValue(String value)
String
getValue()
String
toString()
static TransactionCode
valueOf(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 Detail
-
ADJUSTMENT
public static final TransactionCode ADJUSTMENT
-
ATM
public static final TransactionCode ATM
-
BANK_CHARGE
public static final TransactionCode BANK_CHARGE
-
BILL_PAYMENT
public static final TransactionCode BILL_PAYMENT
-
CASH
public static final TransactionCode CASH
-
CASHBACK
public static final TransactionCode CASHBACK
-
CHEQUE
public static final TransactionCode CHEQUE
-
DIRECT_DEBIT
public static final TransactionCode DIRECT_DEBIT
-
INTEREST
public static final TransactionCode INTEREST
-
PURCHASE
public static final TransactionCode PURCHASE
-
STANDING_ORDER
public static final TransactionCode STANDING_ORDER
-
TRANSFER
public static final TransactionCode TRANSFER
-
NULL
public static final TransactionCode NULL
-
-
Method Detail
-
values
public static TransactionCode[] 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 (TransactionCode c : TransactionCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionCode 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:
toString
in classEnum<TransactionCode>
-
fromValue
public static TransactionCode fromValue(String value)
-
-