net.sf.ofx4j.domain.data.common
Enum TransactionType

java.lang.Object
  extended by java.lang.Enum<TransactionType>
      extended by net.sf.ofx4j.domain.data.common.TransactionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TransactionType>

public enum TransactionType
extends java.lang.Enum<TransactionType>

Author:
Ryan Heaton

Enum Constant Summary
ATM
          ATM transaction.
CASH
          cash.
CHECK
          check
CREDIT
          generic credit.
DEBIT
          genertic debit.
DEP
          deposit.
DIRECTDEBIT
          merchant-initiated debit
DIRECTDEP
          direct deposit.
DIV
          dividend.
FEE
          bank fee.
INT
          interest earned.
OTHER
          other
PAYMENT
          electronic payment
POS
          point of sale
REPEATPMT
          repeating payment.
SRVCHG
          service charge.
XFER
          transfer
 
Method Summary
static TransactionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransactionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREDIT

public static final TransactionType CREDIT
generic credit.


DEBIT

public static final TransactionType DEBIT
genertic debit.


INT

public static final TransactionType INT
interest earned.


DIV

public static final TransactionType DIV
dividend.


FEE

public static final TransactionType FEE
bank fee.


SRVCHG

public static final TransactionType SRVCHG
service charge.


DEP

public static final TransactionType DEP
deposit.


ATM

public static final TransactionType ATM
ATM transaction.


POS

public static final TransactionType POS
point of sale


XFER

public static final TransactionType XFER
transfer


CHECK

public static final TransactionType CHECK
check


PAYMENT

public static final TransactionType PAYMENT
electronic payment


CASH

public static final TransactionType CASH
cash.


DIRECTDEP

public static final TransactionType DIRECTDEP
direct deposit.


DIRECTDEBIT

public static final TransactionType DIRECTDEBIT
merchant-initiated debit


REPEATPMT

public static final TransactionType REPEATPMT
repeating payment.


OTHER

public static final TransactionType OTHER
other

Method Detail

values

public static TransactionType[] 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 (TransactionType c : TransactionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TransactionType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2008. All Rights Reserved.