Interface FoodType.Builder

    • Method Detail

      • localizedName

        FoodType.Builder localizedName​(String localizedName)

        Localized name of the food type.

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

        FoodType.Builder id​(String id)

        The Food Type Id.

        Parameters:
        id - The Food Type Id.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • primary

        FoodType.Builder primary​(Boolean primary)

        Boolean which indicates if this food type is the primary offered by the place. For example, if a location serves fast food, but also dessert, he primary would likely be fast food.

        Parameters:
        primary - Boolean which indicates if this food type is the primary offered by the place. For example, if a location serves fast food, but also dessert, he primary would likely be fast food.
        Returns:
        Returns a reference to this object so that method calls can be chained together.