line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPPRC::Header; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::EPPRC::Header::VERSION = '0.004'; |
3
|
8
|
|
|
8
|
|
53
|
use strict; |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
234
|
|
4
|
8
|
|
|
8
|
|
39
|
use warnings; |
|
8
|
|
|
|
|
16
|
|
|
8
|
|
|
|
|
354
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Transaction/Invoice Level Reconciliation (EPPRC) Header Rows |
7
|
|
|
|
|
|
|
|
8
|
8
|
|
|
8
|
|
57
|
use base 'Finance::AMEX::Transaction::EPPRC::Base'; |
|
8
|
|
|
|
|
23
|
|
|
8
|
|
|
|
|
3969
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
270
|
|
|
270
|
0
|
2363
|
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
|
90
|
|
|
90
|
1
|
25466
|
sub type {return 'HEADER'} |
21
|
|
|
|
|
|
|
|
22
|
45
|
|
|
45
|
1
|
20577
|
sub DF_HDR_RECORD_TYPE {return $_[0]->_get_column('DF_HDR_RECORD_TYPE')} |
23
|
45
|
|
|
45
|
1
|
24474
|
sub DF_HDR_DATE {return $_[0]->_get_column('DF_HDR_DATE')} |
24
|
45
|
|
|
45
|
1
|
18462
|
sub DF_HDR_TIME {return $_[0]->_get_column('DF_HDR_TIME')} |
25
|
45
|
|
|
45
|
1
|
17225
|
sub DF_HDR_FILE_ID {return $_[0]->_get_column('DF_HDR_FILE_ID')} |
26
|
45
|
|
|
45
|
1
|
20068
|
sub DF_HDR_FILE_NAME {return $_[0]->_get_column('DF_HDR_FILE_NAME')} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |