You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently currency Property contains only its entity. I think that we could make change to that property so it contains more useful information. Using ISO 4217 Standard we could extend it to also have:
Alphabetic code - 3-letters {String} (for most cases this is a combination of ISO 3166- 1 alpha-2 and first letter of currency entity itself)
Numeric code - 3-letters {String}
Entity - currency name {String}
After changes, each Country {Object} should contain:
Currently
currency
Property contains only its entity. I think that we could make change to that property so it contains more useful information. Using ISO 4217 Standard we could extend it to also have:{String}
(for most cases this is a combination of ISO 3166- 1 alpha-2 and first letter of currency entity itself){String}
{String}
After changes, each
Country {Object}
should contain:Additionally to that, we chould create a new method to use that data:
getCountriesByCurrency(name, type)
type {String}
is optional and by default would becurrency.code
Country[]
(some currencies are in multiple countries)Let me know what you think 鉁岋笍
The text was updated successfully, but these errors were encountered: