Class: Eddy::TransactionSets::TS850::Loops::N9::Repeat

Inherits:
Models::Loop::Repeat show all
Defined in:
lib/definitions/transaction_sets/manual/850/loops/n9.rb

Overview

Loop Summary:

  • Repeat: 1000
  • Components:
    • N9
    • MTX

Instance Attribute Summary

Attributes inherited from Models::Loop::Repeat

#components, #store

Instance Method Summary collapse

Methods inherited from Models::Loop::Repeat

#all_contents, #repeat

Constructor Details

#initialize(store) ⇒ void

Parameters:



26
27
28
29
30
31
32
33
34
# File 'lib/definitions/transaction_sets/manual/850/loops/n9.rb', line 26

def initialize(store)
  @n9 = Eddy::Segments::N9.new(store)
  @mtx = Eddy::Segments::MTX.new(store)
  super(
    store,
    @n9,
    @mtx,
  )
end

Instance Method Details

#MTX {|| ... } ⇒ Eddy::Segments::MTX

Segment Summary:

  • Id: MTX
  • Name: Text
  • Purpose: To specify textual data.

Yield Parameters:

Returns:



49
50
51
52
# File 'lib/definitions/transaction_sets/manual/850/loops/n9.rb', line 49

def MTX()
  yield(@mtx) if block_given?
  return @mtx
end

#N9 {|| ... } ⇒ Eddy::Segments::N9

Segment Summary:

  • Id: N9
  • Name: Extended Reference Information
  • Purpose: To transmit identifying information as specified by the Reference Identification Qualifier.

Yield Parameters:

Returns:



40
41
42
43
# File 'lib/definitions/transaction_sets/manual/850/loops/n9.rb', line 40

def N9()
  yield(@n9) if block_given?
  return @n9
end