TTPoi
Objective-C
@interface TTPoi : NSObject
Swift
class TTPoi : NSObject
Represents a “poi” field in a JSON Response.
-
The name of the POI.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull name;
Swift
var name: String { get }
-
The phone number of the POI.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nullable phone;
Swift
var phone: String? { get }
-
The url of the POI.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nullable url;
Swift
var url: String? { get }
-
A list of brands the POI belongs to.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<NSString *> *_Nonnull brands;
Swift
var brands: [String] { get }
-
A list of categories the POI belongs to.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<NSString *> *_Nonnull categories;
Swift
var categories: [String] { get }
-
The list of opening hours for a POI (Points of Interest).
Declaration
Objective-C
@property (nonatomic, strong, readonly) TTOpeningHours *_Nullable openingHours;
Swift
var openingHours: TTOpeningHours? { get }
-
A list of classifications the POI belongs to.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<TTClassification *> *_Nonnull classifications;
Swift
var classifications: [TTClassification] { get }
-
The list of the most specific POI categories.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<TTCategory *> *_Nonnull categorySet;
Swift
var categorySet: [TTCategory] { get }
-
Used to indicate the mode in which the timeZone object should be returned.
Declaration
Objective-C
@property (nonatomic, strong, readonly) TTTimeZone *_Nullable timeZone;
Swift
var timeZone: TTTimeZone? { get }