class FinancialInstitutionPayment
Public Instance Methods
convertion_rate()
click to toggle source
# File lib/payment_dta/payments/financial_institution_payment.rb, line 27 def convertion_rate @data[:convertion_rate].to_s.ljust(12) end
payment_amount_value()
click to toggle source
Calls superclass method
DTA::Payments::Base#payment_amount_value
# File lib/payment_dta/payments/financial_institution_payment.rb, line 19 def payment_amount_value super(15) end
payment_amount_value_date()
click to toggle source
# File lib/payment_dta/payments/financial_institution_payment.rb, line 23 def payment_amount_value_date @data[:payment_amount_value_date].to_s.ljust(6) end
payment_type()
click to toggle source
# File lib/payment_dta/payments/financial_institution_payment.rb, line 11 def payment_type '0' end
requested_processing_date()
click to toggle source
# File lib/payment_dta/payments/financial_institution_payment.rb, line 15 def requested_processing_date '000000' end
transaction_type()
click to toggle source
# File lib/payment_dta/payments/financial_institution_payment.rb, line 7 def transaction_type '830' end
Protected Instance Methods
build_segment1()
click to toggle source
Calls superclass method
DTA::Payments::Base#build_segment1
# File lib/payment_dta/payments/financial_institution_payment.rb, line 33 def build_segment1 super + reference_number + account_to_be_debited + payment_amount + reserve_field(11) end
build_segment2()
click to toggle source
Calls superclass method
DTA::Payments::Base#build_segment2
# File lib/payment_dta/payments/financial_institution_payment.rb, line 37 def build_segment2 super + convertion_rate + ordering_partys_address(24) + reserve_field(18) end
build_segment3()
click to toggle source
Calls superclass method
DTA::Payments::Base#build_segment3
# File lib/payment_dta/payments/financial_institution_payment.rb, line 41 def build_segment3 super + identification_bank_address + beneficiary_institution_bank_account_number + beneficiary_institution_address + reserve_field(5) end
build_segment4()
click to toggle source
Calls superclass method
DTA::Payments::Base#build_segment4
# File lib/payment_dta/payments/financial_institution_payment.rb, line 45 def build_segment4 super + beneficiary_bank_account_number + beneficiary_address(24) + reserve_field(6) end
build_segment5()
click to toggle source
Calls superclass method
DTA::Payments::Base#build_segment5
# File lib/payment_dta/payments/financial_institution_payment.rb, line 49 def build_segment5 super + reason_for_payment_message(30) + reserve_field(6) end
build_segment6()
click to toggle source
Calls superclass method
DTA::Payments::Base#build_segment6
# File lib/payment_dta/payments/financial_institution_payment.rb, line 53 def build_segment6 super + bank_payment_instructions + reserve_field(6) end