Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing events for TaxId and Capability #1996

Merged
merged 1 commit into from
Apr 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/Stripe.net/Constants/Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ public static class Events
[Obsolete]
public const string BitcoinReceiverTransactionUpdated = "bitcoin.receiver.transaction.created";

/// <summary>
/// Occurs whenever a capability has new requirements or a new status.
/// </summary>
public const string CapabilityUpdated = "capability.updated";

/// <summary>
/// Occurs whenever a previously uncaptured charge is captured.
/// </summary>
Expand Down Expand Up @@ -263,6 +268,21 @@ public static class Events
/// </summary>
public const string CustomerSubscriptionUpdated = "customer.subscription.updated";

/// <summary>
/// Occurs whenever a tax ID is created for a customer.
/// </summary>
public const string CustomerTaxIdCreated = "customer.tax_id.created";

/// <summary>
/// Occurs whenever a tax ID is deleted from a customer.
/// </summary>
public const string CustomerTaxIdDeleted = "customer.tax_id.deleted";

/// <summary>
/// Occurs whenever a customer's tax ID is updated.
/// </summary>
public const string CustomerTaxIdUpdated = "customer.tax_id.updated";

/// <summary>
/// Occurs whenever a new Stripe-generated file is available for your account.
/// </summary>
Expand Down