line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPRAW::Detail::Chargeback; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::EPRAW::Detail::Chargeback::VERSION = '0.003'; |
3
|
7
|
|
|
7
|
|
45
|
use strict; |
|
7
|
|
|
|
|
18
|
|
|
7
|
|
|
|
|
185
|
|
4
|
7
|
|
|
7
|
|
34
|
use warnings; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
172
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Reconciliation Files (EPRAW) Chargeback Detail Rows |
7
|
|
|
|
|
|
|
|
8
|
7
|
|
|
7
|
|
37
|
use base 'Finance::AMEX::Transaction::EPRAW::Base'; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
4568
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
|
|
|
|
|
|
|
13
|
115
|
|
|
115
|
0
|
1773
|
AMEX_PAYEE_NUMBER => [1, 10], |
14
|
|
|
|
|
|
|
AMEX_SE_NUMBER => [11, 10], |
15
|
|
|
|
|
|
|
SE_UNIT_NUMBER => [21, 10], |
16
|
|
|
|
|
|
|
PAYMENT_YEAR => [31, 4], |
17
|
|
|
|
|
|
|
PAYMENT_NUMBER => [35, 8], |
18
|
|
|
|
|
|
|
PAYMENT_NUMBER_DATE => [35, 3], |
19
|
|
|
|
|
|
|
PAYMENT_NUMBER_TYPE => [38, 1], |
20
|
|
|
|
|
|
|
PAYMENT_NUMBER_NUMBER => [39, 4], |
21
|
|
|
|
|
|
|
RECORD_TYPE => [43, 1], |
22
|
|
|
|
|
|
|
DETAIL_RECORD_TYPE => [44, 2], |
23
|
|
|
|
|
|
|
SE_BUSINESS_DATE => [46, 7], |
24
|
|
|
|
|
|
|
AMEX_PROCESS_DATE => [53, 7], |
25
|
|
|
|
|
|
|
SOC_INVOICE_NUMBER => [60, 6], |
26
|
|
|
|
|
|
|
SOC_AMOUNT => [66, 11], |
27
|
|
|
|
|
|
|
CHARGEBACK_AMOUNT => [77, 9], |
28
|
|
|
|
|
|
|
DISCOUNT_AMOUNT => [86, 9], |
29
|
|
|
|
|
|
|
SERVICE_FEE_AMOUNT => [95, 7], |
30
|
|
|
|
|
|
|
NET_CHARGEBACK_AMOUNT => [109, 9], |
31
|
|
|
|
|
|
|
DISCOUNT_RATE => [118, 5], |
32
|
|
|
|
|
|
|
SERVICE_FEE_RATE => [123, 5], |
33
|
|
|
|
|
|
|
CHARGEBACK_REASON => [144, 280], |
34
|
|
|
|
|
|
|
SERVICE_AGENT_MERCHANT_ID => [430, 15], |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
}; |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
10
|
|
|
10
|
1
|
2844
|
sub type {return 'CHARGEBACK_DETAIL'} |
40
|
|
|
|
|
|
|
|
41
|
5
|
|
|
5
|
1
|
2797
|
sub AMEX_PAYEE_NUMBER {return $_[0]->_get_column('AMEX_PAYEE_NUMBER')} |
42
|
5
|
|
|
5
|
1
|
2810
|
sub AMEX_SE_NUMBER {return $_[0]->_get_column('AMEX_SE_NUMBER')} |
43
|
5
|
|
|
5
|
1
|
2725
|
sub SE_UNIT_NUMBER {return $_[0]->_get_column('SE_UNIT_NUMBER')} |
44
|
5
|
|
|
5
|
1
|
2729
|
sub PAYMENT_YEAR {return $_[0]->_get_column('PAYMENT_YEAR')} |
45
|
5
|
|
|
5
|
1
|
2747
|
sub PAYMENT_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER')} |
46
|
5
|
|
|
5
|
1
|
2772
|
sub PAYMENT_NUMBER_DATE {return $_[0]->_get_column('PAYMENT_NUMBER_DATE')} |
47
|
5
|
|
|
5
|
1
|
2687
|
sub PAYMENT_NUMBER_TYPE {return $_[0]->_get_column('PAYMENT_NUMBER_TYPE')} |
48
|
5
|
|
|
5
|
1
|
2865
|
sub PAYMENT_NUMBER_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER_NUMBER')} |
49
|
5
|
|
|
5
|
1
|
2180
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
50
|
5
|
|
|
5
|
1
|
2144
|
sub DETAIL_RECORD_TYPE {return $_[0]->_get_column('DETAIL_RECORD_TYPE')} |
51
|
5
|
|
|
5
|
1
|
2758
|
sub SE_BUSINESS_DATE {return $_[0]->_get_column('SE_BUSINESS_DATE')} |
52
|
5
|
|
|
5
|
1
|
1615
|
sub AMEX_PROCESS_DATE {return $_[0]->_get_column('AMEX_PROCESS_DATE')} |
53
|
5
|
|
|
5
|
1
|
2788
|
sub SOC_INVOICE_NUMBER {return $_[0]->_get_column('SOC_INVOICE_NUMBER')} |
54
|
5
|
|
|
5
|
1
|
2734
|
sub SOC_AMOUNT {return $_[0]->_get_column('SOC_AMOUNT')} |
55
|
5
|
|
|
5
|
1
|
2761
|
sub CHARGEBACK_AMOUNT {return $_[0]->_get_column('CHARGEBACK_AMOUNT')} |
56
|
5
|
|
|
5
|
1
|
2748
|
sub DISCOUNT_AMOUNT {return $_[0]->_get_column('DISCOUNT_AMOUNT')} |
57
|
5
|
|
|
5
|
1
|
2720
|
sub SERVICE_FEE_AMOUNT {return $_[0]->_get_column('SERVICE_FEE_AMOUNT')} |
58
|
5
|
|
|
5
|
1
|
2168
|
sub NET_CHARGEBACK_AMOUNT {return $_[0]->_get_column('NET_CHARGEBACK_AMOUNT')} |
59
|
5
|
|
|
5
|
1
|
2824
|
sub DISCOUNT_RATE {return $_[0]->_get_column('DISCOUNT_RATE')} |
60
|
5
|
|
|
5
|
1
|
2784
|
sub SERVICE_FEE_RATE {return $_[0]->_get_column('SERVICE_FEE_RATE')} |
61
|
5
|
|
|
5
|
1
|
3039
|
sub CHARGEBACK_REASON {return $_[0]->_get_column('CHARGEBACK_REASON')} |
62
|
5
|
|
|
5
|
1
|
2809
|
sub SERVICE_AGENT_MERCHANT_ID {return $_[0]->_get_column('SERVICE_AGENT_MERCHANT_ID')} |
63
|
|
|
|
|
|
|
1; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
__END__ |