Class: Eddy::TransactionSets::TS850::Loops::CTP::Repeat

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

Overview

Loop Summary:

  • Repeat: 1
  • Components:
    • CTP

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:



25
26
27
28
29
30
31
# File 'lib/definitions/transaction_sets/manual/850/loops/ctp.rb', line 25

def initialize(store)
  @ctp = Eddy::Segments::CTP.new(store)
  super(
    store,
    @ctp,
  )
end

Instance Method Details

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

Segment Summary:

  • Id: CTP
  • Name: Pricing Information
  • Purpose: To specify pricing information.

Yield Parameters:

Returns:



37
38
39
40
# File 'lib/definitions/transaction_sets/manual/850/loops/ctp.rb', line 37

def CTP()
  yield(@ctp) if block_given?
  return @ctp
end