line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::AMEX::Transaction::EPPRC::Detail::Other; |
2
|
|
|
|
|
|
|
$Finance::AMEX::Transaction::EPPRC::Detail::Other::VERSION = '0.003'; |
3
|
7
|
|
|
7
|
|
45
|
use strict; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
186
|
|
4
|
7
|
|
|
7
|
|
48
|
use warnings; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
175
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Parse AMEX Transaction/Invoice Level Reconciliation (EPPRC) Other Fees and Revenues Detail Rows |
7
|
|
|
|
|
|
|
|
8
|
7
|
|
|
7
|
|
35
|
use base 'Finance::AMEX::Transaction::EPPRC::Base'; |
|
7
|
|
|
|
|
23
|
|
|
7
|
|
|
|
|
4757
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub field_map { |
11
|
|
|
|
|
|
|
return { |
12
|
|
|
|
|
|
|
|
13
|
345
|
|
|
345
|
0
|
5238
|
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
|
|
|
|
|
|
|
AMEX_PROCESS_DATE => [46, 7], |
24
|
|
|
|
|
|
|
ASSET_BILLING_AMOUNT => [53, 9], |
25
|
|
|
|
|
|
|
ASSET_BILLING_DESCRIPTION => [62, 65], |
26
|
|
|
|
|
|
|
TAKE_ONE_COMMISSION_AMOUNT => [127, 9], |
27
|
|
|
|
|
|
|
TAKE_ONE_DESCRIPTION => [136, 80], |
28
|
|
|
|
|
|
|
OTHER_FEE_AMOUNT => [216, 9], |
29
|
|
|
|
|
|
|
OTHER_FEE_DESCRIPTION => [225, 80], |
30
|
|
|
|
|
|
|
ASSET_BILLING_TAX => [305, 9], |
31
|
|
|
|
|
|
|
PAY_IN_GROSS_INDICATOR => [314, 1], |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
BATCH_CODE => [315, 3], |
34
|
|
|
|
|
|
|
BILL_CODE => [318, 3], |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
SERVICE_AGENT_MERCHANT_ID => [321, 15], |
37
|
|
|
|
|
|
|
}; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
30
|
|
|
30
|
1
|
8319
|
sub type {return 'OTHER_DETAIL'} |
41
|
|
|
|
|
|
|
|
42
|
15
|
|
|
15
|
1
|
7721
|
sub AMEX_PAYEE_NUMBER {return $_[0]->_get_column('AMEX_PAYEE_NUMBER')} |
43
|
15
|
|
|
15
|
1
|
8027
|
sub AMEX_SE_NUMBER {return $_[0]->_get_column('AMEX_SE_NUMBER')} |
44
|
15
|
|
|
15
|
1
|
8390
|
sub SE_UNIT_NUMBER {return $_[0]->_get_column('SE_UNIT_NUMBER')} |
45
|
15
|
|
|
15
|
1
|
7512
|
sub PAYMENT_YEAR {return $_[0]->_get_column('PAYMENT_YEAR')} |
46
|
15
|
|
|
15
|
1
|
7545
|
sub PAYMENT_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER')} |
47
|
15
|
|
|
15
|
1
|
8313
|
sub PAYMENT_NUMBER_DATE {return $_[0]->_get_column('PAYMENT_NUMBER_DATE')} |
48
|
15
|
|
|
15
|
1
|
7952
|
sub PAYMENT_NUMBER_TYPE {return $_[0]->_get_column('PAYMENT_NUMBER_TYPE')} |
49
|
15
|
|
|
15
|
1
|
7989
|
sub PAYMENT_NUMBER_NUMBER {return $_[0]->_get_column('PAYMENT_NUMBER_NUMBER')} |
50
|
15
|
|
|
15
|
1
|
7584
|
sub RECORD_TYPE {return $_[0]->_get_column('RECORD_TYPE')} |
51
|
15
|
|
|
15
|
1
|
6938
|
sub DETAIL_RECORD_TYPE {return $_[0]->_get_column('DETAIL_RECORD_TYPE')} |
52
|
15
|
|
|
15
|
1
|
8064
|
sub AMEX_PROCESS_DATE {return $_[0]->_get_column('AMEX_PROCESS_DATE')} |
53
|
15
|
|
|
15
|
1
|
8111
|
sub ASSET_BILLING_AMOUNT {return $_[0]->_get_column('ASSET_BILLING_AMOUNT')} |
54
|
15
|
|
|
15
|
1
|
8243
|
sub ASSET_BILLING_DESCRIPTION {return $_[0]->_get_column('ASSET_BILLING_DESCRIPTION')} |
55
|
15
|
|
|
15
|
1
|
7501
|
sub TAKE_ONE_COMMISSION_AMOUNT {return $_[0]->_get_column('TAKE_ONE_COMMISSION_AMOUNT')} |
56
|
15
|
|
|
15
|
1
|
8097
|
sub TAKE_ONE_DESCRIPTION {return $_[0]->_get_column('TAKE_ONE_DESCRIPTION')} |
57
|
15
|
|
|
15
|
1
|
8046
|
sub OTHER_FEE_AMOUNT {return $_[0]->_get_column('OTHER_FEE_AMOUNT')} |
58
|
15
|
|
|
15
|
1
|
7624
|
sub OTHER_FEE_DESCRIPTION {return $_[0]->_get_column('OTHER_FEE_DESCRIPTION')} |
59
|
15
|
|
|
15
|
1
|
8077
|
sub ASSET_BILLING_TAX {return $_[0]->_get_column('ASSET_BILLING_TAX')} |
60
|
15
|
|
|
15
|
1
|
7554
|
sub PAY_IN_GROSS_INDICATOR {return $_[0]->_get_column('PAY_IN_GROSS_INDICATOR')} |
61
|
|
|
|
|
|
|
|
62
|
15
|
|
|
15
|
1
|
7075
|
sub BATCH_CODE {return $_[0]->_get_column('BATCH_CODE')} |
63
|
15
|
|
|
15
|
1
|
7515
|
sub BILL_CODE {return $_[0]->_get_column('BILL_CODE')} |
64
|
|
|
|
|
|
|
|
65
|
15
|
|
|
15
|
1
|
6411
|
sub SERVICE_AGENT_MERCHANT_ID {return $_[0]->_get_column('SERVICE_AGENT_MERCHANT_ID')} |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
1; |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
__END__ |