java.lang.Object
com.tectonica.jonix.onix3.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 digits | 
| Codelist | List 71 | 
| Reference name | <SalesRestrictionType> | 
| Short tag | <b381> | 
| Cardinality | 1 | 
| Example | <b381>04</b381> (Retailer exclusive) | 
- Since:
- Onix-3.02
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final SalesRestrictionTypestatic final Stringstatic final String(type: dt.NonEmptyString)
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription__v()Internal API, use theOnixElement.value()method or theOnixElement.value()field insteadbooleanexists()indicates whether this tag exists in the ONIX recordvoidifExists(Consumer<SalesRestrictionType> action) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tectonica.jonix.common.OnixElementequal, is, isNull, value
- 
Field Details- 
refname- See Also:
 
- 
shortname- See Also:
 
- 
datestamp(type: dt.DateOrDateTime)
- 
sourcename(type: dt.NonEmptyString)
- 
sourcetype
- 
value
- 
EMPTY
 
- 
- 
Constructor Details- 
SalesRestrictionTypepublic SalesRestrictionType()
- 
SalesRestrictionType
 
- 
- 
Method Details- 
__vInternal API, use theOnixElement.value()method or theOnixElement.value()field instead- Specified by:
- __vin interface- OnixElement<SalesRestrictionTypes>
 
- 
existspublic boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record
- 
ifExists
- 
codeOrNull
- 
descriptionOrNull
 
-