Class PhoneNumber


  • public final class PhoneNumber
    extends java.lang.Object
    • Method Detail

      • getCreatedAt

        public java.util.Optional<java.time.OffsetDateTime> getCreatedAt()
        Returns:
        The datetime that this object was created by Merge.
      • getModifiedAt

        public java.util.Optional<java.time.OffsetDateTime> getModifiedAt()
        Returns:
        The datetime that this object was modified by Merge.
      • getValue

        public java.util.Optional<java.lang.String> getValue()
        Returns:
        The phone number.
      • getPhoneNumberType

        public java.util.Optional<PhoneNumberPhoneNumberType> getPhoneNumberType()
        Returns:
        The type of phone number.
        • HOME - HOME
        • WORK - WORK
        • MOBILE - MOBILE
        • SKYPE - SKYPE
        • OTHER - OTHER
      • getRemoteWasDeleted

        public java.util.Optional<java.lang.Boolean> getRemoteWasDeleted()
        Returns:
        Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object