line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPRAW::Detail::Adjustment 0.005; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
52
|
use strict; |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
230
|
|
4
|
9
|
|
|
9
|
|
36
|
use warnings; |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
193
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Reconciliation Files (EPRAW) Adjustment Detail Rows |
7
|
|
|
|
|
|
|
|
8
|
9
|
|
|
9
|
|
38
|
use base 'Finance::AMEX::Transaction::EPRAW::Base'; |
|
9
|
|
|
|
|
14
|
|
|
9
|
|
|
|
|
5028
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
22
|
|
|
22
|
1
|
267
|
AMEX_PAYEE_NUMBER => [1, 10], |
13
|
|
|
|
|
|
|
AMEX_SE_NUMBER => [11, 10], |
14
|
|
|
|
|
|
|
SE_UNIT_NUMBER => [21, 10], |
15
|
|
|
|
|
|
|
PAYMENT_YEAR => [31, 4], |
16
|
|
|
|
|
|
|
PAYMENT_NUMBER => [35, 8], |
17
|
|
|
|
|
|
|
PAYMENT_NUMBER_DATE => [35, 3], |
18
|
|
|
|
|
|
|
PAYMENT_NUMBER_TYPE => [38, 1], |
19
|
|
|
|
|
|
|
PAYMENT_NUMBER_NUMBER => [39, 4], |
20
|
|
|
|
|
|
|
RECORD_TYPE => [43, 1], |
21
|
|
|
|
|
|
|
DETAIL_RECORD_TYPE => [44, 2], |
22
|
|
|
|
|
|
|
AMEX_PROCESS_DATE => [46, 7], |
23
|
|
|
|
|
|
|
ADJUSTMENT_NUMBER => [53, 6], |
24
|
|
|
|
|
|
|
ADJUSTMENT_AMOUNT => [59, 9], |
25
|
|
|
|
|
|
|
DISCOUNT_AMOUNT => [68, 9], |
26
|
|
|
|
|
|
|
SERVICE_FEE_AMOUNT => [77, 7], |
27
|
|
|
|
|
|
|
NET_ADJUSTMENT_AMOUNT => [91, 9], |
28
|
|
|
|
|
|
|
DISCOUNT_RATE => [100, 5], |
29
|
|
|
|
|
|
|
SERVICE_FEE_RATE => [105, 5], |
30
|
|
|
|
|
|
|
CARDMEMBER_NUMBER => [126, 17], |
31
|
|
|
|
|
|
|
ADJUSTMENT_REASON => [143, 280], |
32
|
|
|
|
|
|
|
SERVICE_AGENT_MERCHANT_ID => [429, 15], |
33
|
|
|
|
|
|
|
}; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
2
|
|
|
2
|
1
|
450
|
sub type {return 'ADJUSTMENT_DETAIL'} |
37
|
|
|
|
|
|
|
|
38
|
1
|
|
|
1
|
1
|
430
|
sub AMEX_PAYEE_NUMBER {return $_[0]->_get_column('AMEX_PAYEE_NUMBER')} |
39
|
1
|
|
|
1
|
1
|
474
|
sub AMEX_SE_NUMBER {return $_[0]->_get_column('AMEX_SE_NUMBER')} |
40
|
1
|
|
|
1
|
1
|
430
|
sub SE_UNIT_NUMBER {return $_[0]->_get_column('SE_UNIT_NUMBER')} |
41
|
1
|
|
|
1
|
1
|
446
|
sub PAYMENT_YEAR {return $_[0]->_get_column('PAYMENT_YEAR')} |
42
|
1
|
|
|
1
|
1
|
442
|
sub PAYMENT_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER')} |
43
|
1
|
|
|
1
|
1
|
429
|
sub PAYMENT_NUMBER_DATE {return $_[0]->_get_column('PAYMENT_NUMBER_DATE')} |
44
|
1
|
|
|
1
|
1
|
432
|
sub PAYMENT_NUMBER_TYPE {return $_[0]->_get_column('PAYMENT_NUMBER_TYPE')} |
45
|
1
|
|
|
1
|
1
|
458
|
sub PAYMENT_NUMBER_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER_NUMBER')} |
46
|
1
|
|
|
1
|
1
|
430
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
47
|
1
|
|
|
1
|
1
|
430
|
sub DETAIL_RECORD_TYPE {return $_[0]->_get_column('DETAIL_RECORD_TYPE')} |
48
|
1
|
|
|
1
|
1
|
433
|
sub AMEX_PROCESS_DATE {return $_[0]->_get_column('AMEX_PROCESS_DATE')} |
49
|
1
|
|
|
1
|
1
|
429
|
sub ADJUSTMENT_NUMBER {return $_[0]->_get_column('ADJUSTMENT_NUMBER')} |
50
|
1
|
|
|
1
|
1
|
452
|
sub ADJUSTMENT_AMOUNT {return $_[0]->_get_column('ADJUSTMENT_AMOUNT')} |
51
|
1
|
|
|
1
|
1
|
16
|
sub DISCOUNT_AMOUNT {return $_[0]->_get_column('DISCOUNT_AMOUNT')} |
52
|
1
|
|
|
1
|
1
|
429
|
sub SERVICE_FEE_AMOUNT {return $_[0]->_get_column('SERVICE_FEE_AMOUNT')} |
53
|
1
|
|
|
1
|
1
|
451
|
sub NET_ADJUSTMENT_AMOUNT {return $_[0]->_get_column('NET_ADJUSTMENT_AMOUNT')} |
54
|
1
|
|
|
1
|
1
|
447
|
sub DISCOUNT_RATE {return $_[0]->_get_column('DISCOUNT_RATE')} |
55
|
1
|
|
|
1
|
1
|
430
|
sub SERVICE_FEE_RATE {return $_[0]->_get_column('SERVICE_FEE_RATE')} |
56
|
1
|
|
|
1
|
1
|
431
|
sub CARDMEMBER_NUMBER {return $_[0]->_get_column('CARDMEMBER_NUMBER')} |
57
|
1
|
|
|
1
|
1
|
432
|
sub ADJUSTMENT_REASON {return $_[0]->_get_column('ADJUSTMENT_REASON')} |
58
|
1
|
|
|
1
|
1
|
433
|
sub SERVICE_AGENT_MERCHANT_ID {return $_[0]->_get_column('SERVICE_AGENT_MERCHANT_ID')} |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
1; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
__END__ |