Class PlacesParams.Builder

    • Method Detail

      • addSubCategories

        public PlacesParams.Builder addSubCategories​(@NonNull
                                                     java.lang.String... subCategories)
        Add sub categories to filter the list
        Parameters:
        subCategories - categories to filter
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • addSubCategories

        public PlacesParams.Builder addSubCategories​(@Nullable
                                                     java.lang.String subCategories)
        Add a sub category to filter the list
        Parameters:
        subCategories - category to filter
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setQuery

        public PlacesParams.Builder setQuery​(@Nullable
                                             java.lang.String query)
        Set search parameter
        Parameters:
        query - search parameter
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setLatitude

        public PlacesParams.Builder setLatitude​(@Nullable
                                                java.lang.Double lat)
        Set place latitude value
        Parameters:
        lat - place latitude value
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setLongitude

        public PlacesParams.Builder setLongitude​(@Nullable
                                                 java.lang.Double longitude)
        Set place longitude value
        Parameters:
        longitude - place longitude value
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setDistance

        public PlacesParams.Builder setDistance​(@Nullable
                                                java.lang.Integer distance)
        Set distance parameter in miles
        Parameters:
        distance - Distance parameter in miles
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setUnit

        public PlacesParams.Builder setUnit​(@Nullable
                                            java.lang.String unit)
        Set unit used for searching place distance
        Parameters:
        unit - unit used for searching place distance
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setAddress

        public PlacesParams.Builder setAddress​(@Nullable
                                               java.lang.String address)
        Set place address
        Parameters:
        address - place address
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setWithClientEvents

        public PlacesParams.Builder setWithClientEvents​(@Nullable
                                                        java.lang.Boolean withClientEvents)
        Sets the flag to show places with client events
        Parameters:
        withClientEvents - flag to show places with client events
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setIntegrationId

        public PlacesParams.Builder setIntegrationId​(@Nullable
                                                     java.lang.String integrationId)
        Set the integration id of the place
        Parameters:
        integrationId - integration id of the place
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setAction

        public PlacesParams.Builder setAction​(@Nullable
                                              java.lang.String action)
        Set region transition type
        Parameters:
        action - region transition type
        Returns:
        The Builder object to allow for chaining calls to set/add methods