HW18: Chapter 18
18.4. Define an interface specification for the currency converter and check credit rating services shown in figure 18.7.
Currency Converter
|
Operation
|
Description
|
|
Lookup
|
Display information on currency input
|
|
Compare
|
Allow user to compare multiple currency/exchange rates against one
|
|
Search
|
Allow user to search for currency based on country / location
|
|
Operation
|
Input
|
Output
|
Exception
|
|
Lookup
|
lookIn
Currency ID
Currency Name
|
lookOut
URL of page with currency information
|
lookFault
Invalid currency ID
Invalid Name/None found
|
|
Compare
|
compIn
PrimaryCurrencyID(1)
CurrencyID (Max 10)
Currency Name (Max 10)
|
compOut
URL of page with comparison search results
|
compFault
Invalid currency ID’s
Invalid Name/None
|
|
Search
|
searchIn
Search string
|
searchOut
URL of search results
|
searchFault
Invalid string input
|
Check Credit Rating
|
Operation
|
Description
|
|
Lookup
|
Display credit rating of individual based on ID
|
|
Search
|
Search through report for specific terms and displays instances of
these items when found
|
|
MakeReport
|
Create a credit report based on the ID of user. Can be converted to
PDF.
|
|
Operation
|
Input
|
Output
|
Exception
|
|
Lookup
|
lookIn
CreditAgency URL
SSN(ID?)
|
URL of page displaying individuals information
|
lookFault
SSN not found
CreditAgency URL invalid
|
|
Search
|
searchIn
Report URL
Search string
|
searchOut
URL of page displaying search results
|
searchFault
Invalid string input
No results
|
|
MakeReport
|
mrIn
SSN
CreditAgencyID (up to 3)
PDF-Flag
|
mrOut
URL of report for identified SSN
|
mrFault
Invalid SSN
Invalid CreditAgencyID
|
I think the most difficult part of this is trying to understand what the requirements for each of these services would be. For example, I know what I want to see on my credit report, but I'm not sure what type of information if valuable nor how the information is used at a company. The same can be said for currency conversions. I have used services such as XE.com for currency conversion and they have features that I think are valuable (such are switching the input's e.g., US Dollar > British Pound, British Pound > US Dollar.) but should this be implemented at the service level or in some other way.
Comments
Post a Comment