Package com.dzidzi.dto.customerService
Class ChangeCustomerServiceRequest
java.lang.Object
com.dzidzi.dto.customerService.ChangeCustomerServiceRequest
ChangeCustomerServiceRequest represents the DTO request containing the objects used to update an existing customer service.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionChangeCustomerServiceRequest(String contact, ChangeAddressRequest address, String newPassword, String password, String username, org.springframework.web.multipart.MultipartFile avatar) Creates a newChangeCustomerServiceRequestinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The new address of the customer service rep.org.springframework.web.multipart.MultipartFileThe new profile image of the customer representativeThe address of the courierThe new password to set.The existing password.The new username to use.
-
Constructor Details
-
ChangeCustomerServiceRequest
public ChangeCustomerServiceRequest() -
ChangeCustomerServiceRequest
@ConstructorProperties({"contact","address","newPassword","password","username","avatar"}) public ChangeCustomerServiceRequest(String contact, ChangeAddressRequest address, String newPassword, String password, String username, org.springframework.web.multipart.MultipartFile avatar) Creates a newChangeCustomerServiceRequestinstance.- Parameters:
contact- The address of the courieraddress- The new address of the customer service rep.ChangeAddressRequestnewPassword- The new password to set.password- The existing password.username- The new username to use.avatar- The new profile image of the customer representative
-
-
Method Details
-
builder
-
getContact
The address of the courier -
getAddress
The new address of the customer service rep.ChangeAddressRequest -
getNewPassword
The new password to set. -
getPassword
The existing password. -
getUsername
The new username to use. -
getAvatar
public org.springframework.web.multipart.MultipartFile getAvatar()The new profile image of the customer representative
-