bankserv 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTUwNTMzNmZmZTZjYzQ3MmEyMTM1ODhiOGViOTYxY2QxNTVlYTBkOQ==
4
+ OWVhODZjNjg5ZTVkZTNkMTEyYzMxNDI0ZjI2MWI2M2RhNjA5YjlhOA==
5
5
  data.tar.gz: !binary |-
6
- YjQ2YzEzNTRmODE5M2QwNzRiOGM1OGRiZmMwNWI4MTBhOThjYTAyNA==
6
+ YzM5YWRiNTNlNWZiMDAyOGRiZWM1MzNmZGY0NWU1MzBlNmU4NmNkZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2YwMmM4OTVlYjg2ODFjMDE2NGE3MzU2ZWQ4MTkzOThjMzc5MzVhNmZlY2M1
10
- Y2MwYjI2ZDFiOWYzZGM5MjdiOTIxODQ5MTE5NTQ4ZDVhYTg3YjMwYjVlZDE5
11
- YzE0MjdlODMzMWY1YWIzZWU5ZmQ1NWY4YjM5MDljNWYzNzdiNDM=
9
+ YWU5NTJkYzgwMThiZTg3YmQyNWMyZmM0ZDBhNzgwMTVhNmI2NmRlNmE5YWVk
10
+ YTA1MTg0N2ZlNTg0NWViMjAwYWYxYWExODQ0NWRmMmI1MDJjZmYzMmE1Mzdi
11
+ YTEyN2Y2MTBkYTNjY2RiNDA1ODk4YjY3ZjZlMDBiYmYzZGJlNDU=
12
12
  data.tar.gz: !binary |-
13
- ZGY5ZWM1MjRlNzlhZmMxMTQxMjUwMGYxMmQ0OGQ1Yjk3ZGUxMjMxNmU4NTRi
14
- MGEzYjI4NjdiOWM5ZTJjOWNiNmJhNTkwODg4OTExYWM4ZTRlNjkzZjcwZGI5
15
- ZjQzOTdjMjg2NTAwNzg5OGZjNmUxNjQ1ZjA1Y2Q5NTgyNzMwNjc=
13
+ MDdiYzQwNGIxOTAxOTg3MDk2MGQ0YWE2YTEzOWU5MjAzYjNiNDhjYjU4NWE4
14
+ NzIyNzZhZGZlNDc4MmViZGVkOTY5OTcwOGMzNmE2MjBhZGI5YjhhN2ZlNGRk
15
+ N2UxMjU3YWMzN2RhMzYxNWVkM2VkMWYzN2JlZWFlMmNjMWM3ZmI=
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source "http://rubygems.org"
4
4
  gemspec
5
5
 
6
6
  group :development do
7
- gem 'mysql2'
7
+ # gem 'mysql2'
8
8
  gem 'rspec'
9
9
  gem 'rspec-rails'
10
10
  gem 'sqlite3'
@@ -21,9 +21,20 @@ module Bankserv
21
21
  def process!
22
22
  raise "Document already processed" if processed?
23
23
 
24
+ count = 1
25
+ account_number = recon_account_detail_records.first[:data][:account_number]
26
+
24
27
  recon_account_detail_records.each do |record|
25
28
  next if record[:data][:transaction_description] == "GEEN/NO TRAN"
26
- Bankserv::Transaction.create! data: record[:data], client_code: client_code, bankserv_statement_id: id
29
+
30
+ if record[:data][:account_number] != account_number
31
+ account_number = record[:data][:account_number]
32
+ count = 1
33
+ end
34
+
35
+ Bankserv::Transaction.create! data: record[:data].merge(transaction_number_for_day: count), client_code: client_code, bankserv_statement_id: id
36
+
37
+ count += 1
27
38
  end
28
39
 
29
40
  self.processed = true
@@ -1,3 +1,3 @@
1
1
  module Bankserv
2
- VERSION = "0.8.0"
3
- end
2
+ VERSION = "0.8.1"
3
+ end
@@ -0,0 +1,287 @@
1
+ 00000000000000000000P2015060110831RENTAL CONNECT PTY LTD 10831 000001122
2
+ 10000000004079058521011230000120150531 +000000000000000+00000000010069389 AA0A 000001122
3
+ 2000000000407905852101123000012015053120150530000000000000007196-000000000072120+00000000009997269INTERNET BANK FEE SETTLEMENT INET/MOB FEE/FOOI FN71CGI +000000000 +000000000+000000000 000007196000000003000008857000000000000000000000000000000 0700 000000000000000 0000000000000000 0000000000000000000 0000011220707
4
+ 10000000004079188514010790000120150531 +000000000000000+00000000000018647 AA0A 000001122
5
+ 2000000000407918851401079000012015053120150531000000000000000000+000000000000000+00000000000018647GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
6
+ 10000000004079189120010790000120150531 +000000000000000+00000000000107755 AA0A 000001122
7
+ 2000000000407918912001079000012015053120150531000000000000000000+000000000000000+00000000000107755GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
8
+ 10000000004079321932010450000120150531 +000000000000000+00000000000297671 AA0A 000001122
9
+ 2000000000407932193201045000012015053120150531000000000000000000+000000000000000+00000000000297671GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
10
+ 10000000004079322019010440000120150531 +000000000000000+00000000000000199 AA0A 000001122
11
+ 2000000000407932201901044000012015053120150531000000000000000000+000000000000000+00000000000000199GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
12
+ 10000000004079322530010450000120150531 +000000000000000+00000000013203049 AA0A 000001122
13
+ 2000000000407932253001045000012015053120150531000000000000000000+000000000555000+00000000013758049STOP ORDER FROM SETTLEMENT ABSA BANK MISS R COGILL FN71SIC +000000000 +000000000+000000000 000005367000000003000000000000000000000000000000000000000 3560 000000000000000 0000000000000000 0000000000000000000 0000011225166
14
+ 10000000004079323625010450000120150531 +000000000000000+00000000008526821 AA0A 000001122
15
+ 2000000000407932362501045000012015053120150531000000000000000000+000000000830000+00000000009356821IBANK PAYMENT FROM SETTLEMENT ABSA BANK 42 Liberte STB018 FN71BCC +000000000 +000000000+000000000 000004366000000003000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
16
+ 10000000004079323748010440000120150531 +000000000000000+00000000004316240 AA0A 000001122
17
+ 2000000000407932374801044000012015053120150531000000000000000000+000000000000000+00000000004316240GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
18
+ 10000000004079323803010450000120150531 +000000000000000+00000000000000000 AA0A 000001122
19
+ 2000000000407932380301045000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
20
+ 10000000004079323853010440000120150531 +000000000000000+00000000011614355 AA0A 000001122
21
+ 2000000000407932385301044000012015053120150531000000000000000000+000000000600800+00000000012215155ATM PAYMENT FR B/FELL ATM ABSA BANK RC160235937 FN71BCA +000000000 +000000000+000000000 000007960000000003000000000000000000000000000000000000000 0300 000000000000000 0000000000000000 0000000000000000000 0000011225151
22
+ 2000000000407932385301044000012015053120150531000000000000000000+000000000480000+00000000012695155ATM PAYMENT FR B/FELL ATM ABSA BANK RC160231138 FN71BCA +000000000 +000000000+000000000 000007961000000005000000000000000000000000000000000000000 0300 000000000000000 0000000000000000 0000000000000000000 0000011225151
23
+ 2000000000407932385301044000012015053120150531000000000000000000+000000000510000+00000000013205155ATM PAYMENT FR GOODWOOD A ABSA BANK BRA-6HIZR FN71BCA +000000000 +000000000+000000000 000007962000000007000000000000000000000000000000000000000 0300 000000000000000 0000000000000000 0000000000000000000 0000011225151
24
+ 2000000000407932385301044000012015053120150531000000000000000000+000000000325000+00000000013530155CARDLESS CASH DEP B/FELL ATM rc160223976 FN71CLAD+000000000 +000000000-000005237 000007963000000009000000000000000000000000000000000000000 0011 000000000000000 0000000000000000 0000000000000000000 0000011225151
25
+ 2000000000407932385301044000012015053120150531000000000000000000+000000000410000+00000000013940155IBANK PAYMENT FROM SETTLEMENT ABSA BANK BRA-PL3ZO FN71BCC +000000000 +000000000+000000000 000007964000000011000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
26
+ 10000000004079328316010440000120150531 +000000000000000+00000000029518738 AA0A 000001122
27
+ 2000000000407932831601044000012015053120150531000000000000000000+000000000000000+00000000029518738GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
28
+ 10000000004079328748010430000120150531 +000000000000000+00000000019803178 AA0A 000001122
29
+ 2000000000407932874801043000012015053120150531000000000000000000+000000000000000+00000000019803178GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
30
+ 10000000004079329265010440000120150531 +000000000000000+00000000004069645 AA0A 000001122
31
+ 2000000000407932926501044000012015053120150531000000000000000000+000000000000000+00000000004069645GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
32
+ 10000000004079329299010430000120150531 +000000000000000+00000000056215808 AA0A 000001122
33
+ 2000000000407932929901043000012015053120150531000000000000000000+000000000000000+00000000056215808GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
34
+ 10000000004079329401010440000120150531 +000000000000000+00000000060921789 AA0A 000001122
35
+ 2000000000407932940101044000012015053120150531000000000000000000+000000000000000+00000000060921789GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
36
+ 10000000004083386720003900000120150531 +000000000000000+00000000008759556 AA0A 000001122
37
+ 2000000000408338672000390000012015053120150531000000000000000000+000000000000000+00000000008759556GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
38
+ 10000000004083387001003910000120150531 +000000000000000+00000000049981696 AA0A 000001122
39
+ 2000000000408338700100391000012015053120150531000000000000000000+000000000675000+00000000050656696IBANK PAYMENT FROM SETTLEMENT ABSA BANK RC162192150 FN71BCC +000000000 +000000000+000000000 000015817000000003000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
40
+ 2000000000408338700100391000012015053120150531000000000000000000+000000000596087+00000000051252783IBANK PAYMENT FROM SETTLEMENT ABSA BANK 30 Rustenberg str RiFN71BCC +000000000 +000000000+000000000 000015818000000005000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
41
+ 10000000004083387093003910000120150531 +000000000000000+00000000000368470 AA0A 000001122
42
+ 2000000000408338709300391000012015053120150531000000000000000000+000000000000000+00000000000368470GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
43
+ 10000000004083387441003910000120150531 +000000000000000+00000000015234299 AA0A 000001122
44
+ 2000000000408338744100391000012015053120150531000000000000000000+000000000575000+00000000015809299IBANK PAYMENT FROM SETTLEMENT ABSA BANK RC161744315 FN71BCC +000000000 +000000000+000000000 000005324000000003000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
45
+ 10000000004083387514003910000120150531 +000000000000000+00000000012978545 AA0A 000001122
46
+ 2000000000408338751400391000012015053120150531000000000000000000+000000000900000+00000000013878545IMMEDIATE TRF CR SETTLEMENT FIRSTRAND Meulstr 38 Junie FN71VPRC+000000000 +000000000+000000000 000005357000000003000000000000000000000000000000000000000 4300 000000000000000 0000000000000000 0000000000000000000 0000011225151
47
+ 10000000004083387572003910000120150531 +000000000000000+00000000010505498 AA0A 000001122
48
+ 2000000000408338757200391000012015053120150531000000000000000000+000000000360000+00000000010865498CARDLESS CASH DEP RASC R/BAY m101 woudsig FN71CLAD+000000000 +000000000-000005745 000005431000000003000000000000000000000000000000000000000 0011 000000000000000 0000000000000000 0000000000000000000 0000011225151
49
+ 10000000004083387742003900000120150531 +000000000000000+00000000017935341 AA0A 000001122
50
+ 2000000000408338774200390000012015053120150531000000000000000000+000000000420000+00000000018355341IBANK PAYMENT FROM SETTLEMENT ABSA BANK 20 Carwell FN71BCC +000000000 +000000000+000000000 000005288000000003000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
51
+ 2000000000408338774200390000012015053120150531000000000000000000+000000000517000+00000000018872341CARDLESS CASH DEP B/FELL ATM kuid4c21 FN71CLAD+000000000 +000000000-000008021 000005289000000005000000000000000000000000000000000000000 0011 000000000000000 0000000000000000 0000000000000000000 0000011225151
52
+ 10000000004083387823003910000120150531 +000000000000000+00000000008984530 AA0A 000001122
53
+ 2000000000408338782300391000012015053120150531000000000000000000+000000000000000+00000000008984530GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
54
+ 10000000004083387954003910000120150531 +000000000000000+00000000000202977 AA0A 000001122
55
+ 2000000000408338795400391000012015053120150531000000000000000000+000000000000000+00000000000202977GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
56
+ 10000000004083388081003910000120150531 +000000000000000+00000000001356862 AA0A 000001122
57
+ 2000000000408338808100391000012015053120150531000000000000000000+000000000000000+00000000001356862GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
58
+ 10000000004083414460003870000120150531 +000000000000000+00000000039246139 AA0A 000001122
59
+ 2000000000408341446000387000012015053120150531000000000000000000+000000000000000+00000000039246139GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
60
+ 10000000004083414606003870000120150531 +000000000000000+00000000085280710 AA0A 000001122
61
+ 2000000000408341460600387000012015053120150531000000000000000000+000000000000000+00000000085280710GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
62
+ 10000000004083414698003870000120150531 +000000000000000+00000000000061779 AA0A 000001122
63
+ 2000000000408341469800387000012015053120150531000000000000000000+000000000000000+00000000000061779GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
64
+ 10000000004083414787003870000120150531 +000000000000000+00000000013575132 AA0A 000001122
65
+ 2000000000408341478700387000012015053120150531000000000000000000+000000000000000+00000000013575132GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
66
+ 10000000004083414868003870000120150531 +000000000000000+00000000034856997 AA0A 000001122
67
+ 2000000000408341486800387000012015053120150531000000000000000000+000000000000000+00000000034856997GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
68
+ 10000000004083414907003870000120150531 +000000000000000+00000000024473722 AA0A 000001122
69
+ 2000000000408341490700387000012015053120150531000000000000000000+000000000000000+00000000024473722GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
70
+ 10000000004083415000003870000120150531 +000000000000000+00000000037026279 AA0A 000001122
71
+ 2000000000408341500000387000012015053120150531000000000000000000+000000000000000+00000000037026279GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
72
+ 10000000004083415034003870000120150531 +000000000000000+00000000020473246 AA0A 000001122
73
+ 2000000000408341503400387000012015053120150531000000000000000000+000000000000000+00000000020473246GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
74
+ 10000000004083415068003870000120150531 +000000000000000+00000000000760926 AA0A 000001122
75
+ 2000000000408341506800387000012015053120150531000000000000000000+000000000000000+00000000000760926GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
76
+ 10000000004083415173003870000120150531 +000000000000000+00000000000050136 AA0A 000001122
77
+ 2000000000408341517300387000012015053120150531000000000000000000+000000000000000+00000000000050136GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
78
+ 10000000004084166161003230000120150531 +000000000000000+00000000000089600 AA0A 000001122
79
+ 2000000000408416616100323000012015053120150531000000000000000000+000000000000000+00000000000089600GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
80
+ 10000000004084166234003230000120150531 +000000000000000+00000000000762646 AA0A 000001122
81
+ 2000000000408416623400323000012015053120150531000000000000000000+000000000000000+00000000000762646GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
82
+ 10000000004084166276003230000120150531 +000000000000000+00000000002150525 AA0A 000001122
83
+ 2000000000408416627600323000012015053120150531000000000000000000+000000000000000+00000000002150525GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
84
+ 10000000004084166323003230000120150531 +000000000000000+00000000007030412 AA0A 000001122
85
+ 2000000000408416632300323000012015053120150531000000000000000000+000000000000000+00000000007030412GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
86
+ 10000000004084166357003230000120150531 +000000000000000+00000000027447327 AA0A 000001122
87
+ 2000000000408416635700323000012015053120150531000000000000000000+000000000000000+00000000027447327GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
88
+ 10000000004084166373003230000120150531 +000000000000000+00000000006921125 AA0A 000001122
89
+ 2000000000408416637300323000012015053120150531000000000000000000+000000000000000+00000000006921125GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
90
+ 10000000004084166399003230000120150531 +000000000000000+00000000000609666 AA0A 000001122
91
+ 2000000000408416639900323000012015053120150531000000000000000000+000000000000000+00000000000609666GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
92
+ 10000000004084166420003230000120150531 +000000000000000+00000000001604052 AA0A 000001122
93
+ 2000000000408416642000323000012015053120150531000000000000000000+000000000000000+00000000001604052GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
94
+ 10000000004084166446003230000120150531 +000000000000000+00000000002132821 AA0A 000001122
95
+ 2000000000408416644600323000012015053120150531000000000000000000+000000000000000+00000000002132821GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
96
+ 10000000004084166488003230000120150531 +000000000000000+00000000006265136 AA0A 000001122
97
+ 2000000000408416648800323000012015053120150531000000000000000000+000000000370000+00000000006635136CARDLESS CASH DEP GOODWOOD A 39 sailfish FN71CLAD+000000000 +000000000-000005890 000003962000000003000000000000000000000000000000000000000 0011 000000000000000 0000000000000000 0000000000000000000 0000011225151
98
+ 10000000004084166577003230000120150531 +000000000000000+00000000000050696 AA0A 000001122
99
+ 2000000000408416657700323000012015053120150531000000000000000000+000000000000000+00000000000050696GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
100
+ 10000000004084166593003230000120150531 +000000000000000+00000000020919687 AA0A 000001122
101
+ 2000000000408416659300323000012015053120150531000000000000000000+000000000000000+00000000020919687GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
102
+ 10000000004084166616003230000120150531 +000000000000000+00000000012941722 AA0A 000001122
103
+ 2000000000408416661600323000012015053120150531000000000000000000+000000000000000+00000000012941722GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
104
+ 10000000004084166632003220000120150531 +000000000000000+00000000001002921 AA0A 000001122
105
+ 2000000000408416663200322000012015053120150531000000000000000000+000000000000000+00000000001002921GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
106
+ 10000000004084166658003230000120150531 +000000000000000+00000000063912393 AA0A 000001122
107
+ 2000000000408416665800323000012015053120150531000000000000000000+000000000000000+00000000063912393GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
108
+ 10000000004084166682003220000120150531 +000000000000000+00000000010675648 AA0A 000001122
109
+ 2000000000408416668200322000012015053120150531000000000000000000+000000000000000+00000000010675648GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
110
+ 10000000004084166721003230000120150531 +000000000000000+00000000000446451 AA0A 000001122
111
+ 2000000000408416672100323000012015053120150531000000000000000000+000000000000000+00000000000446451GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
112
+ 10000000004084166739003230000120150531 +000000000000000+00000000004687168 AA0A 000001122
113
+ 2000000000408416673900323000012015053120150531000000000000000000+000000000000000+00000000004687168GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
114
+ 10000000004084166789003230000120150531 +000000000000000+00000000004625884 AA0A 000001122
115
+ 2000000000408416678900323000012015053120150531000000000000000000+000000000000000+00000000004625884GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
116
+ 10000000004084166810003230000120150531 +000000000000000+00000000022610864 AA0A 000001122
117
+ 2000000000408416681000323000012015053120150531000000000000000000+000000000000000+00000000022610864GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
118
+ 10000000004084267444003090000120150531 +000000000000000+00000000003299632 AA0A 000001122
119
+ 2000000000408426744400309000012015053120150531000000000000000000+000000000000000+00000000003299632GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
120
+ 10000000004084267452003080000120150531 +000000000000000+00000000000525100 AA0A 000001122
121
+ 2000000000408426745200308000012015053120150531000000000000000000+000000000000000+00000000000525100GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
122
+ 10000000004084267460003090000120150531 +000000000000000+00000000000218676 AA0A 000001122
123
+ 2000000000408426746000309000012015053120150531000000000000000000+000000001000000+00000000001218676IBANK PAYMENT FROM SETTLEMENT ABSA BANK 21 ASCOT FN71BCC +000000000 +000000000+000000000 000002828000000003000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
124
+ 10000000004084267478003090000120150531 +000000000000000+00000000007192913 AA0A 000001122
125
+ 2000000000408426747800309000012015053120150531000000000000000000+000000000510000+00000000007702913IBANK PAYMENT FROM SETTLEMENT ABSA BANK WEL-MR26V FN71BCC +000000000 +000000000+000000000 000003464000000003000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
126
+ 2000000000408426747800309000012015053120150531000000000000000000+000000000245000+00000000007947913IBANK PAYMENT FROM SETTLEMENT ABSA BANK WEL-HIPBJ FN71BCC +000000000 +000000000+000000000 000003465000000005000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
127
+ 10000000004084267486003090000120150531 +000000000000000+00000000000041454 AA0A 000001122
128
+ 2000000000408426748600309000012015053120150531000000000000000000+000000000000000+00000000000041454GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
129
+ 10000000004084267494003090000120150531 +000000000000000+00000000004801624 AA0A 000001122
130
+ 2000000000408426749400309000012015053120150531000000000000000000+000000000000000+00000000004801624GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
131
+ 10000000004084267509003090000120150531 +000000000000000+00000000001308392 AA0A 000001122
132
+ 2000000000408426750900309000012015053120150531000000000000000000+000000000000000+00000000001308392GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
133
+ 10000000004084267517003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
134
+ 2000000000408426751700309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
135
+ 10000000004084267525003090000120150531 +000000000000000+00000000012472661 AA0A 000001122
136
+ 2000000000408426752500309000012015053120150531000000000000000000+000000000614866+00000000013087527ATM PAYMENT FR ABSA BLUFF ABSA BANK 32 SCHOOL ROAD FN71BCA +000000000 +000000000+000000000 000003389000000003000000000000000000000000000000000000000 0300 000000000000000 0000000000000000 0000000000000000000 0000011225151
137
+ 10000000004084267533003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
138
+ 2000000000408426753300309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
139
+ 10000000004084267541003090000120150531 +000000000000000+00000000016864150 AA0A 000001122
140
+ 2000000000408426754100309000012015053120150531000000000000000000+000000000465000+00000000017329150IMMEDIATE TRF CR SETTLEMENT FIRSTRAND 104 Rossdeel FN71VPRC+000000000 +000000000+000000000 000003139000000003000000000000000000000000000000000000000 4300 000000000000000 0000000000000000 0000000000000000000 0000011225151
141
+ 10000000004084267559003080000120150531 +000000000000000+00000000005723824 AA0A 000001122
142
+ 2000000000408426755900308000012015053120150531000000000000000000+000000000000000+00000000005723824GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
143
+ 10000000004084267567003090000120150531 +000000000000000+00000000004722278 AA0A 000001122
144
+ 2000000000408426756700309000012015053120150531000000000000000000+000000000000000+00000000004722278GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
145
+ 10000000004084267575003090000120150531 +000000000000000+00000000005723444 AA0A 000001122
146
+ 2000000000408426757500309000012015053120150531000000000000000000+000000000000000+00000000005723444GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
147
+ 10000000004084267583003080000120150531 +000000000000000+00000000001850000 AA0A 000001122
148
+ 2000000000408426758300308000012015053120150531000000000000000000+000000000000000+00000000001850000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
149
+ 10000000004084267591003090000120150531 +000000000000000+00000000000206340 AA0A 000001122
150
+ 2000000000408426759100309000012015053120150531000000000000000000+000000000000000+00000000000206340GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
151
+ 10000000004084267606003090000120150531 +000000000000000+00000000004336374 AA0A 000001122
152
+ 2000000000408426760600309000012015053120150531000000000000000000+000000000000000+00000000004336374GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
153
+ 10000000004084267614003090000120150531 +000000000000000+00000000000982491 AA0A 000001122
154
+ 2000000000408426761400309000012015053120150531000000000000000000+000000000000000+00000000000982491GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
155
+ 10000000004084267622003080000120150531 +000000000000000+00000000007914118 AA0A 000001122
156
+ 2000000000408426762200308000012015053120150531000000000000000000+000000000250000+00000000008164118CARDLESS CASH DEP ORMONDE AS rumbcm27 FN71CLAD+000000000 +000000000+000000000 000003167000000003000000000000000000000000000000000000000 0011 000000000000000 0000000000000000 0000000000000000000 0000011225151
157
+ 2000000000408426762200308000012015053120150531000000000000000000+000000000240000+00000000008404118CARDLESS CASH DEP ORMONDE AS rumbcm27 FN71CLAD+000000000 +000000000+000000000 000003168000000005000000000000000000000000000000000000000 0011 000000000000000 0000000000000000 0000000000000000000 0000011225151
158
+ 2000000000408426762200308000012015053120150531000000000000000000+000000000010000+00000000008414118CARDLESS CASH DEP ORMONDE AS rumbcm27 FN71CLAD+000000000 +000000000+000000000 000003169000000007000000000000000000000000000000000000000 0011 000000000000000 0000000000000000 0000000000000000000 0000011225151
159
+ 2000000000408426762200308000012015053120150531000000000000000000+000000002385387+00000000010799505IBANK PAYMENT FROM SETTLEMENT ABSA BANK RUMKROCY FN71BCC +000000000 +000000000+000000000 000003170000000009000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
160
+ 10000000004084267630003090000120150531 +000000000000000+00000000023868408 AA0A 000001122
161
+ 2000000000408426763000309000012015053120150531000000000000000000+000000000800000+00000000024668408IBANK PAYMENT FROM SETTLEMENT ABSA BANK 2 Silver Oak Close FN71BCC +000000000 +000000000+000000000 000002904000000003000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
162
+ 10000000004084267648003090000120150531 +000000000000000+00000000005200170 AA0A 000001122
163
+ 2000000000408426764800309000012015053120150531000000000000000000+000000000000000+00000000005200170GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
164
+ 10000000004084267664003090000120150531 +000000000000000+00000000000006000 AA0A 000001122
165
+ 2000000000408426766400309000012015053120150531000000000000000000+000000000000000+00000000000006000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
166
+ 10000000004084267672003080000120150531 +000000000000000+00000000000006000 AA0A 000001122
167
+ 2000000000408426767200308000012015053120150531000000000000000000+000000000000000+00000000000006000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
168
+ 10000000004084267680003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
169
+ 2000000000408426768000309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
170
+ 10000000004084267698003080000120150531 +000000000000000+00000000000400230 AA0A 000001122
171
+ 2000000000408426769800308000012015053120150531000000000000000000+000000000000000+00000000000400230GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
172
+ 10000000004084267703003090000120150531 +000000000000000+00000000007501271 AA0A 000001122
173
+ 2000000000408426770300309000012015053120150531000000000000000000+000000000000000+00000000007501271GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
174
+ 10000000004084267711003090000120150531 +000000000000000+00000000036994845 AA0A 000001122
175
+ 2000000000408426771100309000012015053120150529000000000000000000+000000000265800+00000000037260645ACB CONTRA SETTLEMENT UNPAID 7, KORHAAN STREET, AFN71AKC +000000000 +000000000+000000000 000003384000000003000000000000000000000000000000000000000 0190 000000000000000 0000000000000000 0000000000000000000 0000011225151
176
+ 2000000000408426771100309000012015053120150531000000000000000000+000000000530000+00000000037790645IBANK PAYMENT FROM SETTLEMENT ABSA BANK GEO-5YVOX FN71BCC +000000000 +000000000+000000000 000003385000000006000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
177
+ 2000000000408426771100309000012015053120150531000000000000000000+000000000450000+00000000038240645CARDLESS CASH DEP GEORGE RAS geo zhbwn FN71CLAD+000000000 +000000000+000000000 000003386000000008000000000000000000000000000000000000000 0011 000000000000000 0000000000000000 0000000000000000000 0000011225151
178
+ 2000000000408426771100309000012015053120150531000000000000000000+000000000687233+00000000038927878IBANK PAYMENT FROM SETTLEMENT ABSA BANK GEO B7OWQ FN71BCC +000000000 +000000000+000000000 000003388000000010000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
179
+ 2000000000408426771100309000012015053120150531000000000000000000+000000000280000+00000000039207878IBANK PAYMENT FROM SETTLEMENT ABSA BANK GEO-5C12B FN71BCC +000000000 +000000000+000000000 000003390000000012000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
180
+ 2000000000408426771100309000012015053120150531000000000000000000+000000000022122+00000000039230000IBANK PAYMENT FROM SETTLEMENT ABSA BANK GEO-R0C0K FN71BCC +000000000 +000000000+000000000 000003392000000014000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
181
+ 10000000004084267729003080000120150531 +000000000000000+00000000000000000 AA0A 000001122
182
+ 2000000000408426772900308000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
183
+ 10000000004084267737003090000120150531 +000000000000000+00000000010495832 AA0A 000001122
184
+ 2000000000408426773700309000012015053120150531000000000000000000+000000001050000+00000000011545832IBANK PAYMENT FROM SETTLEMENT ABSA BANK DUR-MAFZA FN71BCC +000000000 +000000000+000000000 000002631000000003000000000000000000000000000000000000000 0330 000000000000000 0000000000000000 0000000000000000000 0000011225151
185
+ 10000000004084267745003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
186
+ 2000000000408426774500309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
187
+ 10000000004084267753003090000120150531 +000000000000000+00000000004715907 AA0A 000001122
188
+ 2000000000408426775300309000012015053120150531000000000000000000+000000000000000+00000000004715907GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
189
+ 10000000004084267761003090000120150531 +000000000000000+00000000000125000 AA0A 000001122
190
+ 2000000000408426776100309000012015053120150531000000000000000000+000000000000000+00000000000125000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
191
+ 10000000004084267779003080000120150531 +000000000000000+00000000001648294 AA0A 000001122
192
+ 2000000000408426777900308000012015053120150531000000000000000000+000000000000000+00000000001648294GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
193
+ 10000000004084267787003090000120150531 +000000000000000+00000000005477783 AA0A 000001122
194
+ 2000000000408426778700309000012015053120150531000000000000000000+000000000000000+00000000005477783GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
195
+ 10000000004084267795003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
196
+ 2000000000408426779500309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
197
+ 10000000004084267800003090000120150531 +000000000000000+00000000001255000 AA0A 000001122
198
+ 2000000000408426780000309000012015053120150531000000000000000000+000000000000000+00000000001255000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
199
+ 10000000004084267818003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
200
+ 2000000000408426781800309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
201
+ 10000000004084267826003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
202
+ 2000000000408426782600309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
203
+ 10000000004084267834003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
204
+ 2000000000408426783400309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
205
+ 10000000004084267842003080000120150531 +000000000000000+00000000003482244 AA0A 000001122
206
+ 2000000000408426784200308000012015053120150531000000000000000000+000000000000000+00000000003482244GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
207
+ 10000000004084267850003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
208
+ 2000000000408426785000309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
209
+ 10000000004084267868003080000120150531 +000000000000000+00000000000025977 AA0A 000001122
210
+ 2000000000408426786800308000012015053120150531000000000000000000+000000000000000+00000000000025977GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
211
+ 10000000004084267876003090000120150531 +000000000000000+00000000027359059 AA0A 000001122
212
+ 2000000000408426787600309000012015053120150531000000000000000000+000000000000000+00000000027359059GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
213
+ 10000000004084267892003080000120150531 +000000000000000+00000000000040291 AA0A 000001122
214
+ 2000000000408426789200308000012015053120150531000000000000000000+000000000000000+00000000000040291GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
215
+ 10000000004084267907003090000120150531 +000000000000000+00000000002646112 AA0A 000001122
216
+ 2000000000408426790700309000012015053120150531000000000000000000+000000000000000+00000000002646112GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
217
+ 10000000004084267915003090000120150531 +000000000000000+00000000001266853 AA0A 000001122
218
+ 2000000000408426791500309000012015053120150531000000000000000000+000000000000000+00000000001266853GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
219
+ 10000000004084267923003090000120150531 +000000000000000+00000000000009084 AA0A 000001122
220
+ 2000000000408426792300309000012015053120150531000000000000000000+000000000000000+00000000000009084GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
221
+ 10000000004084267931003090000120150531 +000000000000000+00000000028033223 AA0A 000001122
222
+ 2000000000408426793100309000012015053120150531000000000000000000+000000000000000+00000000028033223GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
223
+ 10000000004084267949003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
224
+ 2000000000408426794900309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
225
+ 10000000004084267957003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
226
+ 2000000000408426795700309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
227
+ 10000000004084267965003090000120150531 +000000000000000+00000000036435498 AA0A 000001122
228
+ 2000000000408426796500309000012015053120150531000000000000000000+000000000000000+00000000036435498GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
229
+ 10000000004084267973003090000120150531 +000000000000000+00000000008674883 AA0A 000001122
230
+ 2000000000408426797300309000012015053120150531000000000000000000+000000000000000+00000000008674883GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
231
+ 10000000004084267981003090000120150531 +000000000000000+00000000024773198 AA0A 000001122
232
+ 2000000000408426798100309000012015053120150531000000000000000000+000000000000000+00000000024773198GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
233
+ 10000000004084267999003090000120150531 +000000000000000+00000000001843619 AA0A 000001122
234
+ 2000000000408426799900309000012015053120150531000000000000000000+000000000000000+00000000001843619GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
235
+ 10000000004084268000003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
236
+ 2000000000408426800000309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
237
+ 10000000004084268018003090000120150531 +000000000000000+00000000001819734 AA0A 000001122
238
+ 2000000000408426801800309000012015053120150531000000000000000000+000000000000000+00000000001819734GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
239
+ 10000000004084268026003090000120150531 +000000000000000+00000000000780309 AA0A 000001122
240
+ 2000000000408426802600309000012015053120150531000000000000000000+000000000000000+00000000000780309GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
241
+ 10000000004084268034003090000120150531 +000000000000000+00000000003332018 AA0A 000001122
242
+ 2000000000408426803400309000012015053120150531000000000000000000+000000000000000+00000000003332018GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
243
+ 10000000004084268042003080000120150531 +000000000000000+00000000036940166 AA0A 000001122
244
+ 2000000000408426804200308000012015053120150531000000000000000000+000000000000000+00000000036940166GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
245
+ 10000000004084268050003090000120150531 +000000000000000+00000000028656067 AA0A 000001122
246
+ 2000000000408426805000309000012015053120150531000000000000000000+000000000000000+00000000028656067GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
247
+ 10000000004084268068003090000120150531 +000000000000000+00000000005201938 AA0A 000001122
248
+ 2000000000408426806800309000012015053120150531000000000000000000+000000000000000+00000000005201938GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
249
+ 10000000004084268076003090000120150531 +000000000000000+00000000000012138 AA0A 000001122
250
+ 2000000000408426807600309000012015053120150531000000000000000000+000000000000000+00000000000012138GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
251
+ 10000000004084268084003090000120150531 +000000000000000+00000000000006069 AA0A 000001122
252
+ 2000000000408426808400309000012015053120150531000000000000000000+000000000000000+00000000000006069GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
253
+ 10000000004084268092003080000120150531 +000000000000000+00000000000006069 AA0A 000001122
254
+ 2000000000408426809200308000012015053120150531000000000000000000+000000000000000+00000000000006069GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
255
+ 10000000004084268107003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
256
+ 2000000000408426810700309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
257
+ 10000000004084268115003090000120150531 +000000000000000+00000000009645828 AA0A 000001122
258
+ 2000000000408426811500309000012015053120150531000000000000000000+000000000000000+00000000009645828GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
259
+ 10000000004084268123003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
260
+ 2000000000408426812300309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
261
+ 10000000004084268131003090000120150531 +000000000000000+00000000081416012 AA0A 000001122
262
+ 2000000000408426813100309000012015053120150531000000000000000000+000000000000000+00000000081416012GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
263
+ 10000000004084268149003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
264
+ 2000000000408426814900309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
265
+ 10000000004084268157003090000120150531 +000000000000000+00000000026021064 AA0A 000001122
266
+ 2000000000408426815700309000012015053120150531000000000000000000+000000000000000+00000000026021064GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
267
+ 10000000004084268165003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
268
+ 2000000000408426816500309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
269
+ 10000000004084268173003080000120150531 +000000000000000+00000000002400000 AA0A 000001122
270
+ 2000000000408426817300308000012015053120150531000000000000000000+000000000000000+00000000002400000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
271
+ 10000000004084268181003090000120150531 +000000000000000+00000000000175027 AA0A 000001122
272
+ 2000000000408426818100309000012015053120150531000000000000000000+000000000000000+00000000000175027GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
273
+ 10000000004084268199003080000120150531 +000000000000000+00000000002070936 AA0A 000001122
274
+ 2000000000408426819900308000012015053120150531000000000000000000+000000000000000+00000000002070936GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
275
+ 10000000004084268212003080000120150531 +000000000000000+00000000014510903 AA0A 000001122
276
+ 2000000000408426821200308000012015053120150531000000000000000000+000000000000000+00000000014510903GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
277
+ 10000000004084268220003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
278
+ 2000000000408426822000309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
279
+ 10000000004084268238003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
280
+ 2000000000408426823800309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
281
+ 10000000004084268296003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
282
+ 2000000000408426829600309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
283
+ 10000000004084268301003090000120150531 +000000000000000+00000000000000000 AA0A 000001122
284
+ 2000000000408426830100309000012015053120150531000000000000000000+000000000000000+00000000000000000GEEN/NO TRAN AA9AAA9A+000000000 +000000000+000000000 000000000000000004000000000000000000000000000000000000000 000000000000000 0000000000000000 0000000000000000000 0000011220000
285
+ 89999999999999999999 +00000000017857175 0000000284 000001122
286
+ 99999999999999999999P20150601 0000000286 000001122
287
+
@@ -15,7 +15,7 @@ describe Bankserv::AccountHolderVerification do
15
15
  context "requesting an account holder verification" do
