net.authorize.data.echeck
Enum NOCCode

java.lang.Object
  extended by java.lang.Enum<NOCCode>
      extended by net.authorize.data.echeck.NOCCode
All Implemented Interfaces:
Serializable, Comparable<NOCCode>

public enum NOCCode
extends Enum<NOCCode>

ACH notice of change (NOC) codes that may be received from the customer's bank in the event of a discrepancy in the bank information provided with the transaction.


Enum Constant Summary
C01
           
C02
           
C03
           
C04
           
C05
           
C06
           
C07
           
 
Method Summary
static NOCCode findByCode(String code)
           
 String getCode()
           
 String getDescription()
           
 String getNocReason()
           
static NOCCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NOCCode[] 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

C01

public static final NOCCode C01

C02

public static final NOCCode C02

C03

public static final NOCCode C03

C04

public static final NOCCode C04

C05

public static final NOCCode C05

C06

public static final NOCCode C06

C07

public static final NOCCode C07
Method Detail

values

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

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

valueOf

public static NOCCode 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 name
NullPointerException - if the argument is null

findByCode

public static NOCCode findByCode(String code)

getCode

public String getCode()
Returns:
the code

getNocReason

public String getNocReason()
Returns:
the nocReason

getDescription

public String getDescription()
Returns:
the description


Copyright © 2014. All Rights Reserved.