Interface CustomerSetSalutationAction

All Superinterfaces:
CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>

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

     CustomerSetSalutationAction customerSetSalutationAction = CustomerSetSalutationAction.builder()
             .build()
 
  • Field Details

    • SET_SALUTATION

      static final String SET_SALUTATION
      discriminator value for CustomerSetSalutationAction
      See Also:
  • Method Details

    • getSalutation

      String getSalutation()

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

      Returns:
      salutation
    • setSalutation

      void setSalutation(String salutation)

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

      Parameters:
      salutation - value to be set
    • of

      factory method
      Returns:
      instance of CustomerSetSalutationAction
    • of

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

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

      builder factory method for CustomerSetSalutationAction
      Returns:
      builder
    • builder

      create builder for CustomerSetSalutationAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerSetSalutationAction

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