Package com.dzidzi.dto.courier
Class ChangeCourierRequest.Builder
java.lang.Object
com.dzidzi.dto.courier.ChangeCourierRequest.Builder
- Enclosing class:
ChangeCourierRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddress(ChangeAddressRequest address) The new address of the courier.avatar(org.springframework.web.multipart.MultipartFile avatar) The new profile image of the courierbuild()The new contact of the couriernewPassword(String newPassword) The new password to set.The existing password.toString()The new username to use.
-
Method Details
-
contact
The new contact of the courier- Returns:
this.
-
address
The new address of the courier.ChangeAddressRequest- Returns:
this.
-
newPassword
The new password to set.- Returns:
this.
-
password
The existing password.- Returns:
this.
-
username
The new username to use.- Returns:
this.
-
avatar
The new profile image of the courier- Returns:
this.
-
build
-
toString
-