Interface CustomerSetCompanyNameAction

All Superinterfaces:
CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>

public interface CustomerSetCompanyNameAction extends CustomerUpdateAction

Setting a company name produces the CustomerCompanyNameSet Message.


Example to create an instance using the builder pattern

     CustomerSetCompanyNameAction customerSetCompanyNameAction = CustomerSetCompanyNameAction.builder()
             .build()
 
  • Field Details

    • SET_COMPANY_NAME

      static final String SET_COMPANY_NAME
      discriminator value for CustomerSetCompanyNameAction
      See Also:
  • Method Details

    • getCompanyName

      String getCompanyName()

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

      Returns:
      companyName
    • setCompanyName

      void setCompanyName(String companyName)

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

      Parameters:
      companyName - value to be set
    • of

      factory method
      Returns:
      instance of CustomerSetCompanyNameAction
    • of

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

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

      builder factory method for CustomerSetCompanyNameAction
      Returns:
      builder
    • builder

      create builder for CustomerSetCompanyNameAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerSetCompanyNameAction

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