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.004'; |
3
|
8
|
|
|
8
|
|
58
|
use strict; |
|
8
|
|
|
|
|
17
|
|
|
8
|
|
|
|
|
243
|
|
4
|
8
|
|
|
8
|
|
41
|
use warnings; |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
219
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Reconciliation Files (EPRAW) Chargeback Detail Rows |
7
|
|
|
|
|
|
|
|
8
|
8
|
|
|
8
|
|
47
|
use base 'Finance::AMEX::Transaction::EPRAW::Base'; |
|
8
|
|
|
|
|
19
|
|
|
8
|
|
|
|
|
5868
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
|
|
|
|
|
|
|
13
|
115
|
|
|
115
|
0
|
1839
|
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
|
2821
|
sub type {return 'CHARGEBACK_DETAIL'} |
40
|
|
|
|
|
|
|
|
41
|
5
|
|
|
5
|
1
|
2655
|
sub AMEX_PAYEE_NUMBER {return $_[0]->_get_column('AMEX_PAYEE_NUMBER')} |
42
|
5
|
|
|
5
|
1
|
2705
|
sub AMEX_SE_NUMBER {return $_[0]->_get_column('AMEX_SE_NUMBER')} |
43
|
5
|
|
|
5
|
1
|
2717
|
sub SE_UNIT_NUMBER {return $_[0]->_get_column('SE_UNIT_NUMBER')} |
44
|
5
|
|
|
5
|
1
|
2703
|
sub PAYMENT_YEAR {return $_[0]->_get_column('PAYMENT_YEAR')} |
45
|
5
|
|
|
5
|
1
|
2124
|
sub PAYMENT_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER')} |
46
|
5
|
|
|
5
|
1
|
2721
|
sub PAYMENT_NUMBER_DATE {return $_[0]->_get_column('PAYMENT_NUMBER_DATE')} |
47
|
5
|
|
|
5
|
1
|
2660
|
sub PAYMENT_NUMBER_TYPE {return $_[0]->_get_column('PAYMENT_NUMBER_TYPE')} |
48
|
5
|
|
|
5
|
1
|
2798
|
sub PAYMENT_NUMBER_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER_NUMBER')} |
49
|
5
|
|
|
5
|
1
|
2653
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
50
|
5
|
|
|
5
|
1
|
2741
|
sub DETAIL_RECORD_TYPE {return $_[0]->_get_column('DETAIL_RECORD_TYPE')} |
51
|
5
|
|
|
5
|
1
|
2734
|
sub SE_BUSINESS_DATE {return $_[0]->_get_column('SE_BUSINESS_DATE')} |
52
|
5
|
|
|
5
|
1
|
2684
|
sub AMEX_PROCESS_DATE {return $_[0]->_get_column('AMEX_PROCESS_DATE')} |
53
|
5
|
|
|
5
|
1
|
2732
|
sub SOC_INVOICE_NUMBER {return $_[0]->_get_column('SOC_INVOICE_NUMBER')} |
54
|
5
|
|
|
5
|
1
|
2654
|
sub SOC_AMOUNT {return $_[0]->_get_column('SOC_AMOUNT')} |
55
|
5
|
|
|
5
|
1
|
2653
|
sub CHARGEBACK_AMOUNT {return $_[0]->_get_column('CHARGEBACK_AMOUNT')} |
56
|
5
|
|
|
5
|
1
|
2172
|
sub DISCOUNT_AMOUNT {return $_[0]->_get_column('DISCOUNT_AMOUNT')} |
57
|
5
|
|
|
5
|
1
|
2695
|
sub SERVICE_FEE_AMOUNT {return $_[0]->_get_column('SERVICE_FEE_AMOUNT')} |
58
|
5
|
|
|
5
|
1
|
2702
|
sub NET_CHARGEBACK_AMOUNT {return $_[0]->_get_column('NET_CHARGEBACK_AMOUNT')} |
59
|
5
|
|
|
5
|
1
|
2157
|
sub DISCOUNT_RATE {return $_[0]->_get_column('DISCOUNT_RATE')} |
60
|
5
|
|
|
5
|
1
|
2742
|
sub SERVICE_FEE_RATE {return $_[0]->_get_column('SERVICE_FEE_RATE')} |
61
|
5
|
|
|
5
|
1
|
2161
|
sub CHARGEBACK_REASON {return $_[0]->_get_column('CHARGEBACK_REASON')} |
62
|
5
|
|
|
5
|
1
|
2164
|
sub SERVICE_AGENT_MERCHANT_ID {return $_[0]->_get_column('SERVICE_AGENT_MERCHANT_ID')} |
63
|
|
|
|
|
|
|
1; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
__END__ |