Interface CustomerChangeEmailAction

All Superinterfaces:
CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>

public interface CustomerChangeEmailAction extends CustomerUpdateAction

Changes the email of the Customer and sets the isEmailVerified property to false. This update action generates a CustomerEmailChanged Message.


Example to create an instance using the builder pattern

     CustomerChangeEmailAction customerChangeEmailAction = CustomerChangeEmailAction.builder()
             .email("{email}")
             .build()
 
  • Field Details

  • Method Details

    • getEmail

      @NotNull @NotNull String getEmail()

      Value to set.

      Returns:
      email
    • setEmail

      void setEmail(String email)

      Value to set.

      Parameters:
      email - value to be set
    • of

      factory method
      Returns:
      instance of CustomerChangeEmailAction
    • of

      factory method to create a shallow copy CustomerChangeEmailAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of CustomerChangeEmailAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for CustomerChangeEmailAction
      Returns:
      builder
    • builder

      create builder for CustomerChangeEmailAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerChangeEmailAction

      default <T> T withCustomerChangeEmailAction(Function<CustomerChangeEmailAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<CustomerChangeEmailAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference