Module: ChinaBank::PayrollTextFile
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/china_bank/payroll_text_file.rb,
lib/china_bank/payroll_text_file/file.rb,
lib/china_bank/payroll_text_file/line.rb,
lib/china_bank/payroll_text_file/version.rb
Overview
Generates a payroll text file compatible with China Bank Auto Credit Arrangement (ACA).
@example:
ChinaBank::PayrollTextFile.generate account_number: ,
account_type: ,
branch_code: ,
transaction_type: ,
transactions: [
{
amount: ,
account_number: ,
account_type: ,
branch_code: ,
transaction_type:
}
]
Defined Under Namespace
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.generate(**options) ⇒ ChinaBank::PayrollTextFile::File
31 32 33 |
# File 'lib/china_bank/payroll_text_file.rb', line 31 def generate(**) File.new end |