square_api_client/models/enums/country.rs
1//! Model for Country enum
2
3use serde::{Deserialize, Serialize};
4
5/// Indicates the country associated with another entity, such as a business.
6///
7/// Values are in
8/// [ISO 3166-1-alpha-2 format](http://www.iso.org/iso/home/standards/country_codes.htm).
9#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
10#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
11pub enum Country {
12 /// Unknown
13 Zz,
14 /// Andorra
15 Ad,
16 /// United Arab Emirates
17 Ae,
18 /// Afghanistan
19 Af,
20 /// Antigua and Barbuda
21 Ag,
22 /// Anguilla
23 Ai,
24 /// Albania
25 Al,
26 /// Armenia
27 Am,
28 /// Angola
29 Ao,
30 /// Antartica
31 Aq,
32 /// Argentina
33 Ar,
34 /// American Samoa
35 As,
36 /// Austria
37 At,
38 /// Australia
39 Au,
40 /// Aruba
41 Aw,
42 /// Åland Islands
43 Ax,
44 /// Azerbaijan
45 Az,
46 /// Bosnia and Herzegovina
47 Ba,
48 /// Barbados
49 Bb,
50 /// Bangladesh
51 Bd,
52 /// Belgium
53 Be,
54 /// Burkina Faso
55 Bf,
56 /// Bulgaria
57 Bg,
58 /// Bahrain
59 Bh,
60 /// Burundi
61 Bi,
62 /// Benin
63 Bj,
64 /// Saint Barthélemy
65 Bl,
66 /// Bermuda
67 Bm,
68 /// Brunei
69 Bn,
70 /// Bolivia
71 Bo,
72 /// Bonaire
73 Bq,
74 /// Brazil
75 Br,
76 /// Bahamas
77 Bs,
78 /// Bhutan
79 Bt,
80 /// Bouvet Island
81 Bv,
82 /// Botswana
83 Bw,
84 /// Belarus
85 By,
86 /// Belize
87 Bz,
88 /// Canada
89 Ca,
90 /// Cocos Islands
91 Cc,
92 /// Democratic Republic of the Congo
93 Cd,
94 /// Central African Republic
95 Cf,
96 /// Congo
97 Cg,
98 /// Switzerland
99 Ch,
100 /// Ivory Coast
101 Ci,
102 /// Cook Islands
103 Ck,
104 /// Chile
105 Cl,
106 /// Cameroon
107 Cm,
108 /// China
109 Cn,
110 /// Colombia
111 Co,
112 /// Costa Rica
113 Cr,
114 /// Cuba
115 Cu,
116 /// Cabo Verde
117 Cv,
118 /// Curaçao
119 Cw,
120 /// Christmas Island
121 Cx,
122 /// Cyprus
123 Cy,
124 /// Czechia
125 Cz,
126 /// Germany
127 De,
128 /// Djibouti
129 Dj,
130 /// Denmark
131 Dk,
132 /// Dominica
133 Dm,
134 /// Dominican Republic
135 Do,
136 /// Algeria
137 Dz,
138 /// Ecuador
139 Ec,
140 /// Estonia
141 Ee,
142 /// Egypt
143 Eg,
144 /// Western Sahara
145 Eh,
146 /// Eritrea
147 Er,
148 /// Spain
149 Es,
150 /// Ethiopia
151 Et,
152 /// Finland
153 Fi,
154 /// Fiji
155 Fj,
156 /// Falkland Islands
157 Fk,
158 /// Federated States of Micronesia
159 Fm,
160 /// Faroe Islands
161 Fo,
162 /// France
163 Fr,
164 /// Gabon
165 Ga,
166 /// United Kingdom
167 Gb,
168 /// Grenada
169 Gd,
170 /// Georgia
171 Ge,
172 /// French Guiana
173 Gf,
174 /// Guernsey
175 Gg,
176 /// Ghana
177 Gh,
178 /// Gibraltar
179 Gi,
180 /// Greenland
181 Gl,
182 /// Gambia
183 Gm,
184 /// Guinea
185 Gn,
186 /// Guadeloupe
187 Gp,
188 /// Equatorial Guinea
189 Gq,
190 /// Greece
191 Gr,
192 /// South Georgia and the South Sandwich Islands
193 Gs,
194 /// Guatemala
195 Gt,
196 /// Guam
197 Gu,
198 /// Guinea-Bissau
199 Gw,
200 /// Guyana
201 Gy,
202 /// Hong Kong
203 Hk,
204 /// Heard Island and McDonald Islands
205 Hm,
206 /// Honduras
207 Hn,
208 /// Croatia
209 Hr,
210 /// Haiti
211 Ht,
212 /// Hungary
213 Hu,
214 /// Indonesia
215 Id,
216 /// Ireland
217 Ie,
218 /// Israel
219 Il,
220 /// Isle of Man
221 Im,
222 /// India
223 In,
224 /// British Indian Ocean Territory
225 Io,
226 /// Iraq
227 Iq,
228 /// Iran
229 Ir,
230 /// Iceland
231 Is,
232 /// Italy
233 It,
234 /// Jersey
235 Je,
236 /// Jamaica
237 Jm,
238 /// Jordan
239 Jo,
240 /// Japan
241 Jp,
242 /// Kenya
243 Ke,
244 /// Kyrgyzstan
245 Kg,
246 /// Cambodia
247 Kh,
248 /// Kiribati
249 Ki,
250 /// Comoros
251 Km,
252 /// Saint Kitts and Nevis
253 Kn,
254 /// Democratic People's Republic of Korea
255 Kp,
256 /// Republic of Korea
257 Kr,
258 /// Kuwait
259 Kw,
260 /// Cayman Islands
261 Ky,
262 /// Kazakhstan
263 Kz,
264 /// Lao People's Democratic Republic
265 La,
266 /// Lebanon
267 Lb,
268 /// Saint Lucia
269 Lc,
270 /// Liechtenstein
271 Li,
272 /// Sri Lanka
273 Lk,
274 /// Liberia
275 Lr,
276 /// Lesotho
277 Ls,
278 /// Lithuania
279 Lt,
280 /// Luxembourg
281 Lu,
282 /// Latvia
283 Lv,
284 /// Libya
285 Ly,
286 /// Morocco
287 Ma,
288 /// Monaco
289 Mc,
290 /// Moldova
291 Md,
292 /// Montenegro
293 Me,
294 /// Saint Martin
295 Mf,
296 /// Madagascar
297 Mg,
298 /// Marshall Islands
299 Mh,
300 /// North Macedonia
301 Mk,
302 /// Mali
303 Ml,
304 /// Myanmar
305 Mm,
306 /// Mongolia
307 Mn,
308 /// Macao
309 Mo,
310 /// Northern Mariana Islands
311 Mp,
312 /// Martinique
313 Mq,
314 /// Mauritania
315 Mr,
316 /// Montserrat
317 Ms,
318 /// Malta
319 Mt,
320 /// Mauritius
321 Mu,
322 /// Maldives
323 Mv,
324 /// Malawi
325 Mw,
326 /// Mexico
327 Mx,
328 /// Malaysia
329 My,
330 /// Mozambique
331 Mz,
332 /// Namibia
333 Na,
334 /// New Caledonia
335 Nc,
336 /// Niger
337 Ne,
338 /// Norfolk Island
339 Nf,
340 /// Nigeria
341 Ng,
342 /// Nicaragua
343 Ni,
344 /// Netherlands
345 Nl,
346 /// Norway
347 No,
348 /// Nepal
349 Np,
350 /// Nauru
351 Nr,
352 /// Niue
353 Nu,
354 /// New Zealand
355 Nz,
356 /// Oman
357 Om,
358 /// Panama
359 Pa,
360 /// Peru
361 Pe,
362 /// French Polynesia
363 Pf,
364 /// Papua New Guinea
365 Pg,
366 /// Philippines
367 Ph,
368 /// Pakistan
369 Pk,
370 /// Poland
371 Pl,
372 /// Saint Pierre and Miquelon
373 Pm,
374 /// Pitcairn
375 Pn,
376 /// Puerto Rico
377 Pr,
378 /// Palestine
379 Ps,
380 /// Portugal
381 Pt,
382 /// Palau
383 Pw,
384 /// Paraguay
385 Py,
386 /// Qatar
387 Qa,
388 /// Réunion
389 Re,
390 /// Romania
391 Ro,
392 /// Serbia
393 Rs,
394 /// Russia
395 Ru,
396 /// Rwanda
397 Rw,
398 /// Saudi Arabia
399 Sa,
400 /// Solomon Islands
401 Sb,
402 /// Seychelles
403 Sc,
404 /// Sudan
405 Sd,
406 /// Sweden
407 Se,
408 /// Singapore
409 Sg,
410 /// Saint Helena, Ascension and Tristan da Cunha
411 Sh,
412 /// Slovenia
413 Si,
414 /// Svalbard and Jan Mayen
415 Sj,
416 /// Slovakia
417 Sk,
418 /// Sierra Leone
419 Sl,
420 /// San Marino
421 Sm,
422 /// Senegal
423 Sn,
424 /// Somalia
425 So,
426 /// Suriname
427 Sr,
428 /// South Sudan
429 Ss,
430 /// Sao Tome and Principe
431 St,
432 /// El Salvador
433 Sv,
434 /// Sint Maarten
435 Sx,
436 /// Syrian Arab Republic
437 Sy,
438 /// Eswatini
439 Sz,
440 /// Turks and Caicos Islands
441 Tc,
442 /// Chad
443 Td,
444 /// French Southern Territories
445 Tf,
446 /// Togo
447 Tg,
448 /// Thailand
449 Th,
450 /// Tajikistan
451 Tj,
452 /// Tokelau
453 Tk,
454 /// Timor-Leste
455 Tl,
456 /// Turkmenistan
457 Tm,
458 /// Tunisia
459 Tn,
460 /// Tonga
461 To,
462 /// Turkey
463 Tr,
464 /// Trinidad and Tobago
465 Tt,
466 /// Tuvalu
467 Tv,
468 /// Taiwan
469 Tw,
470 /// Tanzania
471 Tz,
472 /// Ukraine
473 Ua,
474 /// Uganda
475 Ug,
476 /// United States Minor Outlying Islands
477 Um,
478 /// United States of America
479 Us,
480 /// Uruguay
481 Uy,
482 /// Uzbekistan
483 Uz,
484 /// Vatican City
485 Va,
486 /// Saint Vincent and the Grenadines
487 Vc,
488 /// Venezuela
489 Ve,
490 /// British Virgin Islands
491 Vg,
492 /// U.S. Virgin Islands
493 Vi,
494 /// Vietnam
495 Vn,
496 /// Vanuatu
497 Vu,
498 /// Wallis and Futuna
499 Wf,
500 /// Samoa
501 Ws,
502 /// Yemen
503 Ye,
504 /// Mayotte
505 Yt,
506 /// South Africa
507 Za,
508 /// Zambia
509 Zm,
510 /// Zimbabwe
511 Zw,
512}