我有印度超级开发者帐户,所以它给我的结果是INR货币_code,但我希望得到美元的结果,任何人都告诉我它是如何可能的。
{
"prices": [
{
"localized_display_name": "uberGO",
"distance": 0,
"display_name": "uberGO",
"product_id": "40269682-90dc-4d18-8c38-5b4035e35296",
"high_estimate": 40,
"surge_multiplier": 1,
"minimum": 40,
"low_estimate": 40,
"duration": 0,
"estimate": "₹ 40",
"currency_code": "INR"
},
{
"localized_display_name": "uberX",
"distance": 0,
"display_name": "uberX",
"product_id": "8e1107eb-82f3-4ed4-9969-e6c7c73d8c86",
"high_estimate": 50,
"surge_multiplier": 1,
"minimum": 50,
"low_estimate": 50,
"duration": 0,
"estimate": "₹ 50",
"currency_code": "INR"
}
]
}
答案 0 :(得分:0)
我相信此链接应该有所帮助:https://developer.uber.com/docs/ride-requests/guides/localization
"货币:货币以给定纬度和货币的当地货币呈现。经度对。旧金山的票价估计将以美元计算,而巴黎的票价估计将以欧元显示。我们还为您自己的转换提供ISO 4217货币代码。"
干杯。