line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPRAW::Trailer; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::EPRAW::Trailer::VERSION = '0.003'; |
3
|
7
|
|
|
7
|
|
52
|
use strict; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
225
|
|
4
|
7
|
|
|
7
|
|
37
|
use warnings; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
173
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Reconciliation Files (EPRAW) Trailer Rows |
7
|
|
|
|
|
|
|
|
8
|
7
|
|
|
7
|
|
33
|
use base 'Finance::AMEX::Transaction::EPRAW::Base'; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
2238
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
48
|
|
|
48
|
0
|
377
|
DF_TRL_RECORD_TYPE => [1, 5], |
13
|
|
|
|
|
|
|
DF_TRL_DATE => [6, 8], |
14
|
|
|
|
|
|
|
DF_TRL_TIME => [14, 4], |
15
|
|
|
|
|
|
|
DF_TRL_FILE_ID => [18, 6], |
16
|
|
|
|
|
|
|
DF_TRL_FILE_NAME => [24, 20], |
17
|
|
|
|
|
|
|
DF_TRL_RECIPIENT_KEY => [44, 40], |
18
|
|
|
|
|
|
|
DF_TRL_RECORD_COUNT => [84, 7], |
19
|
|
|
|
|
|
|
}; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
12
|
|
|
12
|
1
|
3265
|
sub type {return 'TRAILER'} |
23
|
|
|
|
|
|
|
|
24
|
6
|
|
|
6
|
1
|
3151
|
sub DF_TRL_RECORD_TYPE {return $_[0]->_get_column('DF_TRL_RECORD_TYPE')} |
25
|
6
|
|
|
6
|
1
|
2793
|
sub DF_TRL_DATE {return $_[0]->_get_column('DF_TRL_DATE')} |
26
|
6
|
|
|
6
|
1
|
3127
|
sub DF_TRL_TIME {return $_[0]->_get_column('DF_TRL_TIME')} |
27
|
6
|
|
|
6
|
1
|
3167
|
sub DF_TRL_FILE_ID {return $_[0]->_get_column('DF_TRL_FILE_ID')} |
28
|
6
|
|
|
6
|
1
|
3228
|
sub DF_TRL_FILE_NAME {return $_[0]->_get_column('DF_TRL_FILE_NAME')} |
29
|
6
|
|
|
6
|
1
|
2108
|
sub DF_TRL_RECIPIENT_KEY {return $_[0]->_get_column('DF_TRL_RECIPIENT_KEY')} |
30
|
6
|
|
|
6
|
1
|
1553
|
sub DF_TRL_RECORD_COUNT {return $_[0]->_get_column('DF_TRL_RECORD_COUNT')} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |