Class WebhookPayloadModel

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

public class WebhookPayloadModel extends ItemModel
Generated model class for type WebhookPayload first defined at extension webhookservices.

A webhook payload wrapper.

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 WebhookPayload.data 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
    WebhookPayloadModel(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 WebhookPayload.data attribute defined at extension webhookservices.
    void
    Generated method - Setter of WebhookPayload.data 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:
    • DATA

      public static final String DATA
      Generated constant - Attribute key of WebhookPayload.data attribute defined at extension webhookservices.
      See Also:
  • Constructor Details

    • WebhookPayloadModel

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

      public WebhookPayloadModel(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
    • WebhookPayloadModel

      @Deprecated(since="4.1.1", forRemoval=true) public WebhookPayloadModel(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:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getData

      @Accessor(qualifier="data", type=GETTER) public Map<String,Object> getData()
      Generated method - Getter of the WebhookPayload.data attribute defined at extension webhookservices.
      Returns:
      the data - Payload to be sent to a webhook
    • setData

      @Accessor(qualifier="data", type=SETTER) public void setData(Map<String,Object> value)
      Generated method - Setter of WebhookPayload.data attribute defined at extension webhookservices.
      Parameters:
      value - the data - Payload to be sent to a webhook