net.authorize.data.echeck
Enum NOCCode
java.lang.Object
java.lang.Enum<NOCCode>
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.
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
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.