• java.lang.Object
    • com.here.sdk.search.LandlinePhone

  • public final class LandlinePhone
    extends java.lang.Object

    Represents data related to specific landline phone number.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<PlaceCategory> categories
      Categories associated with phone number.
      java.lang.String phoneNumber
      The phone number.
    • Constructor Summary

      Constructors 
      Constructor Description
      LandlinePhone()
      Creates a new instance.
      LandlinePhone​(java.lang.String phoneNumber, java.util.List<PlaceCategory> categories)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • phoneNumber

        @NonNull
        public java.lang.String phoneNumber

        The phone number.

      • categories

        @NonNull
        public java.util.List<PlaceCategory> categories

        Categories associated with phone number. Note: In case categories are not empty, then phoneNumber should be used according to given categories. Otherwise, phoneNumber is meant for general use.

    • Constructor Detail

      • LandlinePhone

        public LandlinePhone()

        Creates a new instance.

      • LandlinePhone

        public LandlinePhone​(@NonNull
                             java.lang.String phoneNumber,
                             @NonNull
                             java.util.List<PlaceCategory> categories)

        Creates a new instance.

        Parameters:
        phoneNumber -

        The phone number.

        categories -

        Categories associated with phone number. Note: In case categories are not empty, then phoneNumber should be used according to given categories. Otherwise, phoneNumber is meant for general use.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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