line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPPRC::Detail::ChargeSummary; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::EPPRC::Detail::ChargeSummary::VERSION = '0.003'; |
3
|
7
|
|
|
7
|
|
44
|
use strict; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
197
|
|
4
|
7
|
|
|
7
|
|
39
|
use warnings; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
174
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Transaction/Invoice Level Reconciliation (EPPRC) Summary of Charge (SOC) Detail Rows |
7
|
|
|
|
|
|
|
|
8
|
7
|
|
|
7
|
|
31
|
use base 'Finance::AMEX::Transaction::EPPRC::Base'; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
6449
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
|
|
|
|
|
|
|
13
|
2210
|
|
|
2210
|
0
|
45376
|
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
|
|
|
|
|
|
|
DISCOUNT_AMOUNT => [77, 9], |
28
|
|
|
|
|
|
|
SERVICE_FEE_AMOUNT => [86, 7], |
29
|
|
|
|
|
|
|
NET_SOC_AMOUNT => [100, 11], |
30
|
|
|
|
|
|
|
DISCOUNT_RATE => [111, 5], |
31
|
|
|
|
|
|
|
SERVICE_FEE_RATE => [116, 5], |
32
|
|
|
|
|
|
|
AMEX_GROSS_AMOUNT => [142, 11], |
33
|
|
|
|
|
|
|
AMEX_ROC_COUNT => [153, 5], |
34
|
|
|
|
|
|
|
TRACKING_ID => [158, 9], |
35
|
|
|
|
|
|
|
TRACKING_ID_DATE => [158, 3], |
36
|
|
|
|
|
|
|
TRACKING_ID_PCID => [161, 6], |
37
|
|
|
|
|
|
|
CPC_INDICATOR => [167, 1], |
38
|
|
|
|
|
|
|
AMEX_ROC_COUNT_POA => [183, 7], |
39
|
|
|
|
|
|
|
BASE_DISCOUNT_AMOUNT => [190, 16], |
40
|
|
|
|
|
|
|
CARD_NOT_PRESENT_BPA_AMOUNT => [206, 16], |
41
|
|
|
|
|
|
|
CARD_NOT_PRESENT_PTA_AMOUNT => [222, 16], |
42
|
|
|
|
|
|
|
CARD_NOT_PRESENT_BPA_RATE => [238, 9], |
43
|
|
|
|
|
|
|
CARD_NOT_PRESENT_PTA_RATE => [247, 9], |
44
|
|
|
|
|
|
|
TRANSACTION_FEE_AMOUNT => [256, 16], |
45
|
|
|
|
|
|
|
TRANSACTION_FEE_RATE => [272, 9], |
46
|
|
|
|
|
|
|
}; |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
|
49
|
130
|
|
|
130
|
1
|
36358
|
sub type {return 'SOC_DETAIL'} |
50
|
|
|
|
|
|
|
|
51
|
65
|
|
|
65
|
1
|
33612
|
sub AMEX_PAYEE_NUMBER {return $_[0]->_get_column('AMEX_PAYEE_NUMBER')} |
52
|
65
|
|
|
65
|
1
|
34697
|
sub AMEX_SE_NUMBER {return $_[0]->_get_column('AMEX_SE_NUMBER')} |
53
|
65
|
|
|
65
|
1
|
35139
|
sub SE_UNIT_NUMBER {return $_[0]->_get_column('SE_UNIT_NUMBER')} |
54
|
65
|
|
|
65
|
1
|
33578
|
sub PAYMENT_YEAR {return $_[0]->_get_column('PAYMENT_YEAR')} |
55
|
65
|
|
|
65
|
1
|
34821
|
sub PAYMENT_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER')} |
56
|
65
|
|
|
65
|
1
|
33802
|
sub PAYMENT_NUMBER_DATE {return $_[0]->_get_column('PAYMENT_NUMBER_DATE')} |
57
|
65
|
|
|
65
|
1
|
35857
|
sub PAYMENT_NUMBER_TYPE {return $_[0]->_get_column('PAYMENT_NUMBER_TYPE')} |
58
|
65
|
|
|
65
|
1
|
34766
|
sub PAYMENT_NUMBER_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER_NUMBER')} |
59
|
65
|
|
|
65
|
1
|
33940
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
60
|
65
|
|
|
65
|
1
|
33458
|
sub DETAIL_RECORD_TYPE {return $_[0]->_get_column('DETAIL_RECORD_TYPE')} |
61
|
65
|
|
|
65
|
1
|
34067
|
sub SE_BUSINESS_DATE {return $_[0]->_get_column('SE_BUSINESS_DATE')} |
62
|
65
|
|
|
65
|
1
|
34067
|
sub AMEX_PROCESS_DATE {return $_[0]->_get_column('AMEX_PROCESS_DATE')} |
63
|
65
|
|
|
65
|
1
|
34228
|
sub SOC_INVOICE_NUMBER {return $_[0]->_get_column('SOC_INVOICE_NUMBER')} |
64
|
65
|
|
|
65
|
1
|
35528
|
sub SOC_AMOUNT {return $_[0]->_get_column('SOC_AMOUNT')} |
65
|
65
|
|
|
65
|
1
|
32515
|
sub DISCOUNT_AMOUNT {return $_[0]->_get_column('DISCOUNT_AMOUNT')} |
66
|
65
|
|
|
65
|
1
|
34250
|
sub SERVICE_FEE_AMOUNT {return $_[0]->_get_column('SERVICE_FEE_AMOUNT')} |
67
|
65
|
|
|
65
|
1
|
31819
|
sub NET_SOC_AMOUNT {return $_[0]->_get_column('NET_SOC_AMOUNT')} |
68
|
65
|
|
|
65
|
1
|
35258
|
sub DISCOUNT_RATE {return $_[0]->_get_column('DISCOUNT_RATE')} |
69
|
65
|
|
|
65
|
1
|
34024
|
sub SERVICE_FEE_RATE {return $_[0]->_get_column('SERVICE_FEE_RATE')} |
70
|
65
|
|
|
65
|
1
|
34504
|
sub AMEX_GROSS_AMOUNT {return $_[0]->_get_column('AMEX_GROSS_AMOUNT')} |
71
|
65
|
|
|
65
|
1
|
35722
|
sub AMEX_ROC_COUNT {return $_[0]->_get_column('AMEX_ROC_COUNT')} |
72
|
65
|
|
|
65
|
1
|
34634
|
sub TRACKING_ID {return $_[0]->_get_column('TRACKING_ID')} |
73
|
65
|
|
|
65
|
1
|
35369
|
sub TRACKING_ID_DATE {return $_[0]->_get_column('TRACKING_ID_DATE')} |
74
|
65
|
|
|
65
|
1
|
34524
|
sub TRACKING_ID_PCID {return $_[0]->_get_column('TRACKING_ID_PCID')} |
75
|
65
|
|
|
65
|
1
|
33858
|
sub CPC_INDICATOR {return $_[0]->_get_column('CPC_INDICATOR')} |
76
|
65
|
|
|
65
|
1
|
34179
|
sub AMEX_ROC_COUNT_POA {return $_[0]->_get_column('AMEX_ROC_COUNT_POA')} |
77
|
65
|
|
|
65
|
1
|
32337
|
sub BASE_DISCOUNT_AMOUNT {return $_[0]->_get_column('BASE_DISCOUNT_AMOUNT')} |
78
|
65
|
|
|
65
|
1
|
35336
|
sub CARD_NOT_PRESENT_BPA_AMOUNT {return $_[0]->_get_column('CARD_NOT_PRESENT_BPA_AMOUNT')} |
79
|
65
|
|
|
65
|
1
|
35312
|
sub CARD_NOT_PRESENT_PTA_AMOUNT {return $_[0]->_get_column('CARD_NOT_PRESENT_PTA_AMOUNT')} |
80
|
65
|
|
|
65
|
1
|
33143
|
sub CARD_NOT_PRESENT_BPA_RATE {return $_[0]->_get_column('CARD_NOT_PRESENT_BPA_RATE')} |
81
|
65
|
|
|
65
|
1
|
33033
|
sub CARD_NOT_PRESENT_PTA_RATE {return $_[0]->_get_column('CARD_NOT_PRESENT_PTA_RATE')} |
82
|
65
|
|
|
65
|
1
|
34012
|
sub TRANSACTION_FEE_AMOUNT {return $_[0]->_get_column('TRANSACTION_FEE_AMOUNT')} |
83
|
65
|
|
|
65
|
1
|
34977
|
sub TRANSACTION_FEE_RATE {return $_[0]->_get_column('TRANSACTION_FEE_RATE')} |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
1; |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
__END__ |