Interface StoreSetContactUrlAction

All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>, StoreUpdateAction

public interface StoreSetContactUrlAction extends StoreUpdateAction

This update action produces the StoreContactUrlSet Message.


Example to create an instance using the builder pattern

     StoreSetContactUrlAction storeSetContactUrlAction = StoreSetContactUrlAction.builder()
             .build()
 
  • Field Details

    • SET_CONTACT_URL

      static final String SET_CONTACT_URL
      discriminator value for StoreSetContactUrlAction
      See Also:
  • Method Details

    • getContactUrl

      String getContactUrl()

      Value to set. Must be an absolute https URL. If empty, any existing value is removed.

      Returns:
      contactUrl
    • setContactUrl

      void setContactUrl(String contactUrl)

      Value to set. Must be an absolute https URL. If empty, any existing value is removed.

      Parameters:
      contactUrl - value to be set
    • of

      factory method
      Returns:
      instance of StoreSetContactUrlAction
    • of

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

      Specified by:
      copyDeep in interface StoreUpdateAction
    • deepCopy

      @Nullable static StoreSetContactUrlAction deepCopy(@Nullable StoreSetContactUrlAction template)
      factory method to create a deep copy of StoreSetContactUrlAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for StoreSetContactUrlAction
      Returns:
      builder
    • builder

      create builder for StoreSetContactUrlAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStoreSetContactUrlAction

      default <T> T withStoreSetContactUrlAction(Function<StoreSetContactUrlAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static tools.jackson.core.type.TypeReference<StoreSetContactUrlAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference