Sha256: 4af351b946391d8cfb5db9c29e8594d592617bb2d113fa0fd368af37de9575b9

Contents?: true

Size: 915 Bytes

Versions: 4

Compression:

Stored size: 915 Bytes

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 322
    # - Name: Load/Empty Status Code
    # - Type: ID
    # - Min/Max: 1/1
    # - Description: Code which specifies the loaded condition of transportation equipment
    class E322 < Eddy::Models::Element::ID

      # @param val [String]
      # @param req [String]
      # @param ref [String]
      # @return [void]
      def initialize(val: nil, req: nil, ref: nil)
        @id = "322"
        @name = "Load/Empty Status Code"
        @description = "Code which specifies the loaded condition of transportation equipment"
        super(
          min: 1,
          max: 1,
          req: req,
          ref: ref,
          val: val,
        )
      end

      # @return [Array<String>]
      def code_list()
        return [
          "E", # Empty
          "L", # Loaded
          "T", # Total
        ]
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/definitions/elements/generated/322.load_empty_status_code.rb
eddy-0.9.2 lib/definitions/elements/generated/322.load_empty_status_code.rb
eddy-0.9.1 lib/definitions/elements/generated/322.load_empty_status_code.rb
eddy-0.9.0 lib/definitions/elements/generated/322.load_empty_status_code.rb