Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CurrencyAmount |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2010 The Kuali Foundation Licensed under the Educational | |
3 | * Community License, Version 2.0 (the "License"); you may not use | |
4 | * this file except in compliance with the License. You may obtain a | |
5 | * copy of the License at | |
6 | * | |
7 | * http://www.osedu.org/licenses/ECL-2.0 | |
8 | * | |
9 | * Unless required by applicable law or agreed to in writing, software | |
10 | * distributed under the License is distributed on an "AS IS" BASIS, | |
11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
12 | * implied. See the License for the specific language governing | |
13 | * permissions and limitations under the License. | |
14 | */ | |
15 | ||
16 | package org.kuali.student.r2.common.infc; | |
17 | ||
18 | /** | |
19 | * Detailed information about an amount of currency including both the type of units and the quantity. | |
20 | * | |
21 | * @author Kamal | |
22 | * @since Mon Jan 11 15:20:51 PST 2010 | |
23 | */ | |
24 | ||
25 | public interface CurrencyAmount | |
26 | extends HasId, HasMeta { | |
27 | ||
28 | /** | |
29 | * The kind of units associated with the quantity, such as US | |
30 | * Dollars. | |
31 | * | |
32 | * @name Currency Type Key | |
33 | */ | |
34 | public String getCurrencyTypeKey(); | |
35 | ||
36 | /** | |
37 | * The amount of currency. | |
38 | * | |
39 | * @name Currency Quantity | |
40 | */ | |
41 | public Integer getCurrencyQuantity(); | |
42 | } |