Interface CustomerSetTitleAction

All Superinterfaces:
CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>

public interface CustomerSetTitleAction extends CustomerUpdateAction

Setting the title of the Customer produces the CustomerTitleSet Message.


Example to create an instance using the builder pattern

     CustomerSetTitleAction customerSetTitleAction = CustomerSetTitleAction.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 CustomerSetTitleAction
    • of

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

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

      builder factory method for CustomerSetTitleAction
      Returns:
      builder
    • builder

      create builder for CustomerSetTitleAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerSetTitleAction

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