Enum SmsPropertyConstant
- java.lang.Object
-
- java.lang.Enum<SmsPropertyConstant>
-
- io.mosip.kernel.smsserviceprovider.msg91.constant.SmsPropertyConstant
-
- All Implemented Interfaces:
Serializable,Comparable<SmsPropertyConstant>
public enum SmsPropertyConstant extends Enum<SmsPropertyConstant>
This enum provides all the constant for sms notification.- Since:
- 1.0.0
- Author:
- Ritesh sinha
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTH_KEYCOUNTRY_CODENUMBERSPROJECT_NAMERECIPIENT_NUMBERROUTESENDER_IDSMS_MESSAGESUCCESS_RESPONSESUFFIX_MESSAGEUNICODEVENDOR_RESPONSE_SUCCESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProperty()Getter for sms property.static SmsPropertyConstantvalueOf(String name)Returns the enum constant of this type with the specified name.static SmsPropertyConstant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTH_KEY
public static final SmsPropertyConstant AUTH_KEY
-
SMS_MESSAGE
public static final SmsPropertyConstant SMS_MESSAGE
-
RECIPIENT_NUMBER
public static final SmsPropertyConstant RECIPIENT_NUMBER
-
COUNTRY_CODE
public static final SmsPropertyConstant COUNTRY_CODE
-
ROUTE
public static final SmsPropertyConstant ROUTE
-
SENDER_ID
public static final SmsPropertyConstant SENDER_ID
-
VENDOR_RESPONSE_SUCCESS
public static final SmsPropertyConstant VENDOR_RESPONSE_SUCCESS
-
SUCCESS_RESPONSE
public static final SmsPropertyConstant SUCCESS_RESPONSE
-
UNICODE
public static final SmsPropertyConstant UNICODE
-
PROJECT_NAME
public static final SmsPropertyConstant PROJECT_NAME
-
SUFFIX_MESSAGE
public static final SmsPropertyConstant SUFFIX_MESSAGE
-
NUMBERS
public static final SmsPropertyConstant NUMBERS
-
-
Method Detail
-
values
public static SmsPropertyConstant[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SmsPropertyConstant c : SmsPropertyConstant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SmsPropertyConstant valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getProperty
public String getProperty()
Getter for sms property.- Returns:
- the sms property.
-
-