Skip to content

Commit

Permalink
Update generated code for v414
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jul 11, 2023
1 parent ea95df8 commit 24f419a
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v412
v414
6 changes: 6 additions & 0 deletions src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,12 @@ public PaymentMethod PaymentMethod
internal ExpandableField<PaymentMethod> InternalPaymentMethod { get; set; }
#endregion

/// <summary>
/// Information about the payment method configuration used for this PaymentIntent.
/// </summary>
[JsonProperty("payment_method_configuration_details")]
public PaymentIntentPaymentMethodConfigurationDetails PaymentMethodConfigurationDetails { get; set; }

/// <summary>
/// Payment-method-specific configuration for this PaymentIntent.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;

public class PaymentIntentPaymentMethodConfigurationDetails : StripeEntity<PaymentIntentPaymentMethodConfigurationDetails>, IHasId
{
/// <summary>
/// ID of the payment method configuration used.
/// </summary>
[JsonProperty("id")]
public string Id { get; set; }

/// <summary>
/// ID of the parent payment method configuration used.
/// </summary>
[JsonProperty("parent")]
public string Parent { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ public class PaymentIntentCreateOptions : BaseOptions, IHasMetadata
[JsonProperty("payment_method")]
public string PaymentMethod { get; set; }

/// <summary>
/// The ID of the payment method configuration to use with this PaymentIntent.
/// </summary>
[JsonProperty("payment_method_configuration")]
public string PaymentMethodConfiguration { get; set; }

/// <summary>
/// If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod
/// will appear in the <a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ public class PaymentIntentUpdateOptions : BaseOptions, IHasMetadata
[JsonProperty("payment_method")]
public string PaymentMethod { get; set; }

/// <summary>
/// The ID of the payment method configuration to use with this PaymentIntent.
/// </summary>
[JsonProperty("payment_method_configuration")]
public string PaymentMethodConfiguration { get; set; }

/// <summary>
/// If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod
/// will appear in the <a
Expand Down

0 comments on commit 24f419a

Please sign in to comment.