Apparatus and method for performing conversion between different units of currency using an encapsulated conversion path of exchange rates
Abstract
A conversion path for converting between two different currencies is defined as a series of simple exchange rate objects and is encapsulated within a compound exchange rate object. The intelligence regarding the specific rules for making the conversion are encapsulated in a policy class, which governs how the path of exchange rates contained in the compound exchange rate is built. When a client requests conversion between two currencies, the compound exchange rate is constructed according to the policy to contain a path of exchange rate objects that may be used to make the requested conversion, and the compound exchange rate is then returned to the client. When the client then instructs the compound exchange rate to make a conversion of a known currency value in the source currency, the compound exchange rate object uses the exchange rate object or objects in the exchange rate path to perform the currency conversion. A system in accordance with the invention thus allows the computation of exchange rates in a fully encapsulated manner according to a predefined policy without the client having to know the details of how the conversion is performed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: (1) at least one processor; (2) a memory coupled to the at least one processor; (3) a plurality of object oriented exchange rate objects residing in the memory, each exchange rate object specifying a “from currency”, a “to currency”, and a conversion multiplier for converting an amount in the “from currency” to an equivalent amount in the “to currency” by multiplying the amount in the “from currency” by the conversion multiplier to calculate the equivalent amount in the “to currency”, the exchange rate comprising a direct exchange rate if the “from currency” is an expe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 20 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (2)
- "Economic Research Service: Agricultural outlook-Part II of IV", May 22, 1998, M2 Presswire.
- "International: As the Continent Prepares for the Euro, Card Issuers See Limited Impact", Credit Card News, Dec. 15, 1998, Faulkner & Gray, Inc.