/tripkit/TripKitAndroid/com.skedgo.tripkit.servicedetail/ServiceDetailRepository/getService

getService

\ abstract fun getService(baseUrls: List<String>, region: String, serviceTripId: String, operator: String?, startStopCode: String, endStopCode: String?, embarkationTimeInSecs: Long, encode: Boolean = true): Observable<ServiceResponse>

Uses the provided baseUrls (region servers) to fetch the service.

This avoids re-fetching region details when the caller already has them.

\ abstract fun getService(region: String, serviceTripId: String, operator: String?, startStopCode: String, endStopCode: String?, embarkationTimeInSecs: Long, encode: Boolean = true): Observable<ServiceResponse>