Skip to content

Commit

Permalink
Update generated code for v1397
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 9, 2024
1 parent 7b46fc2 commit 6108e92
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1396
v1397
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ namespace Stripe.Terminal

public class ReaderActionCollectPaymentMethod : StripeEntity<ReaderActionCollectPaymentMethod>
{
/// <summary>
/// Account the payment intent belongs to.
/// </summary>
[JsonProperty("account")]
public string Account { get; set; }

/// <summary>
/// Represents a per-transaction override of a reader configuration.
/// </summary>
Expand Down Expand Up @@ -56,6 +62,9 @@ public PaymentIntent PaymentIntent
[JsonProperty("payment_method")]
public PaymentMethod PaymentMethod { get; set; }

/// <summary>
/// This field will be deprecated. Please use <c>account</c> instead.
/// </summary>
[JsonProperty("stripe_account")]
public string StripeAccount { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ namespace Stripe.Terminal

public class ReaderActionConfirmPaymentIntent : StripeEntity<ReaderActionConfirmPaymentIntent>
{
/// <summary>
/// Account the payment intent belongs to.
/// </summary>
[JsonProperty("account")]
public string Account { get; set; }

#region Expandable PaymentIntent

/// <summary>
Expand Down Expand Up @@ -37,6 +43,9 @@ public PaymentIntent PaymentIntent
internal ExpandableField<PaymentIntent> InternalPaymentIntent { get; set; }
#endregion

/// <summary>
/// This field will be deprecated. Please use <c>account</c> instead.
/// </summary>
[JsonProperty("stripe_account")]
public string StripeAccount { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ namespace Stripe.Terminal

public class ReaderActionProcessPaymentIntent : StripeEntity<ReaderActionProcessPaymentIntent>
{
/// <summary>
/// Account the payment intent belongs to.
/// </summary>
[JsonProperty("account")]
public string Account { get; set; }

#region Expandable PaymentIntent

/// <summary>
Expand Down Expand Up @@ -43,6 +49,9 @@ public PaymentIntent PaymentIntent
[JsonProperty("process_config")]
public ReaderActionProcessPaymentIntentProcessConfig ProcessConfig { get; set; }

/// <summary>
/// This field will be deprecated. Please use <c>account</c> instead.
/// </summary>
[JsonProperty("stripe_account")]
public string StripeAccount { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ namespace Stripe.Terminal

public class ReaderActionRefundPayment : StripeEntity<ReaderActionRefundPayment>, IHasMetadata
{
/// <summary>
/// Account the payment intent belongs to.
/// </summary>
[JsonProperty("account")]
public string Account { get; set; }

/// <summary>
/// The amount being refunded.
/// </summary>
Expand Down Expand Up @@ -146,6 +152,9 @@ public Refund Refund
[JsonProperty("reverse_transfer")]
public bool ReverseTransfer { get; set; }

/// <summary>
/// This field will be deprecated. Please use <c>account</c> instead.
/// </summary>
[JsonProperty("stripe_account")]
public string StripeAccount { get; set; }
}
Expand Down

0 comments on commit 6108e92

Please sign in to comment.