Class: Eddy::TransactionSets::TS810::Loops::SAC::Repeat

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

Overview

Loop Summary:

  • Repeat: 25
  • Components:
    • SAC

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
# File 'lib/definitions/transaction_sets/manual/810/loops/sac.rb', line 26

def initialize(store)
  @sac = Eddy::Segments::SAC.new(store)
  super(store, @sac)
end

Instance Method Details

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

Segment Summary:

  • Id: SAC
  • Name: Service, Promotion, Allowance, or Charge Information
  • Purpose: To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service,promotion, allowance, or charge.

Yield Parameters:

Returns:



35
36
37
38
# File 'lib/definitions/transaction_sets/manual/810/loops/sac.rb', line 35

def SAC()
  yield(@sac) if block_given?
  return @sac
end