Interface MyCustomerSetTitleAction

All Superinterfaces:
MyCustomerUpdateAction, ResourceUpdateAction<MyCustomerUpdateAction>

public interface MyCustomerSetTitleAction extends MyCustomerUpdateAction

Setting the title of the Customer produces the CustomerTitleSetMessage.


Example to create an instance using the builder pattern

     MyCustomerSetTitleAction myCustomerSetTitleAction = MyCustomerSetTitleAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getTitle

      String getTitle()

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

      Returns:
      title
    • setTitle

      void setTitle(String title)

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

      Parameters:
      title - value to be set
    • of

      factory method
      Returns:
      instance of MyCustomerSetTitleAction
    • of

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

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

      builder factory method for MyCustomerSetTitleAction
      Returns:
      builder
    • builder

      create builder for MyCustomerSetTitleAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withMyCustomerSetTitleAction

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