Interface CustomerSetMiddleNameAction

All Superinterfaces:
CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>

public interface CustomerSetMiddleNameAction extends CustomerUpdateAction
CustomerSetMiddleNameAction
Example to create an instance using the builder pattern

     CustomerSetMiddleNameAction customerSetMiddleNameAction = CustomerSetMiddleNameAction.builder()
             .build()
 
  • Field Details

    • SET_MIDDLE_NAME

      static final String SET_MIDDLE_NAME
      discriminator value for CustomerSetMiddleNameAction
      See Also:
  • Method Details

    • getMiddleName

      String getMiddleName()

      Value to set. If empty, any existing value is removed.

      Returns:
      middleName
    • setMiddleName

      void setMiddleName(String middleName)

      Value to set. If empty, any existing value is removed.

      Parameters:
      middleName - value to be set
    • of

      factory method
      Returns:
      instance of CustomerSetMiddleNameAction
    • of

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

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

      builder factory method for CustomerSetMiddleNameAction
      Returns:
      builder
    • builder

      create builder for CustomerSetMiddleNameAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerSetMiddleNameAction

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