Class MessagingParticipantPhoneNumber
- java.lang.Object
-
- com.avaya.clientservices.messaging.MessagingParticipantPhoneNumber
-
public class MessagingParticipantPhoneNumber extends java.lang.ObjectRepresents a participant's phone number.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCanonicalForm()Returns E.164 formatted phone number.java.lang.StringgetCustomType()WhengetType()has valueMessagingParticipantPhoneNumberType.CUSTOMthis represents the name of the custom number type provided by a user.MessagingParticipantPhoneNumberTypegetType()Returns phone number type.java.lang.StringgetValue()Returns the phone number.booleanisPrimary()Indicates whether the number is primary.booleanisVerified()Indicates whether the number is verified.
-
-
-
Method Detail
-
isVerified
public boolean isVerified()
Indicates whether the number is verified.- Returns:
- true if the number is verified.
-
isPrimary
public boolean isPrimary()
Indicates whether the number is primary.- Returns:
- whether the number is primary.
-
getCanonicalForm
public java.lang.String getCanonicalForm()
Returns E.164 formatted phone number.- Returns:
- E.164 formatted phone number.
-
getType
public MessagingParticipantPhoneNumberType getType()
Returns phone number type.- Returns:
- phone number type.
-
getCustomType
public java.lang.String getCustomType()
WhengetType()has valueMessagingParticipantPhoneNumberType.CUSTOMthis represents the name of the custom number type provided by a user.- Returns:
- custom phone number type.
- See Also:
getType()
-
getValue
public java.lang.String getValue()
Returns the phone number.- Returns:
- the phone number.
-
-