changed currency to be of type String instead of using enum class