Interface CustomerSetExternalIdAction

All Superinterfaces:
CustomerUpdateAction, ResourceUpdateAction<CustomerUpdateAction>

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

     CustomerSetExternalIdAction customerSetExternalIdAction = CustomerSetExternalIdAction.builder()
             .build()
 
  • Field Details

    • SET_EXTERNAL_ID

      static final String SET_EXTERNAL_ID
      discriminator value for CustomerSetExternalIdAction
      See Also:
  • Method Details

    • getExternalId

      String getExternalId()

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

      Returns:
      externalId
    • setExternalId

      void setExternalId(String externalId)

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

      Parameters:
      externalId - value to be set
    • of

      factory method
      Returns:
      instance of CustomerSetExternalIdAction
    • of

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

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

      builder factory method for CustomerSetExternalIdAction
      Returns:
      builder
    • builder

      create builder for CustomerSetExternalIdAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerSetExternalIdAction

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