Class ChangeCustomerServiceRequest

java.lang.Object
com.dzidzi.dto.customerService.ChangeCustomerServiceRequest

public class ChangeCustomerServiceRequest extends Object
ChangeCustomerServiceRequest represents the DTO request containing the objects used to update an existing customer service.
  • 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 new ChangeCustomerServiceRequest instance.
      Parameters:
      contact - The address of the courier
      address - The new address of the customer service rep. ChangeAddressRequest
      newPassword - 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

      public static ChangeCustomerServiceRequest.Builder builder()
    • getContact

      public String getContact()
      The address of the courier
    • getAddress

      public ChangeAddressRequest getAddress()
      The new address of the customer service rep. ChangeAddressRequest
    • getNewPassword

      public String getNewPassword()
      The new password to set.
    • getPassword

      public String getPassword()
      The existing password.
    • getUsername

      public String getUsername()
      The new username to use.
    • getAvatar

      public org.springframework.web.multipart.MultipartFile getAvatar()
      The new profile image of the customer representative