Class: Eddy::Elements::I02

Inherits:
Models::Element::AN show all
Defined in:
lib/definitions/elements/manual/i/I02.authorization_information.rb

Overview

Element Summary:

  • Id: I02
  • Name: Authorization Information
  • Type: AN
  • Min/Max: 10/10
  • Description: Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

Notes:

  • By default, this element's value is just 10 empty spaces.

Instance Attribute Summary

Attributes inherited from Models::Element::Base

#description, #id, #max, #min, #name, #ref, #type

Instance Method Summary collapse

Methods inherited from Models::Element::AN

#process_value, process_value, #value, #value=

Methods inherited from Models::Element::Base

#doc_comment, #process_value, process_value, #req, #req=, #value, #value=

Constructor Details

#initialize(val: (" " * 10), req: nil, ref: nil) ⇒ void

Parameters:

  • val (String) (defaults to: (" " * 10))

    (nil) (" ")

  • req (String) (defaults to: nil)

    (nil)

  • ref (String) (defaults to: nil)

    (nil)



19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/definitions/elements/manual/i/I02.authorization_information.rb', line 19

def initialize(val: (" " * 10), req: nil, ref: nil)
  @id = "I02"
  @name = "Authorization Information"
  @description = "Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (`I01`)"
  super(
    min: 10,
    max: 10,
    req: req,
    ref: ref,
    val: val,
  )
end