class Eddy::Elements::E349
### Element Summary:
-
Id: 349
-
Name: Item Description Type
-
Type: ID
-
Min/Max: 1/1
-
Description: Code indicating the format of a description
Public Class Methods
new(val: nil, req: nil, ref: nil)
click to toggle source
@param val [String] @param req [String] @param ref [String] @return [void]
Calls superclass method
Eddy::Models::Element::ID::new
# File lib/definitions/elements/generated/349.item_description_type.rb, line 16 def initialize(val: nil, req: nil, ref: nil) @id = "349" @name = "Item Description Type" @description = "Code indicating the format of a description" super( min: 1, max: 1, req: req, ref: ref, val: val, ) end
Public Instance Methods
code_list()
click to toggle source
@return [Array<String>]
# File lib/definitions/elements/generated/349.item_description_type.rb, line 30 def code_list() return [ "F", # Free-form "S", # Structured (From Industry Code List) "X", # Semi-structured (Code and Text) ] end