Class: FinTS::Segment::HKKAZ

Inherits:
BaseSegment show all
Defined in:
lib/fints/segment/hkkaz.rb

Overview

Instance Attribute Summary

Attributes inherited from BaseSegment

#segmentno

Instance Method Summary collapse

Methods inherited from BaseSegment

#to_s

Constructor Details

#initialize(segno, version, account, date_start, date_end, touchdown) ⇒ HKKAZ

Returns a new instance of HKKAZ.



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/fints/segment/hkkaz.rb', line 7

def initialize(segno, version, , date_start, date_end, touchdown)
  @version = version
  data = [
    ,
    'N',
    date_start.strftime('%Y%m%d'),
    date_end.strftime('%Y%m%d'),
    '',
    touchdown ? Helper.fints_escape(touchdown) : ''
  ]
  super(segno, data)
end