Package com.dzidzi.dto.customerService
Class AddCustomerServiceRequest.Builder
java.lang.Object
com.dzidzi.dto.customerService.AddCustomerServiceRequest.Builder
- Enclosing class:
AddCustomerServiceRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddress(AddAddressRequest address) The address of the customer service rep.avatar(org.springframework.web.multipart.MultipartFile avatar) The profile image of the customer representativebuild()The contact of the customer service repThe first name of the customer service repThe last name of the customer service repnewPassword(String newPassword) The new password to use.repeatPass(String repeatPass) The same password typed in newPasswordtoString()The new username to use for your account
-
Method Details
-
firstName
The first name of the customer service rep- Returns:
this.
-
lastName
The last name of the customer service rep- Returns:
this.
-
contact
The contact of the customer service rep- Returns:
this.
-
address
The address of the customer service rep.AddAddressRequest- Returns:
this.
-
newPassword
The new password to use. Password should contain lowercase, uppercase, number, special character and at least 12 characters.- Returns:
this.
-
repeatPass
The same password typed in newPassword- Returns:
this.
-
username
The new username to use for your account- Returns:
this.
-
avatar
public AddCustomerServiceRequest.Builder avatar(org.springframework.web.multipart.MultipartFile avatar) The profile image of the customer representative- Returns:
this.
-
build
-
toString
-