16
16
 
17
17
  it "should be able to queue a request for an account holder verification" do
18
- @ahv_service.request(@hash).should be_true
18
+ @ahv_service.request(@hash).should be_truthy
19
19
 
20
20
  request = Bankserv::Request.last
21
21
  request.type.should == "ahv"
@@ -42,21 +42,21 @@ describe Bankserv::AccountHolderVerification do
42
42
 
43
43
  it "should be marked as new" do
44
44
  @ahv_service.request(@hash)
45
- Bankserv::AccountHolderVerification.last.new?.should be_true
45
+ Bankserv::AccountHolderVerification.last.new?.should be_truthy
46
46
  end
47
47
 
48
48
  it "should create an account holder verification record, with associated bank account" do
49
- @ahv_service.request(@hash).should be_true
49
+ @ahv_service.request(@hash).should be_truthy
50
50
 
51
51
  ahv = Bankserv::AccountHolderVerification.for_reference(@hash[:data][:user_ref]).first
52
- ahv.new?.should be_true
52
+ ahv.new?.should be_truthy
53
53
 
54
54
  @hash[:data][:bank_account].each{|k,v| ahv.bank_account.send(k).should == v}
55
55
  end
56
56
 
57
57
  it "should mark verifications with an absa branch code as internal" do
58
58
  @hash[:data][:bank_account].merge!(attributes_for(:internal_bank_account))
