Class: SEPA::Builders::CreditTransfer::PaymentInformation
- Defined in:
- lib/sepa_rator/builders/credit_transfer/payment_information.rb
Instance Method Summary collapse
Methods inherited from Stage
Constructor Details
This class inherits a constructor from SEPA::Builders::Stage
Instance Method Details
#call ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/sepa_rator/builders/credit_transfer/payment_information.rb', line 7 def call .grouped_transactions.each do |group, transactions| builder.PmtInf do emit_header(group, transactions) emit_payment_type_information(group) emit_requested_execution_date(group) emit_debtor_info emit_pmtinf_debtor_agent_instruction(group) builder.ChrgBr(group.charge_bearer) if group.charge_bearer transactions.each { |transaction| emit_transaction(transaction, group) } end end end |