com.messente.sdk.enums.Country Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of messente-sdk Show documentation
Show all versions of messente-sdk Show documentation
This SDK contains methods for using SMS Messaging API, Delivery report API, Pricing API and Credits
API.
The newest version!
/*
* Copyright 2016 Messente Communications Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.messente.sdk.enums;
/**
* Enumeration of supported country codes.
*
* @see Country
* codes
* @author Lennar Kallas
*/
public enum Country {
ABKHAZIA("AB"),
AFGHANISTAN("AF"),
ALBANIA("AL"),
ALGERIA("DZ"),
AMERICAN_SAMOA("AS"),
ANDORRA("AD"),
ANGOLA("AO"),
ANGUILLA("AI"),
ANTIGUA_AND_BARBUDA("AG"),
ARGENTINA("AR"),
ARMENIA("AM"),
ARUBA("AW"),
AUSTRALIA("AU"),
AUSTRIA("AT"),
AZERBAIJAN("AZ"),
BAHAMAS("BS"),
BAHRAIN("BH"),
BANGLADESH("BD"),
BARBADOS("BB"),
BELARUS("BY"),
BELGIUM("BE"),
BELIZE("BZ"),
BENIN("BJ"),
BERMUDA("BM"),
BHUTAN("BT"),
BOLIVIA("BO"),
BOSNIA_AND_HERZEGOVINA("BA"),
BOTSWANA("BW"),
BRAZIL("BR"),
BRITISH_VIRGIN_ISLANDS("VG"),
BRUNEI("BN"),
BULGARIA("BG"),
BURKINA_FASO("BF"),
BURMA_MYANMAR("MM"),
BURUNDI("BI"),
CAMBODIA("KH"),
CAMEROON("CM"),
CANADA("CA"),
CAPE_VERDE("CV"),
CAYMAN_ISLANDS("KY"),
CENTRAL_AFRICAN_REPUBLIC("CF"),
CHAD("TD"),
CHILE("CL"),
CHINA("CN"),
COLOMBIA("CO"),
COMOROS("KM"),
COOK_ISLANDS("CK"),
CROATIA("HR"),
CUBA("CU"),
CYPRUS("CY"),
CZECH_REPUBLIC("CZ"),
DEMOCRATIC_REPUBLIC_OF_THE_CONGO("CD"),
DENMARK("DK"),
DJIBOUTI("DJ"),
DOMINICA("DM"),
DOMINICAN_REPUBLIC("DO"),
ECUADOR("EC"),
EGYPT("EG"),
EL_SALVADOR("SV"),
EQUATORIAL_GUINEA("GQ"),
ERITREA("ER"),
ESTONIA("EE"),
ETHIOPIA("ET"),
FALKLAND_ISLANDS("FK"),
FAROE_ISLANDS("FO"),
FIJI("FJ"),
FINLAND("FI"),
FRANCE("FR"),
FRENCH_POLYNESIA("PF"),
GABON("GA"),
GAMBIA("GM"),
GEORGIA("GE"),
GERMANY("DE"),
GHANA("GH"),
GIBRALTAR("GI"),
GREECE("GR"),
GREENLAND("GL"),
GRENADA("GD"),
GUADELOUPE("GP"),
GUAM("GU"),
GUATEMALA("GT"),
GUINEA("GN"),
GUINEA_BISSAU("GW"),
GUYANA("GY"),
HAITI("HT"),
HONDURAS("HN"),
HONG_KONG("HK"),
HUNGARY("HU"),
ICELAND("IS"),
INDIA("IN"),
INDONESIA("ID"),
IRAN("IR"),
IRAQ("IQ"),
IRELAND("IE"),
ISRAEL("IL"),
ITALY("IT"),
IVORY_COAST("CI"),
JAMAICA("JM"),
JAPAN("JP"),
JORDAN("JO"),
KAZAKHSTAN("KZ"),
KENYA("KE"),
KIRIBATI("KI"),
KUWAIT("KW"),
KYRGYZSTAN("KG"),
LAOS("LA"),
LATVIA("LV"),
LEBANON("LB"),
LESOTHO("LS"),
LIBERIA("LR"),
LIBYA("LY"),
LIECHTENSTEIN("LI"),
LITHUANIA("LT"),
LUXEMBOURG("LU"),
MACAU("MO"),
MACEDONIA("MK"),
MADAGASCAR("MG"),
MALAWI("MW"),
MALAYSIA("MY"),
MALDIVES("MV"),
MALI("ML"),
MALTA("MT"),
MARSHALL_ISLANDS("MH"),
MAURITANIA("MR"),
MAURITIUS("MU"),
MEXICO("MX"),
MICRONESIA("FM"),
MOLDOVA("MD"),
MONACO("MC"),
MONGOLIA("MN"),
MONTENEGRO("ME"),
MONTSERRAT("MS"),
MOROCCO("MA"),
MOZAMBIQUE("MZ"),
NAMIBIA("NA"),
NAURU("NR"),
NEPAL("NP"),
NETHERLANDS("NL"),
NETHERLANDS_ANTILLES("AN"),
NEW_CALEDONIA("NC"),
NEW_ZEALAND("NZ"),
NICARAGUA("NI"),
NIGER("NE"),
NIGERIA("NG"),
NORTHERN_MARIANA_ISLANDS("MP"),
NORTH_KOREA("KP"),
NORWAY("NO"),
OMAN("OM"),
PAKISTAN("PK"),
PALAU("PW"),
PANAMA("PA"),
PAPUA_NEW_GUINEA("PG"),
PARAGUAY("PY"),
PERU("PE"),
PHILIPPINES("PH"),
POLAND("PL"),
PORTUGAL("PT"),
PUERTO_RICO("PR"),
QATAR("QA"),
REPUBLIC_OF_THE_CONGO("CG"),
REUNION_FRANCE("RE"),
ROMANIA("RO"),
RUSSIA("RU"),
RWANDA("RW"),
SAINT_KITTS_AND_NEVIS("KN"),
SAINT_LUCIA("LC"),
SAINT_PIERRE_AND_MIQUELON("PM"),
SAINT_VINCENT_AND_THE_GRENADINES("VC"),
SAMOA("WS"),
SAN_MARINO("SM"),
SAO_TOME_AND_PRINCIPE("ST"),
SAUDI_ARABIA("SA"),
SENEGAL("SN"),
SERBIA("RS"),
SEYCHELLES("SC"),
SIERRA_LEONE("SL"),
SINGAPORE("SG"),
SLOVAKIA("SK"),
SLOVENIA("SI"),
SOLOMON_ISLANDS("SB"),
SOMALIA("SO"),
SOUTH_AFRICA("ZA"),
SOUTH_KOREA("KR"),
SOUTH_SUDAN("SS"),
SPAIN("ES"),
SRI_LANKA("LK"),
SUDAN("SD"),
SURINAME("SR"),
SWAZILAND("SZ"),
SWEDEN("SE"),
SWITZERLAND("CH"),
SYRIA("SY"),
TAIWAN("TW"),
TAJIKISTAN("TJ"),
TANZANIA("TZ"),
THAILAND("TH"),
TIMOR_LESTE("TM"),
TOGO("TG"),
TONGA("TL"),
TRINIDAD_AND_TOBAGO("TT"),
TUNISIA("TO"),
TURKEY("TR"),
TURKMENISTAN("TN"),
TURKS_AND_CAICOS_ISLANDS("TC"),
UGANDA("UG"),
UKRAINE("UA"),
UNITED_ARAB_EMIRATES("AE"),
UNITED_KINGDOM("GB"),
UNITED_STATES("US"),
URUGUAY("UY"),
US_VIRGIN_ISLANDS("VI"),
UZBEKISTAN("UZ"),
VANUATU("VU"),
VENEZUELA("VE"),
VIETNAM("VN"),
WALLIS_AND_FUTUNA("WF"),
YEMEN("YE"),
ZAMBIA("ZM"),
ZIMBABWE("ZW");
private final String code;
private Country(final String code) {
this.code = code;
}
@Override
public String toString() {
return code;
}
}