Sha256: d79d49398d24fbf6938b46e4500d15425652b22f6a09055afda3e8b84283b5a4

Contents?: true

Size: 1021 Bytes

Versions: 4

Compression:

Stored size: 1021 Bytes

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: I13
    # - Name: Acknowledgment Requested
    # - Type: ID
    # - Min/Max: 1/1
    # - Description: Code sent by the sender to request an interchange acknowledgment (`TA1`)
    #
    # ### Notes:
    #
    # - Default value: `"0"`
    class I13 < Eddy::Element::ID

      # @param val [String] ("0")
      # @param req [String] (nil)
      # @param ref [String] (nil)
      # @return [void]
      def initialize(val: "0", req: nil, ref: nil)
        @id = "I13"
        @name = "Acknowledgment Requested"
        @description = "Code sent by the sender to request an interchange acknowledgment (`TA1`)"
        super(
          min: 1,
          max: 1,
          req: req,
          ref: ref,
          val: val,
        )
      end

      # @return [Array<String>]
      def code_list()
        return [
          "0", # No Acknowledgment Requested
          "1", # Interchange Acknowledgment Requested
        ]
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/elements/manual/i/I13.acknowledgment_requested.rb
eddy-0.5.0 lib/definitions/elements/manual/i/I13.acknowledgment_requested.rb
eddy-0.4.0 lib/definitions/elements/manual/i/I13.acknowledgment_requested.rb
eddy-0.3.0 lib/definitions/elements/manual/i/I13.acknowledgment_requested.rb