Sha256: 5e0df4248fb3577def020e7ac776c4db6467f881e5df363621a5908abce15d32

Contents?: true

Size: 690 Bytes

Versions: 4

Compression:

Stored size: 690 Bytes

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 22
    # - Name: Commodity Code
    # - Type: AN
    # - Min/Max: 1/30
    # - Description: Code describing a commodity or group of commodities
    class E22 < Eddy::Element::AN
      # @param val [String]
      # @param req [String]
      # @param ref [String]
      # @return [void]
      def initialize(val: nil, req: nil, ref: nil)
        @id = "22"
        @name = "Commodity Code"
        @description = "Code describing a commodity or group of commodities"
        super(
          min: 1,
          max: 30,
          req: req,
          ref: ref,
          val: val,
        )
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/elements/generated/22.commodity_code.rb
eddy-0.5.0 lib/definitions/elements/generated/22.commodity_code.rb
eddy-0.4.0 lib/definitions/elements/generated/22.commodity_code.rb
eddy-0.3.0 lib/definitions/elements/generated/22.commodity_code.rb