Class WebhookConfigurationModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.webhookservices.model.WebhookConfigurationModel
All Implemented Interfaces:
Serializable

public class WebhookConfigurationModel extends ItemModel
Generated model class for type WebhookConfiguration first defined at extension webhookservices.

Configures how a webhook reacts to an event by specifying an event, an Integration Object to transform the event to, and the destination to send the payload.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of WebhookConfiguration.destination attribute defined at extension webhookservices.
    static final String
    Generated constant - Attribute key of WebhookConfiguration.eventType attribute defined at extension webhookservices.
    static final String
    Generated constant - Attribute key of WebhookConfiguration.filterLocation attribute defined at extension webhookservices.
    static final String
    Generated constant - Attribute key of WebhookConfiguration.integrationObject attribute defined at extension webhookservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
    WebhookConfigurationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the WebhookConfiguration.destination attribute defined at extension webhookservices.
    Generated method - Getter of the WebhookConfiguration.eventType attribute defined at extension webhookservices.
    Generated method - Getter of the WebhookConfiguration.filterLocation attribute defined at extension webhookservices.
    Generated method - Getter of the WebhookConfiguration.integrationObject attribute defined at extension webhookservices.
    void
    Generated method - Setter of WebhookConfiguration.destination attribute defined at extension webhookservices.
    void
    Generated method - Setter of WebhookConfiguration.eventType attribute defined at extension webhookservices.
    void
    Generated method - Setter of WebhookConfiguration.filterLocation attribute defined at extension webhookservices.
    void
    Generated method - Setter of WebhookConfiguration.integrationObject attribute defined at extension webhookservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • EVENTTYPE

      public static final String EVENTTYPE
      Generated constant - Attribute key of WebhookConfiguration.eventType attribute defined at extension webhookservices.
      See Also:
    • INTEGRATIONOBJECT

      public static final String INTEGRATIONOBJECT
      Generated constant - Attribute key of WebhookConfiguration.integrationObject attribute defined at extension webhookservices.
      See Also:
    • DESTINATION

      public static final String DESTINATION
      Generated constant - Attribute key of WebhookConfiguration.destination attribute defined at extension webhookservices.
      See Also:
    • FILTERLOCATION

      public static final String FILTERLOCATION
      Generated constant - Attribute key of WebhookConfiguration.filterLocation attribute defined at extension webhookservices.
      See Also:
  • Constructor Details

    • WebhookConfigurationModel

      public WebhookConfigurationModel()
      Generated constructor - Default constructor for generic creation.
    • WebhookConfigurationModel

      public WebhookConfigurationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • WebhookConfigurationModel

      @Deprecated(since="4.1.1", forRemoval=true) public WebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _destination - initial attribute declared by type WebhookConfiguration at extension webhookservices
      _integrationObject - initial attribute declared by type WebhookConfiguration at extension webhookservices
    • WebhookConfigurationModel

      @Deprecated(since="4.1.1", forRemoval=true) public WebhookConfigurationModel(ConsumedDestinationModel _destination, IntegrationObjectModel _integrationObject, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _destination - initial attribute declared by type WebhookConfiguration at extension webhookservices
      _integrationObject - initial attribute declared by type WebhookConfiguration at extension webhookservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getDestination

      @Accessor(qualifier="destination", type=GETTER) public ConsumedDestinationModel getDestination()
      Generated method - Getter of the WebhookConfiguration.destination attribute defined at extension webhookservices.
      Returns:
      the destination - The destination this WebhookConfiguration is to send the payload
    • getEventType

      @Accessor(qualifier="eventType", type=GETTER) public String getEventType()
      Generated method - Getter of the WebhookConfiguration.eventType attribute defined at extension webhookservices.
      Returns:
      the eventType - The event this WebhookConfiguration responds to
    • getFilterLocation

      @Accessor(qualifier="filterLocation", type=GETTER) public String getFilterLocation()
      Generated method - Getter of the WebhookConfiguration.filterLocation attribute defined at extension webhookservices.
      Returns:
      the filterLocation - Specifies the URI of the filter logic. For example, script://orderFilter.
    • getIntegrationObject

      @Accessor(qualifier="integrationObject", type=GETTER) public IntegrationObjectModel getIntegrationObject()
      Generated method - Getter of the WebhookConfiguration.integrationObject attribute defined at extension webhookservices.
      Returns:
      the integrationObject - The IntegrationObject this WebhookConfiguration is to use when sending the payload
    • setDestination

      @Accessor(qualifier="destination", type=SETTER) public void setDestination(ConsumedDestinationModel value)
      Generated method - Setter of WebhookConfiguration.destination attribute defined at extension webhookservices.
      Parameters:
      value - the destination - The destination this WebhookConfiguration is to send the payload
    • setEventType

      @Accessor(qualifier="eventType", type=SETTER) public void setEventType(String value)
      Generated method - Setter of WebhookConfiguration.eventType attribute defined at extension webhookservices.
      Parameters:
      value - the eventType - The event this WebhookConfiguration responds to
    • setFilterLocation

      @Accessor(qualifier="filterLocation", type=SETTER) public void setFilterLocation(String value)
      Generated method - Setter of WebhookConfiguration.filterLocation attribute defined at extension webhookservices.
      Parameters:
      value - the filterLocation - Specifies the URI of the filter logic. For example, script://orderFilter.
    • setIntegrationObject

      @Accessor(qualifier="integrationObject", type=SETTER) public void setIntegrationObject(IntegrationObjectModel value)
      Generated method - Setter of WebhookConfiguration.integrationObject attribute defined at extension webhookservices.
      Parameters:
      value - the integrationObject - The IntegrationObject this WebhookConfiguration is to use when sending the payload