line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPPRC::Detail::ChargeSummaryPricing 0.005; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
52
|
use strict; |
|
9
|
|
|
|
|
15
|
|
|
9
|
|
|
|
|
224
|
|
4
|
9
|
|
|
9
|
|
38
|
use warnings; |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
191
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Transaction/Invoice Level Reconciliation (EPPRC) Summary of Charge (SOC) Level Pricing Rows |
7
|
|
|
|
|
|
|
|
8
|
9
|
|
|
9
|
|
37
|
use base 'Finance::AMEX::Transaction::EPPRC::Base'; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
4234
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
324
|
|
|
324
|
1
|
3896
|
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
|
|
|
|
|
|
|
FEE_CODE => [46, 2], |
23
|
|
|
|
|
|
|
FEE_DESCRIPTION => [45, 25], |
24
|
|
|
|
|
|
|
DISCOUNT_RATE => [73, 9], |
25
|
|
|
|
|
|
|
DISCOUNT_AMOUNT => [82, 15], |
26
|
|
|
|
|
|
|
FEE_RATE => [97, 9], |
27
|
|
|
|
|
|
|
FEE_AMOUNT => [106, 15], |
28
|
|
|
|
|
|
|
MERCHANT_ID => [121, 15], |
29
|
|
|
|
|
|
|
}; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
36
|
|
|
36
|
1
|
8593
|
sub type {return 'SOC_PRICING'} |
33
|
|
|
|
|
|
|
|
34
|
18
|
|
|
18
|
1
|
7617
|
sub AMEX_PAYEE_NUMBER {return $_[0]->_get_column('AMEX_PAYEE_NUMBER')} |
35
|
18
|
|
|
18
|
1
|
8338
|
sub AMEX_SE_NUMBER {return $_[0]->_get_column('AMEX_SE_NUMBER')} |
36
|
18
|
|
|
18
|
1
|
8200
|
sub SE_UNIT_NUMBER {return $_[0]->_get_column('SE_UNIT_NUMBER')} |
37
|
18
|
|
|
18
|
1
|
8077
|
sub PAYMENT_YEAR {return $_[0]->_get_column('PAYMENT_YEAR')} |
38
|
18
|
|
|
18
|
1
|
8632
|
sub PAYMENT_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER')} |
39
|
18
|
|
|
18
|
1
|
8896
|
sub PAYMENT_NUMBER_DATE {return $_[0]->_get_column('PAYMENT_NUMBER_DATE')} |
40
|
18
|
|
|
18
|
1
|
8386
|
sub PAYMENT_NUMBER_TYPE {return $_[0]->_get_column('PAYMENT_NUMBER_TYPE')} |
41
|
18
|
|
|
18
|
1
|
6211
|
sub PAYMENT_NUMBER_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER_NUMBER')} |
42
|
18
|
|
|
18
|
1
|
8107
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
43
|
18
|
|
|
18
|
1
|
7943
|
sub DETAIL_RECORD_TYPE {return $_[0]->_get_column('DETAIL_RECORD_TYPE')} |
44
|
18
|
|
|
18
|
1
|
8427
|
sub FEE_CODE {return $_[0]->_get_column('FEE_CODE')} |
45
|
18
|
|
|
18
|
1
|
8461
|
sub FEE_DESCRIPTION {return $_[0]->_get_column('FEE_DESCRIPTION')} |
46
|
18
|
|
|
18
|
1
|
8029
|
sub DISCOUNT_RATE {return $_[0]->_get_column('DISCOUNT_RATE')} |
47
|
18
|
|
|
18
|
1
|
8073
|
sub DISCOUNT_AMOUNT {return $_[0]->_get_column('DISCOUNT_AMOUNT')} |
48
|
18
|
|
|
18
|
1
|
8079
|
sub FEE_RATE {return $_[0]->_get_column('FEE_RATE')} |
49
|
18
|
|
|
18
|
1
|
7837
|
sub FEE_AMOUNT {return $_[0]->_get_column('FEE_AMOUNT')} |
50
|
18
|
|
|
18
|
1
|
8033
|
sub MERCHANT_ID {return $_[0]->_get_column('MERCHANT_ID')} |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
1; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
__END__ |