59
- @ahv_service.request(@hash).should be_true
59
+ @ahv_service.request(@hash).should be_truthy
60
60
 
61
61
  ahv = Bankserv::AccountHolderVerification.for_reference(@hash[:data][:user_ref]).first
62
62
  ahv.should be_internal
@@ -64,7 +64,7 @@ describe Bankserv::AccountHolderVerification do
64
64
 
65
65
  it "should mark verifications with a non-absa branch code as external" do
66
66
  @hash[:data][:bank_account].merge!(attributes_for(:external_bank_account))
67
- @ahv_service.request(@hash).should be_true
67
+ @ahv_service.request(@hash).should be_truthy
68
68
 
69
69
  ahv = Bankserv::AccountHolderVerification.for_reference(@hash[:data][:user_ref]).first
70
70
  ahv.should be_external
@@ -81,7 +81,7 @@ describe Bankserv::AccountHolderVerification do
81
81
 
82
82
  it "should be marked as completed" do
83
83
  @ahv.process_response(@response)
84
- @ahv.completed?.should be_true
84
+ @ahv.completed?.should be_truthy
85
85
  end
86
86
 
87
87
  it "should record whether the account number matched" do
@@ -7,13 +7,13 @@ describe Date do
7
7
  it "should know that Sunday is not a business day" do
