line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPTRN::Header; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::EPTRN::Header::VERSION = '0.003'; |
3
|
7
|
|
|
7
|
|
61
|
use strict; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
185
|
|
4
|
7
|
|
|
7
|
|
35
|
use warnings; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
170
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Transaction/Invoice Level Reconciliation (EPTRN) Header Rows |
7
|
|
|
|
|
|
|
|
8
|
7
|
|
|
7
|
|
35
|
use base 'Finance::AMEX::Transaction::EPTRN::Base'; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
3134
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
6
|
|
|
6
|
0
|
42
|
DF_HDR_RECORD_TYPE => [1, 5], |
13
|
|
|
|
|
|
|
DF_HDR_DATE => [6, 8], |
14
|
|
|
|
|
|
|
DF_HDR_TIME => [14, 4], |
15
|
|
|
|
|
|
|
DF_HDR_FILE_ID => [18, 6], |
16
|
|
|
|
|
|
|
DF_HDR_FILE_NAME => [24, 20], |
17
|
|
|
|
|
|
|
}; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
2
|
|
|
2
|
1
|
500
|
sub type {return 'HEADER'} |
21
|
|
|
|
|
|
|
|
22
|
1
|
|
|
1
|
1
|
452
|
sub DF_HDR_RECORD_TYPE {return $_[0]->_get_column('DF_HDR_RECORD_TYPE')} |
23
|
1
|
|
|
1
|
1
|
9
|
sub DF_HDR_DATE {return $_[0]->_get_column('DF_HDR_DATE')} |
24
|
1
|
|
|
1
|
1
|
474
|
sub DF_HDR_TIME {return $_[0]->_get_column('DF_HDR_TIME')} |
25
|
1
|
|
|
1
|
1
|
454
|
sub DF_HDR_FILE_ID {return $_[0]->_get_column('DF_HDR_FILE_ID')} |
26
|
1
|
|
|
1
|
1
|
678
|
sub DF_HDR_FILE_NAME {return $_[0]->_get_column('DF_HDR_FILE_NAME')} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |