Skip to content

Commit

Permalink
Add test data for transaction details wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-duplo committed Jan 29, 2018
1 parent d81a7e3 commit 45f4d4e
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/self-provided/transaction_details_wrapped.sta
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

:20:STARTUMSE
:25:12345678/1020304050
:28C:00000/001
:60F:C160229EUR1200,00
:61:1602300301DR6,00N024NONREF
:86:805?00ENTGELTABSCHLUSS?106666?20Pauschalen?3012345678?1122334
45566?602017-01-01T13
:12:11
:62F:C160301EUR1194,00
-
91 changes: 91 additions & 0 deletions tests/self-provided/transaction_details_wrapped.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
&id001 !!python/object:mt940.models.Transactions
data:
account_identification: 12345678/1020304050
final_closing_balance: !!python/object:mt940.models.Balance
amount: !!python/object:mt940.models.Amount
amount: !!python/object/apply:decimal.Decimal ['1194.00']
currency: EUR
date: !!python/object/apply:mt940.models.Date
- !!binary |
B+ADAQ==
status: C
final_opening_balance: !!python/object:mt940.models.Balance
amount: !!python/object:mt940.models.Amount
amount: !!python/object/apply:decimal.Decimal ['1200.00']
currency: EUR
date: !!python/object/apply:mt940.models.Date
- !!binary |
B+ACHQ==
status: C
sequence_number: '001'
statement_number: '00000'
transaction_reference: STARTUMSE
processors:
post_account_identification: []
post_available_balance: []
post_closing_balance: []
post_date_time_indication: []
post_final_closing_balance: []
post_final_opening_balance: []
post_floor_limit_indicator: []
post_forward_available_balance: []
post_intermediate_closing_balance: []
post_intermediate_opening_balance: []
post_non_swift: []
post_opening_balance: []
post_related_reference: []
post_statement: [!!python/name:mt940.processors.date_cleanup_post_processor '']
post_statement_number: []
post_sum_credit_entries: []
post_sum_debit_entries: []
post_transaction_details: [!!python/name:mt940.processors.transaction_details_post_processor '']
post_transaction_reference_number: []
pre_account_identification: []
pre_available_balance: []
pre_closing_balance: []
pre_date_time_indication: []
pre_final_closing_balance: []
pre_final_opening_balance: []
pre_floor_limit_indicator: []
pre_forward_available_balance: []
pre_intermediate_closing_balance: []
pre_intermediate_opening_balance: []
pre_non_swift: []
pre_opening_balance: []
pre_related_reference: []
pre_statement: [!!python/name:mt940.processors.date_fixup_pre_processor '']
pre_statement_number: []
pre_sum_credit_entries: []
pre_sum_debit_entries: []
pre_transaction_details: []
pre_transaction_reference_number: []
transactions:
- !!python/object:mt940.models.Transaction
data:
additional_purpose: '2017-01-01T13:12:11'
amount: !!python/object:mt940.models.Amount
amount: !!python/object/apply:decimal.Decimal ['-6.00']
currency: EUR
applicant_bin: '12345678'
applicant_iban: null
applicant_name: null
bank_reference: null
currency: EUR
customer_reference: NONREF
date: !!python/object/apply:mt940.models.Date
- !!binary |
B+ACHQ==
entry_date: !!python/object/apply:mt940.models.Date
- !!binary |
B+ADAQ==
extra_details: ''
funds_code: R
id: N024
posting_text: ENTGELTABSCHLUSS
prima_nota: '6666'
purpose: Pauschalen
recipient_name: null
return_debit_notes: null
status: D
transaction_code: '805'
transactions: *id001

0 comments on commit 45f4d4e

Please sign in to comment.