Class V1CustomerSubscriptionPausedEvent

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.Event
com.stripe.events.V1CustomerSubscriptionPausedEvent
All Implemented Interfaces:
HasId, StripeActiveObject, StripeObjectInterface

public final class V1CustomerSubscriptionPausedEvent extends Event
  • Constructor Details

    • V1CustomerSubscriptionPausedEvent

      public V1CustomerSubscriptionPausedEvent()
  • Method Details

    • fetchRelatedObject

      public Subscription fetchRelatedObject() throws StripeException
      Retrieves the related object from the API. Make an API request on every call.
      Throws:
      StripeException
    • getRelatedObject

      public Event.RelatedObject getRelatedObject()
      Object containing the reference to API resource relevant to the event.