mirror of
https://github.com/bitwarden/server
synced 2026-01-03 00:53:37 +00:00
Upgrade Stripe.net to 45.7.0 (#4744)
This commit is contained in:
21
src/Billing/Models/StripeWebhookDeliveryContainer.cs
Normal file
21
src/Billing/Models/StripeWebhookDeliveryContainer.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Bit.Billing.Models;
|
||||
|
||||
public class StripeWebhookDeliveryContainer
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
[JsonPropertyName("api_version")]
|
||||
public string ApiVersion { get; set; }
|
||||
[JsonPropertyName("request")]
|
||||
public StripeWebhookRequestData Request { get; set; }
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; set; }
|
||||
}
|
||||
|
||||
public class StripeWebhookRequestData
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Bit.Billing.Models;
|
||||
|
||||
public class StripeWebhookVersionContainer
|
||||
{
|
||||
[JsonPropertyName("api_version")]
|
||||
public string ApiVersion { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user