Interface CustomerCreatePasswordResetToken


public interface CustomerCreatePasswordResetToken
CustomerCreatePasswordResetToken
Example to create an instance using the builder pattern

     CustomerCreatePasswordResetToken customerCreatePasswordResetToken = CustomerCreatePasswordResetToken.builder()
             .email("{email}")
             .build()
 
  • Method Details

    • getEmail

      @NotNull @NotNull String getEmail()

      Email address of the Customer treated as case-insensitive.

      Returns:
      email
    • getTtlMinutes

      Long getTtlMinutes()

      Validity period of the generated token in minutes.

      Returns:
      ttlMinutes
    • setEmail

      void setEmail(String email)

      Email address of the Customer treated as case-insensitive.

      Parameters:
      email - value to be set
    • setTtlMinutes

      void setTtlMinutes(Long ttlMinutes)

      Validity period of the generated token in minutes.

      Parameters:
      ttlMinutes - value to be set
    • of

      factory method
      Returns:
      instance of CustomerCreatePasswordResetToken
    • of

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

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

      builder factory method for CustomerCreatePasswordResetToken
      Returns:
      builder
    • builder

      create builder for CustomerCreatePasswordResetToken instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerCreatePasswordResetToken

      default <T> T withCustomerCreatePasswordResetToken(Function<CustomerCreatePasswordResetToken,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<CustomerCreatePasswordResetToken> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference