net.authorize
Enum MarketType
java.lang.Object
java.lang.Enum<MarketType>
net.authorize.MarketType
- All Implemented Interfaces:
- Serializable, Comparable<MarketType>
public enum MarketType
- extends Enum<MarketType>
MarketType is used for Card Present transactions.
|
Method Summary |
String |
getValue()
Return the MarketType value. |
static MarketType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MarketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
RETAIL
public static final MarketType RETAIL
values
public static MarketType[] 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 (MarketType c : MarketType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MarketType 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
getValue
public String getValue()
- Return the MarketType value.
- Returns:
- the value
Copyright © 2014. All Rights Reserved.