line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPPRC::Detail::RecordSummaryPricing; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::EPPRC::Detail::RecordSummaryPricing::VERSION = '0.004'; |
3
|
8
|
|
|
8
|
|
60
|
use strict; |
|
8
|
|
|
|
|
17
|
|
|
8
|
|
|
|
|
261
|
|
4
|
8
|
|
|
8
|
|
43
|
use warnings; |
|
8
|
|
|
|
|
23
|
|
|
8
|
|
|
|
|
853
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Transaction/Invoice Level Reconciliation (EPPRC) Record of Charge (ROC) Level Pricing Record Rows |
7
|
|
|
|
|
|
|
|
8
|
8
|
|
|
8
|
|
66
|
use base 'Finance::AMEX::Transaction::EPPRC::Base'; |
|
8
|
|
|
|
|
20
|
|
|
8
|
|
|
|
|
5292
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
|
|
|
|
|
|
|
13
|
5994
|
|
|
5994
|
0
|
88522
|
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
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
FEE_CODE => [46, 2], |
25
|
|
|
|
|
|
|
FEE_DESCRIPTION => [48, 25], |
26
|
|
|
|
|
|
|
DISCOUNT_RATE => [73, 9], |
27
|
|
|
|
|
|
|
DISCOUNT_AMOUNT => [82, 15], |
28
|
|
|
|
|
|
|
FEE_RATE => [97, 9], |
29
|
|
|
|
|
|
|
FEE_AMOUNT => [106, 15], |
30
|
|
|
|
|
|
|
MERCHANT_ID => [121, 15], |
31
|
|
|
|
|
|
|
}; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
666
|
|
|
666
|
1
|
193537
|
sub type {return 'ROC_PRICING'} |
35
|
|
|
|
|
|
|
|
36
|
333
|
|
|
333
|
1
|
174113
|
sub AMEX_PAYEE_NUMBER {return $_[0]->_get_column('AMEX_PAYEE_NUMBER')} |
37
|
333
|
|
|
333
|
1
|
168238
|
sub AMEX_SE_NUMBER {return $_[0]->_get_column('AMEX_SE_NUMBER')} |
38
|
333
|
|
|
333
|
1
|
182731
|
sub SE_UNIT_NUMBER {return $_[0]->_get_column('SE_UNIT_NUMBER')} |
39
|
333
|
|
|
333
|
1
|
171879
|
sub PAYMENT_YEAR {return $_[0]->_get_column('PAYMENT_YEAR')} |
40
|
333
|
|
|
333
|
1
|
179055
|
sub PAYMENT_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER')} |
41
|
333
|
|
|
333
|
1
|
182652
|
sub PAYMENT_NUMBER_DATE {return $_[0]->_get_column('PAYMENT_NUMBER_DATE')} |
42
|
333
|
|
|
333
|
1
|
179039
|
sub PAYMENT_NUMBER_TYPE {return $_[0]->_get_column('PAYMENT_NUMBER_TYPE')} |
43
|
333
|
|
|
333
|
1
|
161035
|
sub PAYMENT_NUMBER_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER_NUMBER')} |
44
|
333
|
|
|
333
|
1
|
166994
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
45
|
333
|
|
|
333
|
1
|
177356
|
sub DETAIL_RECORD_TYPE {return $_[0]->_get_column('DETAIL_RECORD_TYPE')} |
46
|
|
|
|
|
|
|
|
47
|
333
|
|
|
333
|
1
|
186856
|
sub FEE_CODE {return $_[0]->_get_column('FEE_CODE')} |
48
|
333
|
|
|
333
|
1
|
178671
|
sub FEE_DESCRIPTION {return $_[0]->_get_column('FEE_DESCRIPTION')} |
49
|
333
|
|
|
333
|
1
|
158138
|
sub DISCOUNT_RATE {return $_[0]->_get_column('DISCOUNT_RATE')} |
50
|
333
|
|
|
333
|
1
|
167613
|
sub DISCOUNT_AMOUNT {return $_[0]->_get_column('DISCOUNT_AMOUNT')} |
51
|
333
|
|
|
333
|
1
|
176574
|
sub FEE_RATE {return $_[0]->_get_column('FEE_RATE')} |
52
|
333
|
|
|
333
|
1
|
179541
|
sub FEE_AMOUNT {return $_[0]->_get_column('FEE_AMOUNT')} |
53
|
333
|
|
|
333
|
1
|
181014
|
sub MERCHANT_ID {return $_[0]->_get_column('MERCHANT_ID')} |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
1; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
__END__ |