1: <?php
2:
3: 4: 5: 6: 7: 8: 9:
10: class Transip_WhoisContact
11: {
12: const TYPE_REGISTRANT = 'registrant';
13: const TYPE_ADMINISTRATIVE = 'administrative';
14: const TYPE_TECHNICAL = 'technical';
15:
16: 17: 18: 19: 20: 21:
22: public static $possibleCompanyTypes = array (
23: 'BV' => 'BV - Besloten Vennootschap',
24: 'BVI/O' => 'BV i.o. - BV in oprichting',
25: 'COOP' => 'Cooperatie',
26: 'CV' => 'CV - Commanditaire Vennootschap',
27: 'EENMANSZAAK' => 'Eenmanszaak',
28: 'KERK' => 'Kerkgenootschap',
29: 'NV' => 'NV - Naamloze Vennootschap',
30: 'OWM' => 'Onderlinge Waarborg Maatschappij',
31: 'REDR' => 'Rederij',
32: 'STICHTING' => 'Stichting',
33: 'VERENIGING' => 'Vereniging',
34: 'VOF' => 'VoF - Vennootschap onder firma',
35: 'BEG' => 'Buitenlandse EG vennootschap',
36: 'BRO' => 'Buitenlandse rechtsvorm/onderneming',
37: 'EESV' => 'Europees Economisch Samenwerkingsverband',
38: 'ANDERS' => 'Anders',
39: '' => 'Geen',
40: );
41:
42: 43: 44: 45: 46: 47:
48: public static $possibleCountryCodes = array (
49: 'af' => 'Afghanistan',
50: 'al' => 'Albania',
51: 'dz' => 'Algeria',
52: 'as' => 'American Samoa',
53: 'ad' => 'Andorra',
54: 'ao' => 'Angola',
55: 'ai' => 'Anguilla',
56: 'aq' => 'Antarctica',
57: 'ag' => 'Antigua and Barbuda',
58: 'ar' => 'Argentina',
59: 'am' => 'Armenia',
60: 'aw' => 'Aruba',
61: 'au' => 'Australia',
62: 'at' => 'Austria',
63: 'az' => 'Azerbaijan',
64: 'bs' => 'Bahamas',
65: 'bh' => 'Bahrain',
66: 'bd' => 'Bangladesh',
67: 'bb' => 'Barbados',
68: 'by' => 'Belarus',
69: 'be' => 'Belgium',
70: 'bz' => 'Belize',
71: 'bj' => 'Benin',
72: 'bm' => 'Bermuda',
73: 'bt' => 'Bhutan',
74: 'bo' => 'Bolivia',
75: 'ba' => 'Bosnia and Herzegovina',
76: 'bw' => 'Botswana',
77: 'bv' => 'Bouvet Island',
78: 'br' => 'Brazil',
79: 'io' => 'British Indian Ocean Territory',
80: 'bn' => 'Brunei Darussalem',
81: 'bg' => 'Bulgaria',
82: 'bf' => 'Burkina Faso',
83: 'bi' => 'Burundi',
84: 'kh' => 'Cambodia',
85: 'cm' => 'Cameroon',
86: 'ca' => 'Canada',
87: 'cv' => 'Cape Verde',
88: 'ky' => 'Cayman Islands',
89: 'cf' => 'Central African Republic',
90: 'td' => 'Chad',
91: 'cl' => 'Chile',
92: 'cn' => 'China',
93: 'cx' => 'Christmas Island',
94: 'cc' => 'Cocos (Keeling) Islands',
95: 'co' => 'Colombia',
96: 'km' => 'Comoros',
97: 'cg' => 'Congo',
98: 'cd' => 'Congo, the Democratic Republic of the',
99: 'ck' => 'Cook Islands',
100: 'cr' => 'Costa Rica',
101: 'hr' => 'Croatia',
102: 'cu' => 'Cuba',
103: 'cy' => 'Cyprus',
104: 'cz' => 'Czech Republic',
105: 'ci' => 'Côte d\'Ivoire',
106: 'dk' => 'Denmark',
107: 'dj' => 'Djibouti',
108: 'dm' => 'Dominica',
109: 'do' => 'Dominican Republic',
110: 'ec' => 'Ecuador',
111: 'eg' => 'Egypt',
112: 'sv' => 'El Salvador',
113: 'gq' => 'Equatorial Guinea',
114: 'er' => 'Eritrea',
115: 'ee' => 'Estonia',
116: 'et' => 'Ethiopia',
117: 'fk' => 'Falkland Islands (Malvinas)',
118: 'fo' => 'Faroe Islands',
119: 'fj' => 'Fiji',
120: 'fi' => 'Finland',
121: 'fr' => 'France',
122: 'gf' => 'French Guiana',
123: 'pf' => 'French Polynesia',
124: 'tf' => 'French Southern Territories',
125: 'ga' => 'Gabon',
126: 'gm' => 'Gambia',
127: 'ge' => 'Georgia',
128: 'de' => 'Germany',
129: 'gh' => 'Ghana',
130: 'gi' => 'Gibraltar',
131: 'gr' => 'Greece',
132: 'gl' => 'Greenland',
133: 'gd' => 'Grenada',
134: 'gp' => 'Guadeloupe',
135: 'gu' => 'Guam',
136: 'gt' => 'Guatemala',
137: 'gg' => 'Guernsey',
138: 'gn' => 'Guinea',
139: 'gw' => 'Guinea-Bissau',
140: 'gy' => 'Guyana',
141: 'ht' => 'Haiti',
142: 'hm' => 'Heard Island and McDonald Islands',
143: 'va' => 'Holy See (Vatican City State)',
144: 'hn' => 'Honduras',
145: 'hk' => 'Hong Kong',
146: 'hu' => 'Hungary',
147: 'is' => 'Iceland',
148: 'in' => 'India',
149: 'id' => 'Indonesia',
150: 'ir' => 'Iran, Islamic Republic of',
151: 'iq' => 'Iraq',
152: 'ie' => 'Ireland',
153: 'im' => 'Isle of Man',
154: 'il' => 'Israel',
155: 'it' => 'Italy',
156: 'jm' => 'Jamaica',
157: 'jp' => 'Japan',
158: 'je' => 'Jersey',
159: 'jo' => 'Jordan',
160: 'kz' => 'Kazakhstan',
161: 'ke' => 'Kenya',
162: 'ki' => 'Kiribati',
163: 'kp' => 'Korea, Democratic People\'s Republic of',
164: 'kr' => 'Korea, Republic of',
165: 'kw' => 'Kuwait',
166: 'kg' => 'Kyrgyzstan',
167: 'la' => 'Lao People\'s Democratic Republic',
168: 'lv' => 'Latvia',
169: 'lb' => 'Lebanon',
170: 'ls' => 'Lesotho',
171: 'lr' => 'Liberia',
172: 'ly' => 'Libyan Arab Jamahiriya',
173: 'li' => 'Liechtenstein',
174: 'lt' => 'Lithuania',
175: 'lu' => 'Luxembourg',
176: 'mo' => 'Macao',
177: 'mk' => 'Macedonia, the former Yugoslav Republic of',
178: 'mg' => 'Madagascar',
179: 'mw' => 'Malawi',
180: 'my' => 'Malaysia',
181: 'mv' => 'Maldives',
182: 'ml' => 'Mali',
183: 'mt' => 'Malta',
184: 'mh' => 'Marshall Islands',
185: 'mq' => 'Martinique',
186: 'mr' => 'Mauritania',
187: 'mu' => 'Mauritius',
188: 'yt' => 'Mayotte',
189: 'mx' => 'Mexico',
190: 'fm' => 'Micronesia, Federated States of',
191: 'md' => 'Moldova',
192: 'mc' => 'Monaco',
193: 'mn' => 'Mongolia',
194: 'me' => 'Montenegro',
195: 'ms' => 'Montserrat',
196: 'ma' => 'Morocco',
197: 'mz' => 'Mozambique',
198: 'mm' => 'Myanmar',
199: 'na' => 'Namibia',
200: 'nr' => 'Nauru',
201: 'np' => 'Nepal',
202: 'nl' => 'Netherlands',
203: 'an' => 'Netherlands Antilles',
204: 'nc' => 'New Caledonia',
205: 'nz' => 'New Zealand',
206: 'ni' => 'Nicaragua',
207: 'ne' => 'Niger',
208: 'ng' => 'Nigeria',
209: 'nu' => 'Niue',
210: 'nf' => 'Norfolk Island',
211: 'mp' => 'Northern Mariana Islands',
212: 'no' => 'Norway',
213: 'om' => 'Oman',
214: 'pk' => 'Pakistan',
215: 'pw' => 'Palau',
216: 'ps' => 'Palestinian Territory, Occupied',
217: 'pa' => 'Panama',
218: 'pg' => 'Papua New Guinea',
219: 'py' => 'Paraguay',
220: 'pe' => 'Peru',
221: 'ph' => 'Philippines',
222: 'pn' => 'Pitcairn',
223: 'pl' => 'Poland',
224: 'pt' => 'Portugal',
225: 'pr' => 'Puerto Rico',
226: 'qa' => 'Qatar',
227: 'ro' => 'Romania',
228: 'ru' => 'Russian Federation',
229: 'rw' => 'Rwanda',
230: 're' => 'Réunion',
231: 'bl' => 'Saint Barthélemy',
232: 'sh' => 'Saint Helena',
233: 'kn' => 'Saint Kitts and Nevis',
234: 'lc' => 'Saint Lucia',
235: 'mf' => 'Saint Martin (French part)',
236: 'pm' => 'Saint Pierre and Miquelon',
237: 'vc' => 'Saint Vincent and the Grenadines',
238: 'ws' => 'Samoa',
239: 'sm' => 'San Marino',
240: 'st' => 'Sao Tome and Principe',
241: 'sa' => 'Saudi Arabia',
242: 'sn' => 'Senegal',
243: 'rs' => 'Serbia',
244: 'sc' => 'Seychelles',
245: 'sl' => 'Sierra Leone',
246: 'sg' => 'Singapore',
247: 'sk' => 'Slovakia',
248: 'si' => 'Slovenia',
249: 'sb' => 'Solomon Islands',
250: 'so' => 'Somalia',
251: 'za' => 'South Africa',
252: 'gs' => 'South Georgia and the South Sandwich Islands',
253: 'es' => 'Spain',
254: 'lk' => 'Sri Lanka',
255: 'sd' => 'Sudan',
256: 'sr' => 'Suriname',
257: 'sj' => 'Svalbard and Jan Mayen',
258: 'sz' => 'Swaziland',
259: 'se' => 'Sweden',
260: 'ch' => 'Switzerland',
261: 'sy' => 'Syrian Arab Republic',
262: 'tw' => 'Taiwan, Province of China',
263: 'tj' => 'Tajikistan',
264: 'tz' => 'Tanzania, United Republic of',
265: 'th' => 'Thailand',
266: 'tl' => 'Timor-Leste',
267: 'tg' => 'Togo',
268: 'tk' => 'Tokelau',
269: 'to' => 'Tonga',
270: 'tt' => 'Trinidad and Tobago',
271: 'tn' => 'Tunisia',
272: 'tr' => 'Turkey',
273: 'tm' => 'Turkmenistan',
274: 'tc' => 'Turks and Caicos Islands',
275: 'tv' => 'Tuvalu',
276: 'ug' => 'Uganda',
277: 'ua' => 'Ukraine',
278: 'ae' => 'United Arab Emirates',
279: 'gb' => 'United Kingdom',
280: 'us' => 'United States',
281: 'um' => 'United States Minor Outlying Islands',
282: 'uy' => 'Uruguay',
283: 'uz' => 'Uzbekistan',
284: 'vu' => 'Vanuatu',
285: 've' => 'Venezuela',
286: 'vn' => 'Viet Nam',
287: 'vg' => 'Virgin Islands, British',
288: 'vi' => 'Virgin Islands, U.S.',
289: 'wf' => 'Wallis and Futuna',
290: 'eh' => 'Western Sahara',
291: 'ye' => 'Yemen',
292: 'zm' => 'Zambia',
293: 'zw' => 'Zimbabwe',
294: 'ax' => 'Åland Islands',
295: );
296:
297: 298: 299: 300: 301:
302: public $type;
303:
304: 305: 306: 307: 308:
309: public $firstName;
310:
311: 312: 313: 314: 315:
316: public $middleName;
317:
318: 319: 320: 321: 322:
323: public $lastName;
324:
325: 326: 327: 328: 329:
330: public $companyName;
331:
332: 333: 334: 335: 336:
337: public $companyKvk;
338:
339: 340: 341: 342: 343:
344: public $companyType;
345:
346: 347: 348: 349: 350:
351: public $street;
352:
353: 354: 355: 356: 357:
358: public $number;
359:
360: 361: 362: 363: 364:
365: public $postalCode;
366:
367: 368: 369: 370: 371:
372: public $city;
373:
374: 375: 376: 377: 378:
379: public $phoneNumber;
380:
381: 382: 383: 384: 385:
386: public $faxNumber;
387:
388: 389: 390: 391: 392:
393: public $email;
394:
395: 396: 397: 398: 399:
400: public $country;
401: }
402:
403: ?>
404: