Skip to content

Commit

Permalink
Update generated code for v661
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 15, 2023
1 parent 9738cf0 commit d46618c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v660
v661
10 changes: 10 additions & 0 deletions src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// File generated from our OpenAPI spec
namespace Stripe
{
using System;
using Newtonsoft.Json;
using Stripe.Infrastructure;

public class ChargePaymentMethodDetailsCard : StripeEntity<ChargePaymentMethodDetailsCard>
{
Expand All @@ -18,6 +20,14 @@ public class ChargePaymentMethodDetailsCard : StripeEntity<ChargePaymentMethodDe
[JsonProperty("brand")]
public string Brand { get; set; }

/// <summary>
/// When using manual capture, a future timestamp at which the charge will be automatically
/// refunded if uncaptured.
/// </summary>
[JsonProperty("capture_before")]
[JsonConverter(typeof(UnixDateTimeConverter))]
public DateTime CaptureBefore { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// Check results by Card networks on Card address and CVC at time of payment.
/// </summary>
Expand Down

0 comments on commit d46618c

Please sign in to comment.