line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPTRN::Trailer; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::EPTRN::Trailer::VERSION = '0.004'; |
3
|
8
|
|
|
8
|
|
55
|
use strict; |
|
8
|
|
|
|
|
17
|
|
|
8
|
|
|
|
|
237
|
|
4
|
8
|
|
|
8
|
|
41
|
use warnings; |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
210
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Transaction/Invoice Level Reconciliation (EPTRN) Trailer Rows |
7
|
|
|
|
|
|
|
|
8
|
8
|
|
|
8
|
|
40
|
use base 'Finance::AMEX::Transaction::EPTRN::Base'; |
|
8
|
|
|
|
|
17
|
|
|
8
|
|
|
|
|
2608
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
8
|
|
|
8
|
0
|
92
|
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
|
2
|
|
|
2
|
1
|
713
|
sub type {return 'TRAILER'} |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
1
|
686
|
sub DF_TRL_RECORD_TYPE {return $_[0]->_get_column('DF_TRL_RECORD_TYPE')} |
25
|
1
|
|
|
1
|
1
|
689
|
sub DF_TRL_DATE {return $_[0]->_get_column('DF_TRL_DATE')} |
26
|
1
|
|
|
1
|
1
|
720
|
sub DF_TRL_TIME {return $_[0]->_get_column('DF_TRL_TIME')} |
27
|
1
|
|
|
1
|
1
|
743
|
sub DF_TRL_FILE_ID {return $_[0]->_get_column('DF_TRL_FILE_ID')} |
28
|
1
|
|
|
1
|
1
|
692
|
sub DF_TRL_FILE_NAME {return $_[0]->_get_column('DF_TRL_FILE_NAME')} |
29
|
1
|
|
|
1
|
1
|
16
|
sub DF_TRL_RECIPIENT_KEY {return $_[0]->_get_column('DF_TRL_RECIPIENT_KEY')} |
30
|
1
|
|
|
1
|
1
|
699
|
sub DF_TRL_RECORD_COUNT {return $_[0]->_get_column('DF_TRL_RECORD_COUNT')} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |