Interface Category.Builder

    • Method Detail

      • id

        Category.Builder id​(String id)

        The category ID.

        Parameters:
        id - The category ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Category.Builder name​(String name)

        The category name.

        Parameters:
        name - The category name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localizedName

        Category.Builder localizedName​(String localizedName)

        Localized name of the category type.

        Parameters:
        localizedName - Localized name of the category type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • primary

        Category.Builder primary​(Boolean primary)

        Boolean which indicates if this category is the primary offered by the place.

        Parameters:
        primary - Boolean which indicates if this category is the primary offered by the place.
        Returns:
        Returns a reference to this object so that method calls can be chained together.