8
8
  t = Time.local(2012, 1, 22, 10, 5, 0)
9
9
  Timecop.travel(t)
10
- Date.today.business_day?.should be_false
10
+ Date.today.business_day?.should be_falsey
11
11
  end
12
12
 
13
13
  it "should know that Saturday is not a business day" do
14
14
  t = Time.local(2012, 1, 21, 10, 5, 0)
15
15
  Timecop.travel(t)
16
- Date.today.business_day?.should be_false
16
+ Date.today.business_day?.should be_falsey
17
17
  end
18
18
 
19
19
  it "should know that holidays are not business days" do
@@ -30,14 +30,14 @@ describe Date do
30
30
  Time.local(2007,12,25),
31
31
  Time.local(2007,12,26)].each do |t|
32
32
  Timecop.travel(t)
33
- Date.today.business_day?.should be_false
33
+ Date.today.business_day?.should be_falsey
34
34
  end
35
35
  end
36
36
 
37
37
  it "should know that Monday 23rd January 2012 is a business day" do
38
38
  t = Time.local(2012, 1, 23, 10, 5, 0)
39
39
  Timecop.travel(t)
40
- Date.today.business_day?.should be_true
40
+ Date.today.business_day?.should be_truthy
41
41
  end
42
42
  end
43
43
  end
