Class WebhookItemConversion

java.lang.Object
de.hybris.platform.webhookservices.dto.WebhookItemConversion
All Implemented Interfaces:
Serializable

public class WebhookItemConversion extends Object implements Serializable
Webhook data transfer object of a deleted item for applicable webhook configuration.
See Also:
  • Constructor Details

    • WebhookItemConversion

      public WebhookItemConversion(@NotNull @NotNull PK webhookConfigurationPk, @NotNull @NotNull WebhookPayloadModel webhookPayload)
      Instantiates the WebhookItemConversion
      Parameters:
      webhookConfigurationPk - webhook configuration primary key
      webhookPayload - webhook payload
  • Method Details

    • getWebhookPayload

      public WebhookPayloadModel getWebhookPayload()
      Get the deleted item webhook payload
      Returns:
      deleted item webhook payload WebhookPayloadModel
    • getWebhookConfigurationPk

      public PK getWebhookConfigurationPk()
      Get the webhook configuration primary key
      Returns:
      the PK
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object