Class: Eddy::Elements::I07

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

Overview

Element Summary:

  • Id: I07
  • Name: Interchange Receiver ID
  • Type: AN
  • Min/Max: 15/15
  • Description: Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

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: nil, req: nil, ref: nil) ⇒ void

Parameters:

  • val (String) (defaults to: nil)

    (nil)

  • req (String) (defaults to: nil)

    (nil)

  • ref (String) (defaults to: nil)

    (nil)



15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/definitions/elements/manual/i/I07.interchange_receiver_id.rb', line 15

def initialize(val: nil, req: nil, ref: nil)
  @id = "I07"
  @name = "Interchange Receiver ID"
  @description = "Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them"
  super(
    min: 15,
    max: 15,
    req: req,
    ref: ref,
    val: val,
  )
end