Sha256: 7682120bb92aa860edb8566f130b3059c2cd730a24ae72635c12802f510dfb74

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

module FinTS
  module Segment
    # HKSPA (SEPA-Kontoverbindung anfordern)
    # Section C.10.1.3
    class HKSPA < BaseSegment
      def initialize(segno, accno, subaccfeature, blz)
        data = if accno.nil?
                  ['']
                else
                  [[accno, subaccfeature, country_code, blz].join(':')]
                end
        super(segno, data)
      end

      protected

      def type
        'HKSPA'
      end
      
      def version
        1
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_fints-0.0.4 lib/fints/segment/hkspa.rb
ruby_fints-0.0.3 lib/fints/segment/hkspa.rb
ruby_fints-0.0.2 lib/fints/segment/hkspa.rb