GitHub repository

Sygic Travel Android SDK

sdk / com.sygic.travel.sdk.tours.model / Tour

Tour

class Tour

Model class for Tour.

Constructors

Name Summary
<init> Tour(id:String, supplier:String, title:String, perex:String, url:String, rating:Float, reviewCount:Int, photoUrl:String, price:Float, originalPrice:Float, duration:String?, durationMin: Duration?, durationMax: Duration?, flags:Set<String>)
Model class for Tour.

Properties

Name Summary
duration val duration:String?
durationMax val durationMax: Duration?
durationMin val durationMin: Duration?
flags val flags:Set<String>
id val id:String
originalPrice val originalPrice:Float
perex val perex:String
photoUrl val photoUrl:String
In case of get_your_guide supplier the url contains a placeholder format_id which has to be replaced. See documentation of API endpoint response on http://docs.sygictravelapi.com/1.1/#section-tours.
price val price:Float
rating val rating:Float
reviewCount val reviewCount:Int
supplier val supplier:String
title val title:String
url val url:String

Companion Object Properties

Name Summary
FLAG_BESTSELLER const val FLAG_BESTSELLER:String
FLAG_INSTANT_CONFIRMATION const val FLAG_INSTANT_CONFIRMATION:String
FLAG_PORTABLE_TICKET const val FLAG_PORTABLE_TICKET:String
FLAG_SKIP_THE_LINE const val FLAG_SKIP_THE_LINE:String
FLAG_WHEELCHAIR_ACCESS const val FLAG_WHEELCHAIR_ACCESS:String