Package com.six.timapi.constants
Enum CustomerDataType
- java.lang.Object
-
- java.lang.Enum<CustomerDataType>
-
- com.six.timapi.constants.CustomerDataType
-
- All Implemented Interfaces:
Serializable
,Comparable<CustomerDataType>
public enum CustomerDataType extends Enum<CustomerDataType>
Specifies what kind of customer information the sixml:CustomerDataItem contains.
The following values are valid:
Specification: retail.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOMER_ID
Customer identifier e.g.FURTHER_INFO
Further information e.g.LOYALTY_BRAND_ID
Identifier of the loyalty brand used.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomerDataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CustomerDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUSTOMER_ID
public static final CustomerDataType CUSTOMER_ID
Customer identifier e.g. of a Loyalty program.
Specification: retail.
-
LOYALTY_BRAND_ID
public static final CustomerDataType LOYALTY_BRAND_ID
Identifier of the loyalty brand used.
Specification: retail.
-
FURTHER_INFO
public static final CustomerDataType FURTHER_INFO
Further information e.g. promotion codes or promotion descriptions. The values are defined by the merchant or acquirer.
Specification: retail.
-
-
Method Detail
-
values
public static CustomerDataType[] 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 (CustomerDataType c : CustomerDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomerDataType 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
-
-