Sha256: ff4e4e8406846b7cdf9b6dc10254b5d3961f7046412c3ef5c505549b5b699afd

Contents?: true

Size: 707 Bytes

Versions: 4

Compression:

Stored size: 707 Bytes

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 80
    # - Name: Lading Quantity
    # - Type: N0
    # - Min/Max: 1/7
    # - Description: Number of units (pieces) of the lading commodity
    class E80 < Eddy::Element::N
      # @param val [Integer]
      # @param req [String]
      # @param ref [String]
      # @return [void]
      def initialize(val: nil, req: nil, ref: nil)
        @id = "80"
        @name = "Lading Quantity"
        @description = "Number of units (pieces) of the lading commodity"
        super(
          min: 1,
          max: 7,
          req: req,
          ref: ref,
          val: val,
          decimals: 0,
        )
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/elements/generated/80.lading_quantity.rb
eddy-0.5.0 lib/definitions/elements/generated/80.lading_quantity.rb
eddy-0.4.0 lib/definitions/elements/generated/80.lading_quantity.rb
eddy-0.3.0 lib/definitions/elements/generated/80.lading_quantity.rb