public interface ContactMethod
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormatted()
Returns the formatted Contact Method.
|
java.lang.String |
getMasked()
Returns the masked Contact Method.
|
java.lang.String |
getType()
Getter for the class type.
|
java.lang.String |
getValue()
Returns the Contact Method value.
|
boolean |
isEmpty()
Indicates if the Contact Method is empty.
|
static boolean |
isEmpty(java.lang.String contactMethod)
Helper method to validate if a String is Empty.
|
boolean |
isValid()
Indicates if the Contact Method is valid.
|
boolean |
isVerified()
Indicates if the Contact Method is verified.
|
java.lang.String getFormatted()
java.lang.String getMasked()
java.lang.String getValue()
boolean isVerified()
boolean isEmpty()
boolean isValid()
java.lang.String getType()
static boolean isEmpty(java.lang.String contactMethod)
contactMethod
- The Contact Method to validate if is empty.