Class V1InvoiceDiscountRemovedEvent

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

public final class V1InvoiceDiscountRemovedEvent extends Event
  • Constructor Details

    • V1InvoiceDiscountRemovedEvent

      public V1InvoiceDiscountRemovedEvent()
  • Method Details

    • fetchRelatedObject

      public Invoice 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.