line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPPRC::Detail::Chargeback 0.005; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
51
|
use strict; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
219
|
|
4
|
9
|
|
|
9
|
|
39
|
use warnings; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
189
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Reconciliation Files (EPPRC) Chargeback Detail Rows |
7
|
|
|
|
|
|
|
|
8
|
9
|
|
|
9
|
|
39
|
use base 'Finance::AMEX::Transaction::EPPRC::Base'; |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
5918
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
0
|
|
|
0
|
1
|
|
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
|
|
|
|
|
|
|
SE_BUSINESS_DATE => [46, 7], |
23
|
|
|
|
|
|
|
AMEX_PROCESS_DATE => [53, 7], |
24
|
|
|
|
|
|
|
SOC_INVOICE_NUMBER => [60, 6], |
25
|
|
|
|
|
|
|
SOC_AMOUNT => [66, 11], |
26
|
|
|
|
|
|
|
CHARGEBACK_AMOUNT => [77, 9], |
27
|
|
|
|
|
|
|
DISCOUNT_AMOUNT => [86, 9], |
28
|
|
|
|
|
|
|
SERVICE_FEE_AMOUNT => [95, 7], |
29
|
|
|
|
|
|
|
NET_CHARGEBACK_AMOUNT => [109, 9], |
30
|
|
|
|
|
|
|
DISCOUNT_RATE => [118, 5], |
31
|
|
|
|
|
|
|
SERVICE_FEE_RATE => [123, 5], |
32
|
|
|
|
|
|
|
CHARGEBACK_REASON => [144, 280], |
33
|
|
|
|
|
|
|
BATCH_CODE => [424, 3], |
34
|
|
|
|
|
|
|
BILL_CODE => [427, 3], |
35
|
|
|
|
|
|
|
SERVICE_AGENT_MERCHANT_ID => [430, 15], |
36
|
|
|
|
|
|
|
MEMBERSHIP_REWARDS => [445, 1], |
37
|
|
|
|
|
|
|
}; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
0
|
|
|
0
|
1
|
|
sub type {return 'CHARGEBACK_DETAIL'} |
41
|
|
|
|
|
|
|
|
42
|
0
|
|
|
0
|
1
|
|
sub AMEX_PAYEE_NUMBER {return $_[0]->_get_column('AMEX_PAYEE_NUMBER')} |
43
|
0
|
|
|
0
|
1
|
|
sub AMEX_SE_NUMBER {return $_[0]->_get_column('AMEX_SE_NUMBER')} |
44
|
0
|
|
|
0
|
1
|
|
sub SE_UNIT_NUMBER {return $_[0]->_get_column('SE_UNIT_NUMBER')} |
45
|
0
|
|
|
0
|
1
|
|
sub PAYMENT_YEAR {return $_[0]->_get_column('PAYMENT_YEAR')} |
46
|
0
|
|
|
0
|
1
|
|
sub PAYMENT_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER')} |
47
|
0
|
|
|
0
|
1
|
|
sub PAYMENT_NUMBER_DATE {return $_[0]->_get_column('PAYMENT_NUMBER_DATE')} |
48
|
0
|
|
|
0
|
1
|
|
sub PAYMENT_NUMBER_TYPE {return $_[0]->_get_column('PAYMENT_NUMBER_TYPE')} |
49
|
0
|
|
|
0
|
1
|
|
sub PAYMENT_NUMBER_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER_NUMBER')} |
50
|
0
|
|
|
0
|
1
|
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
51
|
0
|
|
|
0
|
1
|
|
sub DETAIL_RECORD_TYPE {return $_[0]->_get_column('DETAIL_RECORD_TYPE')} |
52
|
0
|
|
|
0
|
1
|
|
sub SE_BUSINESS_DATE {return $_[0]->_get_column('SE_BUSINESS_DATE')} |
53
|
0
|
|
|
0
|
1
|
|
sub AMEX_PROCESS_DATE {return $_[0]->_get_column('AMEX_PROCESS_DATE')} |
54
|
0
|
|
|
0
|
1
|
|
sub SOC_INVOICE_NUMBER {return $_[0]->_get_column('SOC_INVOICE_NUMBER')} |
55
|
0
|
|
|
0
|
1
|
|
sub SOC_AMOUNT {return $_[0]->_get_column('SOC_AMOUNT')} |
56
|
0
|
|
|
0
|
1
|
|
sub CHARGEBACK_AMOUNT {return $_[0]->_get_column('CHARGEBACK_AMOUNT')} |
57
|
0
|
|
|
0
|
1
|
|
sub DISCOUNT_AMOUNT {return $_[0]->_get_column('DISCOUNT_AMOUNT')} |
58
|
0
|
|
|
0
|
1
|
|
sub SERVICE_FEE_AMOUNT {return $_[0]->_get_column('SERVICE_FEE_AMOUNT')} |
59
|
0
|
|
|
0
|
1
|
|
sub NET_CHARGEBACK_AMOUNT {return $_[0]->_get_column('NET_CHARGEBACK_AMOUNT')} |
60
|
0
|
|
|
0
|
1
|
|
sub DISCOUNT_RATE {return $_[0]->_get_column('DISCOUNT_RATE')} |
61
|
0
|
|
|
0
|
1
|
|
sub SERVICE_FEE_RATE {return $_[0]->_get_column('SERVICE_FEE_RATE')} |
62
|
0
|
|
|
0
|
1
|
|
sub CHARGEBACK_REASON {return $_[0]->_get_column('CHARGEBACK_REASON')} |
63
|
0
|
|
|
0
|
1
|
|
sub BATCH_CODE {return $_[0]->_get_column('BATCH_CODE')} |
64
|
0
|
|
|
0
|
1
|
|
sub BILL_CODE {return $_[0]->_get_column('BILL_CODE')} |
65
|
0
|
|
|
0
|
1
|
|
sub SERVICE_AGENT_MERCHANT_ID {return $_[0]->_get_column('SERVICE_AGENT_MERCHANT_ID')} |
66
|
0
|
|
|
0
|
1
|
|
sub MEMBERSHIP_REWARDS {return $_[0]->_get_column('MEMBERSHIP_REWARDS')} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
1; |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
__END__ |