@@ -33,9 +33,9 @@ describe Bankserv::Credit do
33
33
  end
34
34
 
35
35
  it "should be able to queue a request of credit orders" do
36
- @credit_service.request(@hash).should be_true
37
- Bankserv::Credit.all.each {|db| db.completed?.should be_false }
38
- Bankserv::Credit.all.each {|db| db.new?.should be_true }
36
+ @credit_service.request(@hash).should be_truthy
37
+ Bankserv::Credit.all.each {|db| db.completed?.should be_falsey }
38
+ Bankserv::Credit.all.each {|db| db.new?.should be_truthy }
39
39
  end
40
40
 
41
41
  it "should link all debit order to the credit record" do
@@ -74,9 +74,9 @@ describe Bankserv::Credit do
74
74
  end
75
75
 
76
76
  it "should be able to queue a batched request of credit orders" do
77
- @credit_service.request(@hash).should be_true
78
- Bankserv::Credit.all.each {|db| db.completed?.should be_false }
79
- Bankserv::Credit.all.each {|db| db.new?.should be_true }
77
+ @credit_service.request(@hash).should be_truthy
78
+ Bankserv::Credit.all.each {|db| db.completed?.should be_falsey }
79
+ Bankserv::Credit.all.each {|db| db.new?.should be_truthy }
80
80
  end
81
81
 
82
82
  it "should link all debit order to their respective credit record" do
@@ -33,9 +33,9 @@ describe Bankserv::Debit do
33
33
  end
34
34
 
35
35
  it "should be able to queue a request of debit orders" do
36
- @debit_service.request(@hash).should be_true
37
- Bankserv::Debit.all.each {|db| db.completed?.should be_false }
38
- Bankserv::Debit.all.each {|db| db.new?.should be_true }
36
+ @debit_service.request(@hash).should be_truthy
37
+ Bankserv::Debit.all.each {|db| db.completed?.should be_falsey }
38
+ Bankserv::Debit.all.each {|db| db.new?.should be_truthy }
39
39
  end
40
40
 
41
41
  it "should link all debit order to the credit record" do
@@ -74,9 +74,9 @@ describe Bankserv::Debit do
74
74
  end
75
75
 
76
76
  it "should be able to queue a batched request of debit orders" do
77
- @debit_service.request(@hash).should be_true
78
- Bankserv::Debit.all.each {|db| db.completed?.should be_false }
79
- Bankserv::Credit.all.each {|db| db.new?.should be_true }
77
+ @debit_service.request(@hash).should be_truthy
78
+ Bankserv::Debit.all.each {|db| db.completed?.should be_falsey }
79
+ Bankserv::Credit.all.each {|db| db.new?.should be_truthy }
80
80
  end
81
81
 
82
82
  it "should link all debit order to their respective credit record" do
@@ -112,7 +112,7 @@ describe Bankserv::Debit do
112
112
  end
113
113
 
114
114
  it "should be marked as unpaid if the response status is unpaid" do
115
- @debit.unpaid?.should be_true
115
+ @debit.unpaid?.should be_truthy
116
116
  end
117
117
 
118
118
  it "should record the rejection reason code" do
@@ -160,7 +160,7 @@ describe Bankserv::Debit do
160
160
  end
161
161
 
162
162
  it "should be marked as redirect if the response status is redirect" do
163
- @debit.redirect?.should be_true
163
+ @debit.redirect?.should be_truthy
164
164
  end
165
165
 
166
166
  it "should record the new homing branch" do
@@ -67,7 +67,7 @@ describe Bankserv::Engine do
67
67
  end
68
68
 
69
69
  it "should not have any running processes" do
70
- Bankserv::Engine.running?.should be_false
70
+ Bankserv::Engine.running?.should be_falsey
71
71
  end
72
72
 
73
73
  end
@@ -79,10 +79,10 @@ describe Bankserv::Engine do
79
79
  # statement_service = Bankserv::StatementService.register(client_code: '12346', client_name: "TESTTEST", client_abbreviated_name: 'TESTTEST', user_code: "99999", generation_number: 1, transmission_status: "L", transmission_number: "1", outgoing_directory: Dir.pwd + "/spec/examples/99999/outgoing", incoming_directory: Dir.pwd + "/spec/examples/99999/incoming", reply_directory: Dir.pwd + "/spec/examples/99999/incoming", archive_directory: Dir.pwd + "/spec/examples/99999/archive")
80
80
  #
81
81
  # input_services = Bankserv::Engine.new.input_services
82
- # input_services.include?(debit_service).should be_true
83
- # input_services.include?(credit_service).should be_true
84
- # input_services.include?(ahv_service).should be_true
85
- # input_services.include?(statement_service).should be_false
82
+ # input_services.include?(debit_service).should be_truthy
83
+ # input_services.include?(credit_service).should be_truthy
84
+ # input_services.include?(ahv_service).should be_truthy
85
+ # input_services.include?(statement_service).should be_falsey
86
86
  # end
87
87
 
88
88
  context "Testing individual methods of engine" do
@@ -104,15 +104,15 @@ describe Bankserv::Engine do
104
104
  end
105
105
 
106
106
  it "should be able to start processing work" do
107
- @engine.start!.should be_true
107
+ @engine.start!.should be_truthy
108
108
  end
109
109
 
110
110
  it "should be set to running" do
111
- @engine.running?.should be_true
111
+ @engine.running?.should be_truthy
112
112
  end
113
113
 
114
114
  it "should be expecting a reply file" do
115
- @engine.expecting_reply_file?(@debit_service).should be_true
115
+ @engine.expecting_reply_file?(@debit_service).should be_truthy
116
116
  end
117
117
 
118
118
  it "should be able to return a list of reply files" do
@@ -126,7 +126,7 @@ describe Bankserv::Engine do
126
126
  it "should be able to process reply files" do
127
127
  @engine.process_reply_files
128
128
  Bankserv::Document.first.reply_status.should == "ACCEPTED"
129
- @engine.expecting_reply_file?(@debit_service).should be_false
129
+ @engine.expecting_reply_file?(@debit_service).should be_falsey
130
130
  end
131
131
 
132
132
  it "should be able to process output files" do
@@ -134,13 +134,13 @@ describe Bankserv::Engine do
134
134
  end
135
135
 
136
136
  it "should be able to set the process to finished" do
137
- @engine.finish!.should be_true
138
- @engine.running?.should be_false
139
- @engine.process.success.should be_true
137
+ @engine.finish!.should be_truthy
138
+ @engine.running?.should be_falsey
139
+ @engine.process.success.should be_truthy
140
140
  end
141
141
 
142
142
  it "should not have any processes running" do
143
- Bankserv::Engine.running?.should be_false
143
+ Bankserv::Engine.running?.should be_falsey
144
144
  end
145
145
 
146
146
  end
@@ -167,12 +167,12 @@ describe Bankserv::Engine do
167
167
  it "should process the document" do
168
168
  @engine.process_input_files
169
169
  @document = Bankserv::Document.last
170
- @document.processed.should be_true
171
- @engine.expecting_reply_file?(@service).should be_true
170
+ @document.processed.should be_truthy
171
+ @engine.expecting_reply_file?(@service).should be_truthy
172
172
  end
173
173
 
174
174
  it "should write a file to the input directory" do
175
- (Dir.glob("#{@service.config[:outgoing_directory]}/INPUT*.txt").size == 1).should be_true
175
+ (Dir.glob("#{@service.config[:outgoing_directory]}/INPUT*.txt").size == 1).should be_truthy
176
176
  end
177
177
 
178
178
  end
@@ -213,7 +213,7 @@ describe Bankserv::Engine do
213
213
  end
214
214
 
215
215
  it "should mark the engines process as completed" do
216
- Bankserv::Engine.running?.should be_false
216
+ Bankserv::Engine.running?.should be_falsey
217
217
  end
218
218
 
219
219
  end
@@ -21,7 +21,7 @@ describe Bankserv::Service do
21
21
 
22
22
  bankserv_service = Bankserv::AHVService.register(params)
23
23
 
24
- bankserv_service.is_a?(Bankserv::AHVService).should be_true
24
+ bankserv_service.is_a?(Bankserv::AHVService).should be_truthy
25
25
  bankserv_service.client_code.should == '1234'
26
26
  bankserv_service.config[:client_name].should == 'RCTEST'
27
27
  bankserv_service.config[:transmission_status].should == "L"
@@ -88,11 +88,11 @@ describe Bankserv::InputDocument do
88
88
 
89
89
  it "should be able to mark a document as processed" do
90
90
  @document.mark_processed!
91
- @document.processed.should be_true
91
+ @document.processed.should be_truthy
92
92
  end
93
93
 
94
94
  it "should mark the ahv services internal status to true" do
95
- Bankserv::AHVService.active.first.config[:internal].should be_true
95
+ Bankserv::AHVService.active.first.config[:internal].should be_truthy
96
96
  end
97
97
 
98
98
  it "should not build a document if no sets could be generated" do
@@ -16,7 +16,7 @@
16
16
  # end
17
17
  #
18
18
  # it "should mark the statement as unprocessed" do
19
- # @statement.processed.should be_false
19
+ # @statement.processed.should be_falsey
20
20
  # end
21
21
  #
22
22
  # it "should store the hash of information returned from the absa-notify-me gem as the statement's serialized data" do
@@ -10,17 +10,6 @@ describe Bankserv::OutputDocument do
10
10
 
11
11
  lambda { document.process! }.should raise_error(Exception, "Document already processed")
12
12
  end
13
-
14
- it "should mark the document as processed once the document's set has been processed" do
15
- document_set = mock(Bankserv::Set)
16
- document_set.should_receive(:process)
17
-
18
- document = create(:output_document)
19
- document.stub!(:set).and_return(document_set)
20
-
21
- document.process!
22
- Bankserv::Document.last.should be_processed
23
- end
24
13
  end
25
14
 
26
15
  context "storing an output transmission containing an account holder verification set" do
@@ -99,15 +88,15 @@ describe Bankserv::OutputDocument do
99
88
 
100
89
  ahv3.save!
101
90
 
102
- Bankserv::AccountHolderVerification.for_reference("149505000000000223600000008000").first.completed?.should be_false
103
- Bankserv::AccountHolderVerification.for_reference("198841000000000223600000000000").first.completed?.should be_false
104
- Bankserv::AccountHolderVerification.for_reference("149205000000000223605000700000").first.completed?.should be_false
91
+ Bankserv::AccountHolderVerification.for_reference("149505000000000223600000008000").first.completed?.should be_falsey
92
+ Bankserv::AccountHolderVerification.for_reference("198841000000000223600000000000").first.completed?.should be_falsey
93
+ Bankserv::AccountHolderVerification.for_reference("149205000000000223605000700000").first.completed?.should be_falsey
105
94
 
106
95
  @document.process!
107
96
 
108
- Bankserv::AccountHolderVerification.for_reference("149505000000000223600000008000").first.completed?.should be_true
109
- Bankserv::AccountHolderVerification.for_reference("198841000000000223600000000000").first.completed?.should be_true
110
- Bankserv::AccountHolderVerification.for_reference("149205000000000223605000700000").first.completed?.should be_true
97
+ Bankserv::AccountHolderVerification.for_reference("149505000000000223600000008000").first.completed?.should be_truthy
98
+ Bankserv::AccountHolderVerification.for_reference("198841000000000223600000000000").first.completed?.should be_truthy
99
+ Bankserv::AccountHolderVerification.for_reference("149205000000000223605000700000").first.completed?.should be_truthy
111
100
  end
112
101
 
113
102
  end
@@ -178,21 +167,21 @@ describe Bankserv::OutputDocument do
178
167
 
179
168
  counter = 1
180
169
 
181
- Bankserv::Debit.all.each{|debit| debit.completed?.should be_false}
170
+ Bankserv::Debit.all.each{|debit| debit.completed?.should be_falsey}
182
171
  @document.process!
183
172
 
184
173
  Bankserv::Debit.all.each do |debit|
185
- (debit.completed? or debit.unpaid? or debit.redirect?).should be_true
174
+ (debit.completed? or debit.unpaid? or debit.redirect?).should be_truthy
186
175
 
187
176
  if debit.unpaid?
188
- debit.response.has_key?(:rejection_reason).should be_true
189
- debit.response.has_key?(:rejection_reason_description).should be_true
190
- debit.response.has_key?(:rejection_qualifier).should be_true
191
- debit.response.has_key?(:rejection_qualifier_description).should be_true
177
+ debit.response.has_key?(:rejection_reason).should be_truthy
178
+ debit.response.has_key?(:rejection_reason_description).should be_truthy
179
+ debit.response.has_key?(:rejection_qualifier).should be_truthy
180
+ debit.response.has_key?(:rejection_qualifier_description).should be_truthy
192
181
  elsif debit.redirect?
193
- debit.response.has_key?(:new_homing_branch).should be_true
194
- debit.response.has_key?(:new_homing_account_number).should be_true
195
- debit.response.has_key?(:new_homing_account_type).should be_true
182
+ debit.response.has_key?(:new_homing_branch).should be_truthy
183
+ debit.response.has_key?(:new_homing_account_number).should be_truthy
184
+ debit.response.has_key?(:new_homing_account_type).should be_truthy
196
185
  end
197
186
  end
198
187
  end
@@ -230,7 +219,7 @@ describe Bankserv::OutputDocument do
230
219
 
231
220
  it "should mark the payment as failed" do
232
221
  Bankserv::Credit.all.each do |c|
233
- c.rejected?.should be_true
222
+ c.rejected?.should be_truthy
234
223
  c.response.first[:message].should == "TARGET ACCOUNT BRANCH INVALID"
235
224
  end
236
225
  end
@@ -130,7 +130,7 @@ describe Bankserv::ReplyDocument do
130
130
 
131
131
  it "should mark the credit entries as accepted" do
132
132
  Bankserv::Credit.all.each do |c|
133
- c.accepted?.should be_true
133
+ c.accepted?.should be_truthy
134
134
  end
135
135
  end
136
136
  end
@@ -19,7 +19,7 @@ describe Bankserv::Transmission::UserSet::AccountHolderVerification do
19
19
  end
20
20
 
21
21
  it "should report when there are account holder verification requests that need to be processed" do
22
- Bankserv::Transmission::UserSet::AccountHolderVerification.has_test_work?.should be_true
22
+ Bankserv::Transmission::UserSet::AccountHolderVerification.has_test_work?.should be_truthy
23
23
  end
24
24
 
25
25
  it "should process the external account holder verifications" do
@@ -68,11 +68,11 @@ describe Bankserv::Transmission::UserSet::AccountHolderVerification do
68
68
  end
69
69
 
70
70
  it "should store the generation number" do
71
- @set.header.data.has_key?(:gen_no).should be_true
71
+ @set.header.data.has_key?(:gen_no).should be_truthy
72
72
  end
73
73
 
74
74
  it "should store the specified department code" do
75
- @set.header.data.has_key?(:dept_code).should be_true
75
+ @set.header.data.has_key?(:dept_code).should be_truthy
76
76
  @set.header.data[:dept_code].should == "AHVINT"
77
77
  end
78
78
  end
@@ -40,7 +40,7 @@ describe Bankserv::Transmission::UserSet::Credit do
40
40
  end
41
41
 
42
42
  it "should return true when a set needs to be processed" do
43
- Bankserv::Transmission::UserSet::Credit.has_test_work?.should be_true
43
+ Bankserv::Transmission::UserSet::Credit.has_test_work?.should be_truthy
44
44
  end
45
45
 
46
46
  it "should create 2 sets with a header when the job begins" do
@@ -37,7 +37,7 @@ describe Bankserv::Transmission::UserSet::Debit do
37
37
  end
38
38
 
39
39
  it "should return true when a batch needs to be processed" do
40
- Bankserv::Transmission::UserSet::Debit.has_test_work?.should be_true
40
+ Bankserv::Transmission::UserSet::Debit.has_test_work?.should be_truthy
41
41
  end
42
42
 
43
43
  it "should create a batch with a header when the job begins" do
@@ -18,7 +18,7 @@ describe Bankserv::Statement do
18
18
  end
19
19
 
20
20
  it "should mark the statement as unprocessed" do
21
- @statement.processed.should be_false
21
+ @statement.processed.should be_falsey
22
22
  end
23
23
 
24
24
  it "should store the hash of information returned from the absa-esd gem as the statement's serialized data" do
@@ -121,10 +121,48 @@ describe Bankserv::Statement do
121
121
  generation_number: "000000295",
122
122
  old_reconfocus_category1: "51",
123
123
  old_reconfocus_category2: "51",
124
- filler_4: ""
124
+ filler_4: "",
125
+ transaction_number_for_day: 1
125
126
  }
126
127
  end
127
128
 
128
129
  end
129
130
 
131
+ context "processing a statement with multiple accounts and checking the transaction count" do
132
+
133
+ before(:each) do
134
+ tear_it_down
135
+ Bankserv::StatementService.register(client_code: '12346', client_name: "TESTTEST", client_abbreviated_name: 'TESTTEST', user_code: "9999", generation_number: 1, transmission_status: "L", transmission_number: "1")
136
+
137
+ @file_contents = File.open("./spec/examples/statement-with-multiple-accounts.dat", "rb").read
138
+ @statement = Bankserv::Statement.store(@file_contents)
139
+ @statement.process!
140
+ end
141
+
142
+ it 'should check transaction count by account number for ACC: 4079323853' do
143
+ transactions = @statement.transactions.select do |transaction|
144
+ transaction.data[:account_number] == '4079323853'
145
+ end
146
+
147
+ count = 1
148
+
149
+ transactions.each do |t|
150
+ t.data[:transaction_number_for_day].should == count
151
+ count += 1
152
+ end
153
+ end
154
+
155
+ it 'should check transaction count by account number for ACC: 4083387742' do
156
+ transactions = @statement.transactions.select do |transaction|
157
+ transaction.data[:account_number] == '4083387742'
158
+ end
159
+
160
+ count = 1
161
+
162
+ transactions.each do |t|
163
+ t.data[:transaction_number_for_day].should == count
164
+ count += 1
165
+ end
166
+ end
167
+ end
130
168
  end
@@ -11,9 +11,17 @@ require './spec/support/helpers.rb'
11
11
 
12
12
  RSpec.configure do |config|
13
13
  config.use_transactional_fixtures = true
14
- config.color_enabled = true
14
+ config.color = true
15
15
  config.formatter = :documentation # :progress, :html, :textmate
16
16
  config.include FactoryGirl::Syntax::Methods
17
+
18
+ config.expect_with :rspec do |c|
19
+ c.syntax = :should
20
+ end
21
+
22
+ config.mock_with :rspec do |c|
23
+ c.syntax = :should
24
+ end
17
25
  end
18
26
 
19
27
  FactoryGirl.find_definitions
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bankserv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey van Aswegen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-29 00:00:00.000000000 Z
12
+ date: 2015-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -191,6 +191,7 @@ files:
191
191
  - spec/examples/reply/reply_with_warning.txt
192
192
  - spec/examples/reply/transnumber_wrong.txt
193
193
  - spec/examples/simple_input_file.txt
194
+ - spec/examples/statement-with-multiple-accounts.dat
194
195
  - spec/examples/statement4_unpacked.dat
195
196
  - spec/examples/tmp/OUTPUT0412153500.txt
196
197
  - spec/examples/tmp/REPLY0412153000.txt
@@ -237,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
238
  version: '0'
238
239
  requirements: []
239
240
  rubyforge_project: bankserv
240
- rubygems_version: 2.4.2
241
+ rubygems_version: 2.4.6
241
242
  signing_key:
242
243
  specification_version: 4
243
244
  summary: A rails 3 engine wrapped around the Absa Host 2 Host gem.
@@ -273,6 +274,7 @@ test_files:
273
274
  - spec/examples/reply/reply_with_warning.txt
274
275
  - spec/examples/reply/transnumber_wrong.txt
275
276
  - spec/examples/simple_input_file.txt
277
+ - spec/examples/statement-with-multiple-accounts.dat
276
278
  - spec/examples/statement4_unpacked.dat
277
279
  - spec/examples/tmp/OUTPUT0412153500.txt
278
280
  - spec/examples/tmp/REPLY0412153000.txt