From 55e808c144abdf0980e995aef60a0eb9e99eedd8 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:46:01 +0000 Subject: [PATCH] Update generated code for v1405 --- OPENAPI_VERSION | 2 +- src/main/java/com/stripe/model/Card.java | 11 +++++++++++ src/main/java/com/stripe/model/Source.java | 11 +++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 786255474af..a7ed76c941d 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/main/java/com/stripe/model/Card.java b/src/main/java/com/stripe/model/Card.java index 9cf526e288b..ecd01d42e77 100644 --- a/src/main/java/com/stripe/model/Card.java +++ b/src/main/java/com/stripe/model/Card.java @@ -78,6 +78,17 @@ public class Card extends ApiResource @SerializedName("address_zip_check") String addressZipCheck; + /** + * 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 {@code always}, {@code limited}, or {@code unspecified}. + */ + @SerializedName("allow_redisplay") + String allowRedisplay; + /** * A set of available payout methods for this card. Only values from this set should be passed as * the {@code method} when creating a payout. diff --git a/src/main/java/com/stripe/model/Source.java b/src/main/java/com/stripe/model/Source.java index 2c48014c33a..97d0be9e414 100644 --- a/src/main/java/com/stripe/model/Source.java +++ b/src/main/java/com/stripe/model/Source.java @@ -50,6 +50,17 @@ public class Source extends ApiResource implements MetadataStore, Paymen @SerializedName("alipay") Alipay alipay; + /** + * 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 {@code always}, {@code limited}, or {@code unspecified}. + */ + @SerializedName("allow_redisplay") + String allowRedisplay; + /** * 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 with the