18.4
Define an interface specification for the Currency Converter and Check credit rating services services shown in Figure 18.7.| Operation | Inputs | Outputs | Exceptions |
| ConvertCurrency |
ccIn initial currency type converted currency type amount to convert |
ccOut converted currency type converted currency amount |
ccFault invalid initial currency type invalid converted currency type invalid amount to convert |
| LookUpFee |
lookfeeIn initial currency type converted currency type |
lookfeeOut percent fee on currency exchange |
lookfeeFault invalid initial currency type invalid converted currency type |
| LookUpExchange |
lookexIn initial currency type converted currency type |
lookexOut exchange rate between currencies |
lookexFault invalid initial currency type invalid converted currency type |
| Operation | Inputs | Outputs | Exceptions |
| GetCreditRating |
gcrIn social security number name date of birth |
gcrOut credit rating |
gcrFault invalid ssn, name, date of birth no credit rating found |
