FarePredictionDTO节点
| 名称 |
类型 |
说明 |
| returnCode |
String |
0:成功; 1:服务器异常; 174:调用高德路径规划API失败 |
| amounts |
JSONObject |
json |
| amount |
double |
车费预估(优惠后金额),单位:元 |
| baseFee |
double |
套餐费,单位:元 |
| disMoney |
double |
原价,单位:元 |
| distance |
int |
里程,单位:公里 |
| distanceFee |
double |
里程费,单位:元 |
| distantFee |
double |
远途费,单位:元 |
| duration |
String |
时长(分钟) |
| durationFee |
double |
时长费,单位:元 |
| dynamic_price |
String |
折扣价格,单位:元 |
| emptyDistance |
int |
空驶里程(公里)(忽略) |
| emptyDriverFee |
double |
空驶费,单位:元 (忽略) |
| groupId |
Int |
车型id |
| groupName |
String |
车型名称 |
| hotDuration |
long |
高峰时长(忽略) |
| hotDurationFees |
double |
高峰时长费,单位:元(忽略) |
| hotMileage |
double |
高峰里程(忽略) |
| hotMileageFees |
double |
高峰里程费,单位:元(忽略) |
| nightDuration |
long |
夜间服务时长(忽略) |
| nightDurationFee |
double |
夜间服务费,单位:元(忽略) |
| nightDurationPrice |
Double |
夜间服务费单价,单位:元(忽略) |
| nightMileage |
long |
夜间服务里程(忽略) |
| nightMileageFees |
double |
夜间里程服务费,单位:元(忽略) |
| nightMileagePrice |
double |
夜间服务里程单价,单位:元(忽略) |
| offsetAmount |
double |
本单预计优惠金额,单位:元 |
| overDistancePrice |
double |
每公里单价,单位:元(忽略) |
| tolls |
double |
高速费,单位:元 |
| priceMark |
String |
价格标识 |
| costTypeAmount |
double |
司机过节费,单位:元 |
示例
{
"amounts":{
"amount":18,
"baseFee":9,
"disMoney":18,
"distance":3,
"distanceFee":5,
"distantFee":0,
"duration":8,
"durationFee":4,
"emptyDistance":0,
"emptyDriverFee":0,
"groupId":43,
"groupName":"畅享型",
"hotDuration":0,
"hotDurationFees":0,
"hotMileage":0,
"hotMileageFees":0,
"nightDuration":0,
"nightDurationFee":0,
"nightDurationPrice":0,
"nightMileage":0,
"nightMileageFees":0,
"nightMileagePrice":1.2,
"offsetAmount":0,
"overDistancePrice":0,
"tolls":0,
"costTypeAmount":0
},
"returnCode":"0"
}