line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::GRRCN::Header; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::GRRCN::Header::VERSION = '0.004'; |
3
|
8
|
|
|
8
|
|
63
|
use strict; |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
289
|
|
4
|
8
|
|
|
8
|
|
49
|
use warnings; |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
276
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Global Reconciliation (GRRCN) Header Rows |
7
|
|
|
|
|
|
|
|
8
|
8
|
|
|
8
|
|
47
|
use base 'Finance::AMEX::Transaction::GRRCN::Base'; |
|
8
|
|
|
|
|
19
|
|
|
8
|
|
|
|
|
4015
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
4
|
|
|
4
|
0
|
56
|
RECORD_TYPE => [1, 10], |
13
|
|
|
|
|
|
|
FILE_CREATION_DATE => [11, 8], |
14
|
|
|
|
|
|
|
FILE_CREATION_TIME => [19, 6], |
15
|
|
|
|
|
|
|
SEQUENTIAL_NUMBER => [25, 10], |
16
|
|
|
|
|
|
|
FILE_ID => [35, 10], |
17
|
|
|
|
|
|
|
FILE_NAME => [45, 20], |
18
|
|
|
|
|
|
|
FILE_VERSION_NUMBER => [65, 4], |
19
|
|
|
|
|
|
|
}; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
4
|
|
|
4
|
1
|
1237
|
sub type {return 'HEADER'} |
23
|
|
|
|
|
|
|
|
24
|
2
|
|
|
2
|
1
|
1210
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
25
|
2
|
|
|
2
|
1
|
1188
|
sub FILE_CREATION_DATE {return $_[0]->_get_column('FILE_CREATION_DATE')} |
26
|
2
|
|
|
2
|
1
|
485
|
sub FILE_CREATION_TIME {return $_[0]->_get_column('FILE_CREATION_TIME')} |
27
|
2
|
|
|
2
|
1
|
768
|
sub SEQUENTIAL_NUMBER {return $_[0]->_get_column('SEQUENTIAL_NUMBER')} |
28
|
2
|
|
|
2
|
1
|
1552
|
sub FILE_ID {return $_[0]->_get_column('FILE_ID')} |
29
|
2
|
|
|
2
|
1
|
1221
|
sub FILE_NAME {return $_[0]->_get_column('FILE_NAME')} |
30
|
4
|
|
|
4
|
1
|
1743
|
sub FILE_VERSION_NUMBER {return $_[0]->_get_column('FILE_VERSION_NUMBER')} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |