Represents a Stripe event triggered when a price object is deleted, providing access to the related price resource.
// Source: https://github.com/stripe/stripe-java | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
// File generated from our OpenAPI spec
package com.stripe.events;
import com.google.gson.annotations.SerializedName;
import com.stripe.exception.StripeException;
import com.stripe.model.Price;
import com.stripe.model.v2.core.Event;
import com.stripe.model.v2.core.Event.RelatedObject;
import lombok.Getter;
@Getter
public final class V1PriceDeletedEvent extends Event {
@SerializedName("related_object")
/** Object containing the reference to API resource relevant to the event. */
RelatedObject relatedObject;
/** Retrieves the related object from the API. Make an API request on every call. */
public P
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key