File Coverage

blib/lib/Business/EDI/CodeList/CurrencyUsageCodeQualifier.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 2 0.0
total 8 10 80.0


line stmt bran cond sub pod time code
1             package Business::EDI::CodeList::CurrencyUsageCodeQualifier;
2              
3 7     7   44 use base 'Business::EDI::CodeList';
  7         13  
  7         1361  
4             my $VERSION = 0.02;
5 33     33 0 99 sub list_number {6347;}
6             my $usage = 'C';
7              
8             # 6347 Currency usage code qualifier [C]
9             # Desc: Code qualifying the usage of a currency.
10             # Repr: an..3
11              
12             my %code_hash = (
13             '1' => [ 'Charge payment currency',
14             'The currency in which charges are to be paid.' ],
15             '2' => [ 'Reference currency',
16             'The currency applicable to amounts stated. It may have to be converted.' ],
17             '3' => [ 'Target currency',
18             'The currency which should be used to the target destination of the transaction.' ],
19             '4' => [ 'Transport document currency',
20             'Currency applicable to amounts stated in a transport document/message.' ],
21             '5' => [ 'Calculation base currency',
22             'Currency on which the calculation is based.' ],
23             '6' => [ 'Information Currency',
24             'Additional currency the message recipient needs for information purposes. The actual message amount(s) is/are not based upon this currency.' ],
25             '7' => [ 'Currency of the account',
26             'Currency in which the account is held.' ],
27             );
28 33     33 0 97 sub get_codes { return \%code_hash; }
29              
30             1;