java.lang.Object
com.tectonica.jonix.onix2.SalesRestrictionType
- All Implemented Interfaces:
OnixElement<SalesRestrictionTypes>
,OnixTag
,Serializable
public class SalesRestrictionType
extends Object
implements OnixElement<SalesRestrictionTypes>, Serializable
Sales restriction type code
An ONIX code which identifies a non-territorial sales restriction. Mandatory in each occurrence of the <SalesRestriction> composite, and non-repeating.
Format | Fixed-length, two numeric digits. |
Codelist | List 71 |
Reference name | <SalesRestrictionType> |
Short tag | <b381> |
Example | <b381>02</b381> To be sold only though office supplies wholesalers |
- Since:
- Onix-2.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final SalesRestrictionType
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<SalesRestrictionType> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
-
EMPTY
-
-
Constructor Details
-
SalesRestrictionType
public SalesRestrictionType() -
SalesRestrictionType
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<SalesRestrictionTypes>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-