line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::GRRCN::Header; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::GRRCN::Header::VERSION = '0.003'; |
3
|
7
|
|
|
7
|
|
48
|
use strict; |
|
7
|
|
|
|
|
18
|
|
|
7
|
|
|
|
|
203
|
|
4
|
7
|
|
|
7
|
|
44
|
use warnings; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
189
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Global Reconciliation (GRRCN) Header Rows |
7
|
|
|
|
|
|
|
|
8
|
7
|
|
|
7
|
|
42
|
use base 'Finance::AMEX::Transaction::GRRCN::Base'; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
3147
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
2
|
|
|
2
|
0
|
21
|
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
|
2
|
|
|
2
|
1
|
506
|
sub type {return 'HEADER'} |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
1
|
460
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
25
|
1
|
|
|
1
|
1
|
482
|
sub FILE_CREATION_DATE {return $_[0]->_get_column('FILE_CREATION_DATE')} |
26
|
1
|
|
|
1
|
1
|
10
|
sub FILE_CREATION_TIME {return $_[0]->_get_column('FILE_CREATION_TIME')} |
27
|
1
|
|
|
1
|
1
|
458
|
sub SEQUENTIAL_NUMBER {return $_[0]->_get_column('SEQUENTIAL_NUMBER')} |
28
|
1
|
|
|
1
|
1
|
467
|
sub FILE_ID {return $_[0]->_get_column('FILE_ID')} |
29
|
1
|
|
|
1
|
1
|
458
|
sub FILE_NAME {return $_[0]->_get_column('FILE_NAME')} |
30
|
1
|
|
|
1
|
1
|
734
|
sub FILE_VERSION_NUMBER {return $_[0]->_get_column('FILE_VERSION_NUMBER')} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |