-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathAddress.cs
More file actions
160 lines (141 loc) · 4.5 KB
/
Address.cs
File metadata and controls
160 lines (141 loc) · 4.5 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
namespace rosette_api
{
public class Address: IAddress
{
public Address(string house = null, string houseNumber = null, string road = null, string unit = null, string level = null, string staircase = null, string entrance = null, string suburb = null, string cityDistrict = null, string city = null, string island = null, string stateDistrict = null, string state = null, string countryRegion = null, string country = null, string worldRegion = null, string postCode = null, string poBox = null)
{
this.house = house;
this.houseNumber = houseNumber;
this.road = road;
this.unit = unit;
this.level = level;
this.staircase = staircase;
this.entrance = entrance;
this.suburb = suburb;
this.cityDistrict = cityDistrict;
this.city = city;
this.island = island;
this.stateDistrict = stateDistrict;
this.state = state;
this.countryRegion = countryRegion;
this.country = country;
this.worldRegion = worldRegion;
this.postCode = postCode;
this.poBox = poBox;
}
/// <summary>house
/// <para>
/// Getter, Setter for the house
/// </para>
/// </summary>
public string house { get; set; }
/// <summary>houseNumber
/// <para>
/// Getter, Setter for the houseNumber
/// </para>
/// </summary>
public string houseNumber { get; set; }
/// <summary>road
/// <para>
/// Getter, Setter for the road
/// </para>
/// </summary>
public string road { get; set; }
/// <summary>unit
/// <para>
/// Getter, Setter for the unit
/// </para>
/// </summary>
public string unit { get; set; }
/// <summary>level
/// <para>
/// Getter, Setter for the level
/// </para>
/// </summary>
public string level { get; set; }
/// <summary>staircase
/// <para>
/// Getter, Setter for the staircase
/// </para>
/// </summary>
public string staircase { get; set; }
/// <summary>entrance
/// <para>
/// Getter, Setter for the entrance
/// </para>
/// </summary>
public string entrance { get; set; }
/// <summary>suburb
/// <para>
/// Getter, Setter for the suburb
/// </para>
/// </summary>
public string suburb { get; set; }
/// <summary>cityDistrict
/// <para>
/// Getter, Setter for the cityDistrict
/// </para>
/// </summary>
public string cityDistrict { get; set; }
/// <summary>city
/// <para>
/// Getter, Setter for the city
/// </para>
/// </summary>
public string city { get; set; }
/// <summary>island
/// <para>
/// Getter, Setter for the island
/// </para>
/// </summary>
public string island { get; set; }
/// <summary>stateDistrict
/// <para>
/// Getter, Setter for the stateDistrict
/// </para>
/// </summary>
public string stateDistrict { get; set; }
/// <summary>state
/// <para>
/// Getter, Setter for the state
/// </para>
/// </summary>
public string state { get; set; }
/// <summary>countryRegion
/// <para>
/// Getter, Setter for the countryRegion
/// </para>
/// </summary>
public string countryRegion { get; set; }
/// <summary>country
/// <para>
/// Getter, Setter for the country
/// </para>
/// </summary>
public string country { get; set; }
/// <summary>worldRegion
/// <para>
/// Getter, Setter for the worldRegion
/// </para>
/// </summary>
public string worldRegion { get; set; }
/// <summary>postCode
/// <para>
/// Getter, Setter for the postCode
/// </para>
/// </summary>
public string postCode { get; set; }
/// <summary>poBox
/// <para>
/// Getter, Setter for the poBox
/// </para>
/// </summary>
public string poBox { get; set; }
/// <summary> is this address fielded?
/// </summary>
public bool fielded()
{
return true;
}
}
}