Module jonix.common
Enum Class SalesOutletIdentifierTypes
java.lang.Object
java.lang.Enum<SalesOutletIdentifierTypes>
com.tectonica.jonix.common.codelist.SalesOutletIdentifierTypes
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<SalesOutletIdentifierTypes>
,Constable
public enum SalesOutletIdentifierTypes
extends Enum<SalesOutletIdentifierTypes>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 102
Description: Sales outlet identifier type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCodelist
OnixCodelist.Pair
-
Enum Constant Summary
Enum ConstantDescriptionDEPRECATED - use code 03Use with ONIX retail and other end-user sales outlet IDs from List 139Proprietary list of retail and other end-user sales outlet IDs.13-digit GS1 global location number (formerly EAN location number).7-digit Book trade Standard Address Number (US, UK etc). -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SalesOutletIdentifierTypes
static Optional<SalesOutletIdentifierTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static SalesOutletIdentifierTypes
Returns the enum constant of this class with the specified name.static SalesOutletIdentifierTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.tectonica.jonix.common.OnixCodelist
pair
-
Enum Constant Details
-
Proprietary
Proprietary list of retail and other end-user sales outlet IDs. Note that <IDTypeName> is required with proprietary identifiers -
ONIX_retail_sales_outlet_ID_code
Use with ONIX retail and other end-user sales outlet IDs from List 139 -
Retail_sales_outlet_GLN
13-digit GS1 global location number (formerly EAN location number). Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
Retail_sales_outlet_SAN
7-digit Book trade Standard Address Number (US, UK etc). Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
BIC_sales_outlet_ID_code
DEPRECATED - use code 03Jonix-Comment: Deprecated in Onix3
-
-
Field Details
-
code
-
description
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
- Specified by:
getCode
in interfaceOnixCodelist
-
getDescription
- Specified by:
getDescription
in interfaceOnixCodelist
-
byCode
-
byCodeOptional
-
codeToDesciption
-