summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOasisAddress.h
blob: 17bb00af6d7901fa6f18f0d61df7a9286468e71e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
//  SDLOasisAddress.h
//

#import "SDLRPCStruct.h"

@interface SDLOasisAddress : SDLRPCStruct

- (instancetype)initWithSubThoroughfare:(NSString *)subThoroughfare thoroughfare:(NSString *)thoroughfare locality:(NSString *)locality administrativeArea:(NSString *)administrativeArea postalCode:(NSString *)postalCode countryCode:(NSString *)countryCode;

- (instancetype)initWithSubThoroughfare:(NSString *)subThoroughfare thoroughfare:(NSString *)thoroughfare locality:(NSString *)locality administrativeArea:(NSString *)administrativeArea postalCode:(NSString *)postalCode countryCode:(NSString *)countryCode countryName:(NSString *)countryName subAdministrativeArea:(NSString *)subAdministrativeArea subLocality:(NSString *)subLocality;

/**
 * @abstract Name of the country (localized)
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *countryName;

/**
 * @abstract countryCode of the country(ISO 3166-2)
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *countryCode;

/**
 * @abstract postalCode of location (PLZ, ZIP, PIN, CAP etc.)
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *postalCode;

/**
 * @abstract Portion of country (e.g. state)
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *administrativeArea;

/**
 * @abstract Portion of administrativeArea (e.g. county)
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *subAdministrativeArea;

/**
 * @abstract Hypernym for city/village
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *locality;

/**
 * @abstract Hypernym for district
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *subLocality;

/**
 * @abstract Hypernym for street, road etc.
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *thoroughfare;

/**
 * @abstract Portion of thoroughfare (e.g. house number)
 *
 * Optional, max length = 200
 */
@property (copy, nonatomic) NSString *subThoroughfare;

@end