TKTour
@interface TKTour : NSObject
-
Global identifier.
Declaration
Objective-C
@property (readonly, copy, nonatomic) NSString *_Nonnull ID;
Swift
var ID: String { get }
-
Displayable name of the tour, translated if possible. Example: Buckingham Palace.
Declaration
Objective-C
@property (readonly, copy, nonatomic) NSString *_Nonnull title;
Swift
var title: String { get }
-
Short perex introducing the tour.
Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSString *perex;
Swift
var perex: String? { get }
-
Price value. Provided in
USD
.Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSNumber *price;
Swift
var price: NSNumber? { get }
-
Original price value. Usable for discount calculation. Value in
USD
.Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSNumber *originalPrice;
Swift
var originalPrice: NSNumber? { get }
-
Star rating value.
Note
Possible values: double in range0
–5
.Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSNumber *rating;
Swift
var rating: NSNumber? { get }
-
Duration string. Should be provided in a target language.
Note
Duration may be specified by either a string or numeric values.Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSString *duration;
Swift
var duration: String? { get }
-
Minimal duration in seconds.
Note
Duration may be specified by either a string or numeric values.Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSNumber *durationMin;
Swift
@NSCopying var durationMin: NSNumber? { get }
-
Maximal duration in seconds.
Note
Duration may be specified by either a string or numeric values.Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSNumber *durationMax;
Swift
@NSCopying var durationMax: NSNumber? { get }
-
Online URL of the Tour.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSURL *URL;
Swift
var url: URL? { get }
-
Thumbnail URL to an image of approximate size 600×400 pixels.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSURL *photoURL;
Swift
var photoURL: URL? { get }
-
Count of reviews.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSNumber *reviewsCount;
Swift
var reviewsCount: NSNumber? { get }
-
Some additional indicated flags.
Declaration
Objective-C
@property (readonly, atomic) TKTourFlag flags;
Swift
var flags: TKTourFlag { get }