class Eddy::TransactionSets::TS846::TS846

### Transaction Set Summary:

Constants

FUNCTIONAL_GROUP
ID
NAME

Public Class Methods

new(store) click to toggle source

@param store [Eddy::Data::Store] @return [void]

Calls superclass method Eddy::Models::TransactionSet::new
# File lib/definitions/transaction_sets/manual/846/846.rb, line 17
def initialize(store)
  @bia = Eddy::Segments::BIA.new(store)
  @cur = Eddy::Segments::CUR.new(store)
  @dtm = Eddy::Segments::DTM.new(store)
  @ref = Eddy::Segments::REF.new(store)
  @per = Eddy::Segments::PER.new(store)
  @l_n1 = Eddy::TransactionSets::TS846::Loops::N1::Base.new(store)
  @l_lin = Eddy::TransactionSets::TS846::Loops::LIN::Base.new(store)
  @ctt = Eddy::Segments::CTT.new(store)
  super(
    store,
    @bia,
    @cur,
    @dtm,
    @ref,
    @per,
    @l_n1,
    @l_lin,
    @ctt,
  )
end

Public Instance Methods

BIA() { |bia| ... } click to toggle source

(see Eddy::Segments::BIA)

@yieldparam [Eddy::Segments::BIA] @return [Eddy::Segments::BIA]

# File lib/definitions/transaction_sets/manual/846/846.rb, line 43
def BIA()
  yield(@bia) if block_given?
  return @bia
end
CTT() { |ctt| ... } click to toggle source

(see Eddy::Segments::CTT)

@yieldparam [Eddy::Segments::CTT] @return [Eddy::Segments::CTT]

# File lib/definitions/transaction_sets/manual/846/846.rb, line 114
def CTT()
  yield(@ctt) if block_given?
  return @ctt
end
CUR() { |cur| ... } click to toggle source

(see Eddy::Segments::CUR)

@yieldparam [Eddy::Segments::CUR] @return [Eddy::Segments::CUR]

# File lib/definitions/transaction_sets/manual/846/846.rb, line 52
def CUR()
  yield(@cur) if block_given?
  return @cur
end
DTM() { |dtm| ... } click to toggle source

(see Eddy::Segments::DTM)

@yieldparam [Eddy::Segments::DTM] @return [Eddy::Segments::DTM]

# File lib/definitions/transaction_sets/manual/846/846.rb, line 61
def DTM()
  yield(@dtm) if block_given?
  return @dtm
end
L_LIN(&block) click to toggle source

(see Eddy::TransactionSets::TS846::Loops::LIN::Base)

@yieldparam [Eddy::TransactionSets::TS846::Loops::LIN::Repeat] @return [void]

# File lib/definitions/transaction_sets/manual/846/846.rb, line 101
def L_LIN(&block)
  if block_given?
    @l_lin.repeat(&block)
  else
    raise Eddy::Errors::Error, "No block given in loop iteration"
  end
  return nil
end
L_N1(&block) click to toggle source

(see Eddy::TransactionSets::TS846::Loops::N1::Base)

@yieldparam [Eddy::TransactionSets::TS846::Loops::N1::Repeat] @return [void]

# File lib/definitions/transaction_sets/manual/846/846.rb, line 88
def L_N1(&block)
  if block_given?
    @l_n1.repeat(&block)
  else
    raise Eddy::Errors::Error, "No block given in loop iteration"
  end
  return nil
end
PER() { |per| ... } click to toggle source

(see Eddy::Segments::PER)

@yieldparam [Eddy::Segments::PER] @return [Eddy::Segments::PER]

# File lib/definitions/transaction_sets/manual/846/846.rb, line 79
def PER()
  yield(@per) if block_given?
  return @per
end
REF() { |ref| ... } click to toggle source

(see Eddy::Segments::REF)

@yieldparam [Eddy::Segments::REF] @return [Eddy::Segments::REF]

# File lib/definitions/transaction_sets/manual/846/846.rb, line 70
def REF()
  yield(@ref) if block_given?
  return @ref
end