From 9998d081401199e2a58eff8cba79a3906568e323 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:44:15 +0000 Subject: [PATCH] Update generated code for v1405 --- OPENAPI_VERSION | 2 +- src/Stripe.net/Entities/Cards/Card.cs | 10 ++++++++++ src/Stripe.net/Entities/Sources/Source.cs | 10 ++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 786255474a..a7ed76c941 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1401 \ No newline at end of file +v1405 \ No newline at end of file diff --git a/src/Stripe.net/Entities/Cards/Card.cs b/src/Stripe.net/Entities/Cards/Card.cs index 272b3af39c..eb071a63fa 100644 --- a/src/Stripe.net/Entities/Cards/Card.cs +++ b/src/Stripe.net/Entities/Cards/Card.cs @@ -116,6 +116,16 @@ public Account Account [JsonProperty("address_zip_check")] public string AddressZipCheck { get; set; } + /// + /// This field indicates whether this payment method can be shown again to its customer in a + /// checkout flow. Stripe products such as Checkout and Elements use this field to determine + /// whether a payment method can be shown as a saved payment method in a checkout flow. The + /// field defaults to “unspecified”. + /// One of: always, limited, or unspecified. + /// + [JsonProperty("allow_redisplay")] + public string AllowRedisplay { get; set; } + /// /// A set of available payout methods for this card. Only values from this set should be /// passed as the method when creating a payout. diff --git a/src/Stripe.net/Entities/Sources/Source.cs b/src/Stripe.net/Entities/Sources/Source.cs index 5af59c3dc1..8d4bd8b4c0 100644 --- a/src/Stripe.net/Entities/Sources/Source.cs +++ b/src/Stripe.net/Entities/Sources/Source.cs @@ -46,6 +46,16 @@ public class Source : StripeEntity, IHasId, IHasMetadata, IHasObject, IP [JsonProperty("alipay")] public SourceAlipay Alipay { get; set; } + /// + /// This field indicates whether this payment method can be shown again to its customer in a + /// checkout flow. Stripe products such as Checkout and Elements use this field to determine + /// whether a payment method can be shown as a saved payment method in a checkout flow. The + /// field defaults to “unspecified”. + /// One of: always, limited, or unspecified. + /// + [JsonProperty("allow_redisplay")] + public string AllowRedisplay { get; set; } + /// /// A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for /// ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated