Package com.dzidzi.dto.restaurant
Class ChangeRestaurantRequest.Builder
java.lang.Object
com.dzidzi.dto.restaurant.ChangeRestaurantRequest.Builder
- Enclosing class:
ChangeRestaurantRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddress(ChangeAddressRequest address) The new address of the restaurant.avatar(org.springframework.web.multipart.MultipartFile avatar) The new profile image of the restaurantbackgroundImage(org.springframework.web.multipart.MultipartFile backgroundImage) The new background image of the restaurantThe new restaurants biobuild()The new contact of the restaurantThe new second contact of the restaurant if neededThe new name of the restaurantnewPassword(String newPassword) The new password to set.The existing password.toString()The new username to use.
-
Method Details
-
address
The new address of the restaurant.ChangeAddressRequest- Returns:
this.
-
name
The new name of the restaurant- Returns:
this.
-
contact
The new contact of the restaurant- Returns:
this.
-
contact1
The new second contact of the restaurant if needed- Returns:
this.
-
avatar
public ChangeRestaurantRequest.Builder avatar(org.springframework.web.multipart.MultipartFile avatar) The new profile image of the restaurant- Returns:
this.
-
backgroundImage
public ChangeRestaurantRequest.Builder backgroundImage(org.springframework.web.multipart.MultipartFile backgroundImage) The new background image of the restaurant- Returns:
this.
-
bio
The new restaurants bio- Returns:
this.
-
newPassword
The new password to set.- Returns:
this.
-
password
The existing password.- Returns:
this.
-
username
The new username to use.- Returns:
this.
-
build
-
toString
-