Sha256: b6696c38c56aef1c5050dda6aca63b6af5d99b8d68a9087a611908dfcaf1ee15

Contents?: true

Size: 746 Bytes

Versions: 2

Compression:

Stored size: 746 Bytes

Contents

module ACH
  # Every ACH::Batch component ends with a batch control record.
  #
  # == Fields
  #
  # * record_type
  # * service_class_code
  # * entry_addenda_count
  # * entry_hash
  # * total_debit_amount
  # * total_credit_amount
  # * company_id
  # * authen_code
  # * bank_6
  # * origin_dfi_id
  # * batch_number
  class Batch::Control < Record::Base
    fields :record_type,
      :service_class_code,
      :entry_addenda_count,
      :entry_hash,
      :total_debit_amount,
      :total_credit_amount,
      :company_id,
      :authen_code,
      :bank_6,
      :origin_dfi_id,
      :batch_number
    
    defaults :record_type => BATCH_CONTROL_RECORD_TYPE,
      :authen_code        => '',
      :bank_6             => ''
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ach_builder-0.2.2 lib/ach/batch/control.rb
ach_builder-0.2.1 lib/ach/batch/control.rb