Bug #3385
Updated by Anupama P over 1 year ago
val parameters = HashMap<String, String>()
parameters["type"] = "loadAvailableCabV2"
parameters["PassengerLat"] = "" + pickUpLocation?.latitude
parameters["PassengerLon"] = "" + pickUpLocation?.longitude
parameters["iUserId"] = generalFunctions.memberId
parameters["PickUpAddress"] = pickUpLocationAddress
parameters["scheduleDate"] = selectedDateTime
parameters["SelectedCabType"] = selectedCabTypeId
parameters["SelectedBodyType"] = selectedBodyTypeId
parameters["sortby"] = sortBy
parameters["eType"] = getCurrentCabGeneralType()
if (!destLocLatitude.equals("", ignoreCase = true)) {
parameters["DestLat"] = destLocLatitude
parameters["DestLong"] = destLocLongitude
}
if (!eShowOnlyMoto.equals("", ignoreCase = true)) {
parameters["eShowOnlyMoto"] = eShowOnlyMoto
}
if (isRental) {
parameters["eRental"] = "Yes"
parameters["eType"] = "Ride"
}
/**CR #313 Include pick up option to be hidden - Show pop up 'include pick up fee' after first search */
parameters["PickupChargeEnabled"] =
if (isPickupCharge || generalFunctions.getJsonValueStr(
"ENABLE_PICKUP_DEFAULT",
userProfileJson.value
).equals("yes", ignoreCase = true)
) "Yes" else "No" // Pickup fee implementation - show pickup fee info when click on pick up fee checkbox info icon Modified by Jithin Kuriakose on 22-09-2020