Skip to content

Commit

Permalink
Update generated code for v1362
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 19, 2024
1 parent 9405f45 commit 303a5be
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 19 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1359
v1362
5 changes: 5 additions & 0 deletions src/Stripe.net/Constants/EventTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,11 @@ public static class EventTypes
/// </summary>
public const string InvoiceOverdue = "invoice.overdue";

/// <summary>
/// Occurs when an invoice transitions to paid with a non-zero amount_overpaid.
/// </summary>
public const string InvoiceOverpaid = "invoice.overpaid";

/// <summary>
/// Occurs whenever an invoice payment attempt succeeds or an invoice is marked as paid
/// out-of-band.
Expand Down
12 changes: 6 additions & 6 deletions src/Stripe.net/Entities/Events/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@ public class Event : StripeEntity<Event>, IHasId, IHasObject
/// <c>identity.verification_session.requires_input</c>,
/// <c>identity.verification_session.verified</c>, <c>invoice.created</c>,
/// <c>invoice.deleted</c>, <c>invoice.finalization_failed</c>, <c>invoice.finalized</c>,
/// <c>invoice.marked_uncollectible</c>, <c>invoice.overdue</c>, <c>invoice.paid</c>,
/// <c>invoice.payment.overpaid</c>, <c>invoice.payment_action_required</c>,
/// <c>invoice.payment_attempt_required</c>, <c>invoice.payment_failed</c>,
/// <c>invoice.payment_succeeded</c>, <c>invoice.sent</c>, <c>invoice.upcoming</c>,
/// <c>invoice.updated</c>, <c>invoice.voided</c>, <c>invoice.will_be_due</c>,
/// <c>invoiceitem.created</c>, <c>invoiceitem.deleted</c>,
/// <c>invoice.marked_uncollectible</c>, <c>invoice.overdue</c>, <c>invoice.overpaid</c>,
/// <c>invoice.paid</c>, <c>invoice.payment.overpaid</c>,
/// <c>invoice.payment_action_required</c>, <c>invoice.payment_attempt_required</c>,
/// <c>invoice.payment_failed</c>, <c>invoice.payment_succeeded</c>, <c>invoice.sent</c>,
/// <c>invoice.upcoming</c>, <c>invoice.updated</c>, <c>invoice.voided</c>,
/// <c>invoice.will_be_due</c>, <c>invoiceitem.created</c>, <c>invoiceitem.deleted</c>,
/// <c>issuing_authorization.created</c>, <c>issuing_authorization.request</c>,
/// <c>issuing_authorization.updated</c>, <c>issuing_card.created</c>,
/// <c>issuing_card.updated</c>, <c>issuing_cardholder.created</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata
/// <c>identity.verification_session.requires_input</c>,
/// <c>identity.verification_session.verified</c>, <c>invoice.created</c>,
/// <c>invoice.deleted</c>, <c>invoice.finalization_failed</c>, <c>invoice.finalized</c>,
/// <c>invoice.marked_uncollectible</c>, <c>invoice.overdue</c>, <c>invoice.paid</c>,
/// <c>invoice.payment.overpaid</c>, <c>invoice.payment_action_required</c>,
/// <c>invoice.payment_attempt_required</c>, <c>invoice.payment_failed</c>,
/// <c>invoice.payment_succeeded</c>, <c>invoice.sent</c>, <c>invoice.upcoming</c>,
/// <c>invoice.updated</c>, <c>invoice.voided</c>, <c>invoice.will_be_due</c>,
/// <c>invoiceitem.created</c>, <c>invoiceitem.deleted</c>,
/// <c>invoice.marked_uncollectible</c>, <c>invoice.overdue</c>, <c>invoice.overpaid</c>,
/// <c>invoice.paid</c>, <c>invoice.payment.overpaid</c>,
/// <c>invoice.payment_action_required</c>, <c>invoice.payment_attempt_required</c>,
/// <c>invoice.payment_failed</c>, <c>invoice.payment_succeeded</c>, <c>invoice.sent</c>,
/// <c>invoice.upcoming</c>, <c>invoice.updated</c>, <c>invoice.voided</c>,
/// <c>invoice.will_be_due</c>, <c>invoiceitem.created</c>, <c>invoiceitem.deleted</c>,
/// <c>issuing_authorization.created</c>, <c>issuing_authorization.request</c>,
/// <c>issuing_authorization.updated</c>, <c>issuing_card.created</c>,
/// <c>issuing_card.updated</c>, <c>issuing_cardholder.created</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ public class WebhookEndpointUpdateOptions : BaseOptions, IHasMetadata
/// <c>identity.verification_session.requires_input</c>,
/// <c>identity.verification_session.verified</c>, <c>invoice.created</c>,
/// <c>invoice.deleted</c>, <c>invoice.finalization_failed</c>, <c>invoice.finalized</c>,
/// <c>invoice.marked_uncollectible</c>, <c>invoice.overdue</c>, <c>invoice.paid</c>,
/// <c>invoice.payment.overpaid</c>, <c>invoice.payment_action_required</c>,
/// <c>invoice.payment_attempt_required</c>, <c>invoice.payment_failed</c>,
/// <c>invoice.payment_succeeded</c>, <c>invoice.sent</c>, <c>invoice.upcoming</c>,
/// <c>invoice.updated</c>, <c>invoice.voided</c>, <c>invoice.will_be_due</c>,
/// <c>invoiceitem.created</c>, <c>invoiceitem.deleted</c>,
/// <c>invoice.marked_uncollectible</c>, <c>invoice.overdue</c>, <c>invoice.overpaid</c>,
/// <c>invoice.paid</c>, <c>invoice.payment.overpaid</c>,
/// <c>invoice.payment_action_required</c>, <c>invoice.payment_attempt_required</c>,
/// <c>invoice.payment_failed</c>, <c>invoice.payment_succeeded</c>, <c>invoice.sent</c>,
/// <c>invoice.upcoming</c>, <c>invoice.updated</c>, <c>invoice.voided</c>,
/// <c>invoice.will_be_due</c>, <c>invoiceitem.created</c>, <c>invoiceitem.deleted</c>,
/// <c>issuing_authorization.created</c>, <c>issuing_authorization.request</c>,
/// <c>issuing_authorization.updated</c>, <c>issuing_card.created</c>,
/// <c>issuing_card.updated</c>, <c>issuing_cardholder.created</c>,
Expand Down

0 comments on commit 303a5be

Please sign in to comment.