File Coverage

blib/lib/Business/EDI/CodeList/CurrencyTypeCodeQualifier.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::CurrencyTypeCodeQualifier;
2              
3 7     7   46 use base 'Business::EDI::CodeList';
  7         16  
  7         1900  
4             my $VERSION = 0.02;
5 33     33 0 101 sub list_number {6343;}
6             my $usage = 'C';
7              
8             # 6343 Currency type code qualifier [C]
9             # Desc: Code qualifying the type of currency.
10             # Repr: an..3
11              
12             my %code_hash = (
13             '1' => [ 'Customs valuation currency',
14             'The currency of the monetary unit involved in the transaction for customs valuation.' ],
15             '2' => [ 'Insurance currency',
16             'The currency of the monetary unit involved in the transaction for insurance purposes.' ],
17             '3' => [ 'Home currency',
18             'The currency of the local monetary unit.' ],
19             '4' => [ 'Invoicing currency',
20             'The currency of the monetary unit used for calculation in an invoice.' ],
21             '5' => [ 'Account currency',
22             'The currency of the monetary unit of an account.' ],
23             '6' => [ 'Reference currency',
24             'The currency of the monetary unit to be converted from.' ],
25             '7' => [ 'Target currency',
26             'The currency of the monetary unit to be converted into.' ],
27             '8' => [ 'Price list currency',
28             'The currency of the monetary unit used in a price list.' ],
29             '9' => [ 'Order currency',
30             'The currency of the monetary unit used in an order.' ],
31             '10' => [ 'Pricing currency',
32             'The currency of the monetary unit used for pricing purposes.' ],
33             '11' => [ 'Payment currency',
34             'The currency of the monetary unit used for payment.' ],
35             '12' => [ 'Quotation currency',
36             'The currency of the monetary unit used in a quotation.' ],
37             '13' => [ 'Recipient local currency',
38             "The currency of the local monetary unit at recipient's location." ],
39             '14' => [ 'Supplier currency',
40             'The currency of the monetary unit normally used by the supplier.' ],
41             '15' => [ 'Sender local currency',
42             "The currency of the local monetary unit at sender's location." ],
43             '16' => [ 'Tariff currency',
44             'The currency as per tariff.' ],
45             '17' => [ 'Charge calculation currency',
46             'The currency in which the charges are calculated.' ],
47             '18' => [ 'Tax currency',
48             'The currency in which tax amounts are due or have been paid.' ],
49             );
50 33     33 0 88 sub get_codes { return \%code_hash; }
51              
52             1;