Skip to content

Commit

Permalink
Merge pull request #1800 from stripe/remi-add-events
Browse files Browse the repository at this point in the history
Add `PaymentIntentCanceled` and `SetupIntentCanceled` constants
  • Loading branch information
remi-stripe authored Oct 3, 2019
2 parents a3f3658 + b4cc58c commit bc44606
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Stripe.net/Constants/Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,11 @@ public static class Events
/// </summary>
public const string PaymentIntentAmountCapturableUpdated = "payment_intent.amount_capturable_updated";

/// <summary>
/// Occurs when a PaymentIntent is canceled.
/// </summary>
public const string PaymentIntentCanceled = "payment_intent.canceled";

/// <summary>
/// Occurs when a new PaymentIntent is created.
/// </summary>
Expand Down Expand Up @@ -588,6 +593,11 @@ public static class Events
/// </summary>
public const string ReviewOpened = "review.opened";

/// <summary>
/// Occurs when a SetupIntent is canceled.
/// </summary>
public const string SetupIntentCanceled = "setup_intent.canceled";

/// <summary>
/// Occurs when a new SetupIntent is created.
/// </summary>
Expand Down

0 comments on commit bc44606

Please sign in to comment.