1
0
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:
Alex Morask
2024-09-06 13:30:39 -04:00
committed by GitHub
parent fc587847c3
commit dd6bc89b19
13 changed files with 89 additions and 37 deletions

View 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; }
}

View File

@@ -1,9 +0,0 @@
using System.Text.Json.Serialization;
namespace Bit.Billing.Models;
public class StripeWebhookVersionContainer
{
[JsonPropertyName("api_version")]
public string ApiVersion { get; set; }
}