Sha256: 68ba37fe08f5196f6ae01970217a428884f0866b2478da69929cfaed3257811e

Contents?: true

Size: 913 Bytes

Versions: 4

Compression:

Stored size: 913 Bytes

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 349
    # - Name: Item Description Type
    # - Type: ID
    # - Min/Max: 1/1
    # - Description: Code indicating the format of a description
    class E349 < Eddy::Element::ID

      # @param val [String]
      # @param req [String]
      # @param ref [String]
      # @return [void]
      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

      # @return [Array<String>]
      def code_list()
        return [
          "F", # Free-form
          "S", # Structured (From Industry Code List)
          "X", # Semi-structured (Code and Text)
        ]
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/elements/generated/349.item_description_type.rb
eddy-0.5.0 lib/definitions/elements/generated/349.item_description_type.rb
eddy-0.4.0 lib/definitions/elements/generated/349.item_description_type.rb
eddy-0.3.0 lib/definitions/elements/generated/349.item_description_type.rb