From d54dccae29e36f56ce51ad2db5ca07c73617a1bd Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 21:57:29 +0000 Subject: [PATCH 01/11] Update generated code for v1158 --- OPENAPI_VERSION | 2 +- .../com/stripe/model/financialconnections/Account.java | 7 ++++--- .../model/financialconnections/AccountInferredBalance.java | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 0560d3ff738..9ddce71ae54 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1157 \ No newline at end of file +v1158 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/financialconnections/Account.java b/src/main/java/com/stripe/model/financialconnections/Account.java index dce1eecf5c0..763790aa4e0 100644 --- a/src/main/java/com/stripe/model/financialconnections/Account.java +++ b/src/main/java/com/stripe/model/financialconnections/Account.java @@ -608,7 +608,8 @@ public static class Balance extends StripeObject { Credit credit; /** - * The balances owed to (or by) the account holder. + * The balances owed to (or by) the account holder, before subtracting any outbound pending + * transactions or adding any inbound pending transactions. * *
Each key is a three-letter ISO * currency code, in lowercase. @@ -633,8 +634,8 @@ public static class Balance extends StripeObject { @EqualsAndHashCode(callSuper = false) public static class Cash extends StripeObject { /** - * The funds available to the account holder. Typically this is the current balance less any - * holds. + * The funds available to the account holder. Typically this is the current balance after + * subtracting any outbound pending transactions and adding any inbound pending transactions. * *
Each key is a three-letter ISO currency code, in diff --git a/src/main/java/com/stripe/model/financialconnections/AccountInferredBalance.java b/src/main/java/com/stripe/model/financialconnections/AccountInferredBalance.java index 19aedaa661b..eb9e39f2098 100644 --- a/src/main/java/com/stripe/model/financialconnections/AccountInferredBalance.java +++ b/src/main/java/com/stripe/model/financialconnections/AccountInferredBalance.java @@ -33,7 +33,8 @@ public class AccountInferredBalance extends ApiResource implements HasId { Long asOf; /** - * The balances owed to (or by) the account holder. + * The balances owed to (or by) the account holder, before subtracting any outbound pending + * transactions or adding any inbound pending transactions. * *
Each key is a three-letter ISO
* currency code, in lowercase.
From 376cc42da96d8741dd139826b7af4f28b447e97f Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Thu, 25 Jul 2024 23:33:20 +0000
Subject: [PATCH 02/11] Update generated code for v1159
---
OPENAPI_VERSION | 2 +-
src/main/java/com/stripe/model/Charge.java | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 9ddce71ae54..3ed5e1e130c 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1158
\ No newline at end of file
+v1159
\ No newline at end of file
diff --git a/src/main/java/com/stripe/model/Charge.java b/src/main/java/com/stripe/model/Charge.java
index a321e96ee91..2cfbf17f444 100644
--- a/src/main/java/com/stripe/model/Charge.java
+++ b/src/main/java/com/stripe/model/Charge.java
@@ -1574,10 +1574,6 @@ public static class Card extends StripeObject {
@SerializedName("amount_authorized")
Long amountAuthorized;
- /** Authorization code on the charge. */
- @SerializedName("authorization_code")
- String authorizationCode;
-
/**
* Card brand. Can be {@code amex}, {@code diners}, {@code discover}, {@code eftpos_au},
* {@code jcb}, {@code mastercard}, {@code unionpay}, {@code visa}, or {@code unknown}.
From c6c1ce8dd18c1a75553992692051c095e3c27e7d Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 30 Jul 2024 00:17:43 +0000
Subject: [PATCH 03/11] Update generated code for v1161
---
OPENAPI_VERSION | 2 +-
src/main/java/com/stripe/model/Event.java | 9 +++--
.../QuotePreviewSubscriptionSchedule.java | 40 +++++++++++++++++++
.../java/com/stripe/model/Subscription.java | 39 ++++++++++++++++++
.../stripe/model/SubscriptionSchedule.java | 39 ++++++++++++++++++
.../param/WebhookEndpointCreateParams.java | 6 +++
.../param/WebhookEndpointUpdateParams.java | 6 +++
7 files changed, 136 insertions(+), 5 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 3ed5e1e130c..83f499e087f 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1159
\ No newline at end of file
+v1161
\ No newline at end of file
diff --git a/src/main/java/com/stripe/model/Event.java b/src/main/java/com/stripe/model/Event.java
index ace21983436..ae041da6bbb 100644
--- a/src/main/java/com/stripe/model/Event.java
+++ b/src/main/java/com/stripe/model/Event.java
@@ -142,7 +142,8 @@ public class Event extends ApiResource implements HasId {
* {@code customer.subscription.created}, {@code customer.subscription.custom_event}, {@code
* customer.subscription.deleted}, {@code customer.subscription.paused}, {@code
* customer.subscription.pending_update_applied}, {@code
- * customer.subscription.pending_update_expired}, {@code customer.subscription.resumed}, {@code
+ * customer.subscription.pending_update_expired}, {@code
+ * customer.subscription.price_migration_failed}, {@code customer.subscription.resumed}, {@code
* customer.subscription.trial_will_end}, {@code customer.subscription.updated}, {@code
* customer.tax_id.created}, {@code customer.tax_id.deleted}, {@code customer.tax_id.updated},
* {@code customer.updated}, {@code customer_cash_balance_transaction.created}, {@code
@@ -201,9 +202,9 @@ public class Event extends ApiResource implements HasId {
* source.transaction.updated}, {@code subscription_schedule.aborted}, {@code
* subscription_schedule.canceled}, {@code subscription_schedule.completed}, {@code
* subscription_schedule.created}, {@code subscription_schedule.expiring}, {@code
- * subscription_schedule.released}, {@code subscription_schedule.updated}, {@code
- * tax.form.updated}, {@code tax.settings.updated}, {@code tax_rate.created}, {@code
- * tax_rate.updated}, {@code terminal.reader.action_failed}, {@code
+ * subscription_schedule.price_migration_failed}, {@code subscription_schedule.released}, {@code
+ * subscription_schedule.updated}, {@code tax.form.updated}, {@code tax.settings.updated}, {@code
+ * tax_rate.created}, {@code tax_rate.updated}, {@code terminal.reader.action_failed}, {@code
* terminal.reader.action_succeeded}, {@code terminal.reader.action_updated}, {@code
* test_helpers.test_clock.advancing}, {@code test_helpers.test_clock.created}, {@code
* test_helpers.test_clock.deleted}, {@code test_helpers.test_clock.internal_failure}, {@code
diff --git a/src/main/java/com/stripe/model/QuotePreviewSubscriptionSchedule.java b/src/main/java/com/stripe/model/QuotePreviewSubscriptionSchedule.java
index 3c6094870d5..154c019b96d 100644
--- a/src/main/java/com/stripe/model/QuotePreviewSubscriptionSchedule.java
+++ b/src/main/java/com/stripe/model/QuotePreviewSubscriptionSchedule.java
@@ -94,6 +94,10 @@ public class QuotePreviewSubscriptionSchedule extends ApiResource implements Has
@SerializedName("id")
String id;
+ /** Details of the most recent price migration that failed for the subscription schedule. */
+ @SerializedName("last_price_migration_error")
+ LastPriceMigrationError lastPriceMigrationError;
+
/**
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
* object exists in test mode.
@@ -649,6 +653,41 @@ public void setDestinationObject(Account expandableObject) {
}
}
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class LastPriceMigrationError extends StripeObject {
+ /** The time at which the price migration encountered an error. */
+ @SerializedName("errored_at")
+ Long erroredAt;
+
+ /** The involved price pairs in each failed transition. */
+ @SerializedName("failed_transitions")
+ List Equal to {@code price_uniqueness_violation}.
+ */
+ @SerializedName("type")
+ String type;
+
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class FailedTransition extends StripeObject {
+ /** The original price to be migrated. */
+ @SerializedName("source_price")
+ String sourcePrice;
+
+ /** The intended resulting price of the migration. */
+ @SerializedName("target_price")
+ String targetPrice;
+ }
+ }
+
/**
* A phase describes the plans, coupon, and trialing status of a subscription for a predefined
* time period.
@@ -1671,6 +1710,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(currentPhase, responseGetter);
trySetResponseGetter(customer, responseGetter);
trySetResponseGetter(defaultSettings, responseGetter);
+ trySetResponseGetter(lastPriceMigrationError, responseGetter);
trySetResponseGetter(prebilling, responseGetter);
trySetResponseGetter(subscription, responseGetter);
trySetResponseGetter(testClock, responseGetter);
diff --git a/src/main/java/com/stripe/model/Subscription.java b/src/main/java/com/stripe/model/Subscription.java
index 9124e5ccdb2..912cf5fc0e6 100644
--- a/src/main/java/com/stripe/model/Subscription.java
+++ b/src/main/java/com/stripe/model/Subscription.java
@@ -220,6 +220,10 @@ public class Subscription extends ApiResource implements HasId, MetadataStore Equal to {@code price_uniqueness_violation}.
+ */
+ @SerializedName("type")
+ String type;
+
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class FailedTransition extends StripeObject {
+ /** The original price to be migrated. */
+ @SerializedName("source_price")
+ String sourcePrice;
+
+ /** The intended resulting price of the migration. */
+ @SerializedName("target_price")
+ String targetPrice;
+ }
+ }
+
/**
* The Pause Collection settings determine how we will pause collection for this subscription and
* for how long the subscription should be paused.
@@ -2019,6 +2057,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(discount, responseGetter);
trySetResponseGetter(invoiceSettings, responseGetter);
trySetResponseGetter(items, responseGetter);
+ trySetResponseGetter(lastPriceMigrationError, responseGetter);
trySetResponseGetter(latestInvoice, responseGetter);
trySetResponseGetter(onBehalfOf, responseGetter);
trySetResponseGetter(pauseCollection, responseGetter);
diff --git a/src/main/java/com/stripe/model/SubscriptionSchedule.java b/src/main/java/com/stripe/model/SubscriptionSchedule.java
index df852c7352b..e4a8f1db047 100644
--- a/src/main/java/com/stripe/model/SubscriptionSchedule.java
+++ b/src/main/java/com/stripe/model/SubscriptionSchedule.java
@@ -106,6 +106,10 @@ public class SubscriptionSchedule extends ApiResource
@SerializedName("id")
String id;
+ /** Details of the most recent price migration that failed for the subscription schedule. */
+ @SerializedName("last_price_migration_error")
+ LastPriceMigrationError lastPriceMigrationError;
+
/**
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
* object exists in test mode.
@@ -980,6 +984,40 @@ public void setDestinationObject(Account expandableObject) {
}
}
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class LastPriceMigrationError extends StripeObject {
+ /** The time at which the price migration encountered an error. */
+ @SerializedName("errored_at")
+ Long erroredAt;
+
+ /** The involved price pairs in each failed transition. */
+ @SerializedName("failed_transitions")
+ List Equal to {@code price_uniqueness_violation}.
+ */
+ @SerializedName("type")
+ String type;
+
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class FailedTransition extends StripeObject {
+ /** The original price to be migrated. */
+ @SerializedName("source_price")
+ String sourcePrice;
+
+ /** The intended resulting price of the migration. */
+ @SerializedName("target_price")
+ String targetPrice;
+ }
+ }
+
/**
* A phase describes the plans, coupon, and trialing status of a subscription for a predefined
* time period.
@@ -2001,6 +2039,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(currentPhase, responseGetter);
trySetResponseGetter(customer, responseGetter);
trySetResponseGetter(defaultSettings, responseGetter);
+ trySetResponseGetter(lastPriceMigrationError, responseGetter);
trySetResponseGetter(prebilling, responseGetter);
trySetResponseGetter(subscription, responseGetter);
trySetResponseGetter(testClock, responseGetter);
diff --git a/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java b/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java
index a8eef1ed6e3..0f44c690609 100644
--- a/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java
+++ b/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java
@@ -822,6 +822,9 @@ public enum EnabledEvent implements ApiRequestParams.EnumParam {
@SerializedName("customer.subscription.pending_update_expired")
CUSTOMER__SUBSCRIPTION__PENDING_UPDATE_EXPIRED("customer.subscription.pending_update_expired"),
+ @SerializedName("customer.subscription.price_migration_failed")
+ CUSTOMER__SUBSCRIPTION__PRICE_MIGRATION_FAILED("customer.subscription.price_migration_failed"),
+
@SerializedName("customer.subscription.resumed")
CUSTOMER__SUBSCRIPTION__RESUMED("customer.subscription.resumed"),
@@ -1235,6 +1238,9 @@ public enum EnabledEvent implements ApiRequestParams.EnumParam {
@SerializedName("subscription_schedule.expiring")
SUBSCRIPTION_SCHEDULE__EXPIRING("subscription_schedule.expiring"),
+ @SerializedName("subscription_schedule.price_migration_failed")
+ SUBSCRIPTION_SCHEDULE__PRICE_MIGRATION_FAILED("subscription_schedule.price_migration_failed"),
+
@SerializedName("subscription_schedule.released")
SUBSCRIPTION_SCHEDULE__RELEASED("subscription_schedule.released"),
diff --git a/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java b/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java
index 9b5407df5f9..c58d918987b 100644
--- a/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java
+++ b/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java
@@ -486,6 +486,9 @@ public enum EnabledEvent implements ApiRequestParams.EnumParam {
@SerializedName("customer.subscription.pending_update_expired")
CUSTOMER__SUBSCRIPTION__PENDING_UPDATE_EXPIRED("customer.subscription.pending_update_expired"),
+ @SerializedName("customer.subscription.price_migration_failed")
+ CUSTOMER__SUBSCRIPTION__PRICE_MIGRATION_FAILED("customer.subscription.price_migration_failed"),
+
@SerializedName("customer.subscription.resumed")
CUSTOMER__SUBSCRIPTION__RESUMED("customer.subscription.resumed"),
@@ -899,6 +902,9 @@ public enum EnabledEvent implements ApiRequestParams.EnumParam {
@SerializedName("subscription_schedule.expiring")
SUBSCRIPTION_SCHEDULE__EXPIRING("subscription_schedule.expiring"),
+ @SerializedName("subscription_schedule.price_migration_failed")
+ SUBSCRIPTION_SCHEDULE__PRICE_MIGRATION_FAILED("subscription_schedule.price_migration_failed"),
+
@SerializedName("subscription_schedule.released")
SUBSCRIPTION_SCHEDULE__RELEASED("subscription_schedule.released"),
From 62ff9f2f98b3ac5ade049c8f1f7c7b9c31473666 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Tue, 30 Jul 2024 00:53:51 +0000
Subject: [PATCH 04/11] Update generated code for v1162
---
OPENAPI_VERSION | 2 +-
.../stripe/param/PaymentIntentUpdateParams.java | 15 ---------------
.../com/stripe/param/SetupIntentUpdateParams.java | 6 +++---
3 files changed, 4 insertions(+), 19 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 83f499e087f..2057f98b863 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1161
\ No newline at end of file
+v1162
\ No newline at end of file
diff --git a/src/main/java/com/stripe/param/PaymentIntentUpdateParams.java b/src/main/java/com/stripe/param/PaymentIntentUpdateParams.java
index f2467770c39..9371f7fc362 100644
--- a/src/main/java/com/stripe/param/PaymentIntentUpdateParams.java
+++ b/src/main/java/com/stripe/param/PaymentIntentUpdateParams.java
@@ -96,11 +96,6 @@ public class PaymentIntentUpdateParams extends ApiRequestParams {
@SerializedName("payment_details")
Object paymentDetails;
- /**
- * ID of the payment method (a PaymentMethod, Card, or compatible
- * Source object) to attach to this PaymentIntent.
- */
@SerializedName("payment_method")
Object paymentMethod;
@@ -559,21 +554,11 @@ public Builder setPaymentDetails(EmptyParam paymentDetails) {
return this;
}
- /**
- * ID of the payment method (a PaymentMethod, Card, or compatible
- * Source object) to attach to this PaymentIntent.
- */
public Builder setPaymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
return this;
}
- /**
- * ID of the payment method (a PaymentMethod, Card, or compatible
- * Source object) to attach to this PaymentIntent.
- */
public Builder setPaymentMethod(EmptyParam paymentMethod) {
this.paymentMethod = paymentMethod;
return this;
diff --git a/src/main/java/com/stripe/param/SetupIntentUpdateParams.java b/src/main/java/com/stripe/param/SetupIntentUpdateParams.java
index d87b460e161..9561aa6285f 100644
--- a/src/main/java/com/stripe/param/SetupIntentUpdateParams.java
+++ b/src/main/java/com/stripe/param/SetupIntentUpdateParams.java
@@ -70,7 +70,7 @@ public class SetupIntentUpdateParams extends ApiRequestParams {
/**
* ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this
- * SetupIntent.
+ * SetupIntent. To unset this field to null, pass in an empty string.
*/
@SerializedName("payment_method")
Object paymentMethod;
@@ -351,7 +351,7 @@ public Builder setMetadata(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as Payment methods attached to other Customers cannot be used with this PaymentIntent.
*
- * If present in combination with setup_future_usage,
- * this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent
- * has been confirmed and any required actions from the user are complete.
+ * If setup_future_usage
+ * is set and this PaymentIntent's payment method is not {@code card_present}, then the payment
+ * method attaches to the Customer after the PaymentIntent has been confirmed and any required
+ * actions from the user are complete. If the payment method is {@code card_present} and isn't a
+ * digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
*/
@SerializedName("customer")
@Getter(lombok.AccessLevel.NONE)
@@ -304,6 +308,10 @@ public class PaymentIntent extends ApiResource implements HasId, MetadataStore attached If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
@@ -2892,6 +2900,10 @@ public static class AcssDebit extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2969,6 +2981,10 @@ public static class Affirm extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3010,6 +3026,10 @@ public static class AfterpayClearpay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3035,6 +3055,10 @@ public static class Alipay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3068,6 +3092,10 @@ public static class AmazonPay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3093,6 +3121,10 @@ public static class AuBecsDebit extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3118,6 +3150,10 @@ public static class BacsDebit extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3151,6 +3187,10 @@ public static class Bancontact extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3176,6 +3216,10 @@ public static class Blik extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3209,6 +3253,10 @@ public static class Boleto extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3333,6 +3381,10 @@ public static class Card extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3598,6 +3650,10 @@ public static class Cashapp extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3635,6 +3691,10 @@ public static class CustomerBalance extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3703,6 +3763,10 @@ public static class Eps extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3728,6 +3792,10 @@ public static class Fpx extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3753,6 +3821,10 @@ public static class Giropay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3778,6 +3850,10 @@ public static class Grabpay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3803,6 +3879,10 @@ public static class Ideal extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3845,6 +3925,10 @@ public static class Klarna extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3900,6 +3984,10 @@ public static class Konbini extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3938,6 +4026,10 @@ public static class Link extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3971,6 +4063,10 @@ public static class Mobilepay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -3996,6 +4092,10 @@ public static class Multibanco extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4029,6 +4129,10 @@ public static class Oxxo extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4054,6 +4158,10 @@ public static class P24 extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4079,6 +4187,10 @@ public static class Paynow extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4132,6 +4244,10 @@ public static class Paypal extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4169,6 +4285,10 @@ public static class Payto extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4256,6 +4376,10 @@ public static class Pix extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4281,6 +4405,10 @@ public static class Promptpay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4323,6 +4451,10 @@ public static class RevolutPay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4351,6 +4483,10 @@ public static class SepaDebit extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4390,6 +4526,10 @@ public static class Sofort extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4419,6 +4559,10 @@ public static class Swish extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4444,6 +4588,10 @@ public static class Twint extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4483,6 +4631,10 @@ public static class UsBankAccount extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4599,6 +4751,10 @@ public static class WechatPay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -4624,6 +4780,10 @@ public static class Zip extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
diff --git a/src/main/java/com/stripe/model/SetupIntent.java b/src/main/java/com/stripe/model/SetupIntent.java
index d3a759b9287..7cb13782c78 100644
--- a/src/main/java/com/stripe/model/SetupIntent.java
+++ b/src/main/java/com/stripe/model/SetupIntent.java
@@ -183,7 +183,12 @@ public class SetupIntent extends ApiResource implements HasId, MetadataStore If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1632,6 +1636,10 @@ public static class Affirm extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1657,6 +1665,10 @@ public static class AfterpayClearpay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1682,6 +1694,10 @@ public static class Alipay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1707,6 +1723,10 @@ public static class AmazonPay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1732,6 +1752,10 @@ public static class AuBecsDebit extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1757,6 +1781,10 @@ public static class BacsDebit extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1782,6 +1810,10 @@ public static class Bancontact extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1815,6 +1847,10 @@ public static class Boleto extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1859,6 +1895,10 @@ public static class Card extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1913,6 +1953,10 @@ public static class Cashapp extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -1950,6 +1994,10 @@ public static class CustomerBalance extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2018,6 +2066,10 @@ public static class Eps extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2043,6 +2095,10 @@ public static class Fpx extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2068,6 +2124,10 @@ public static class Giropay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2093,6 +2153,10 @@ public static class Grabpay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2118,6 +2182,10 @@ public static class Ideal extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2143,6 +2211,10 @@ public static class Klarna extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2177,6 +2249,10 @@ public static class Konbini extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2202,6 +2278,10 @@ public static class Link extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2227,6 +2307,10 @@ public static class Mobilepay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2252,6 +2336,10 @@ public static class Multibanco extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2285,6 +2373,10 @@ public static class Oxxo extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2310,6 +2402,10 @@ public static class P24 extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2335,6 +2431,10 @@ public static class Paynow extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2380,6 +2480,10 @@ public static class Paypal extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2423,6 +2527,10 @@ public static class RevolutPay extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2448,6 +2556,10 @@ public static class SepaDebit extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2473,6 +2585,10 @@ public static class Sofort extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -2513,6 +2629,10 @@ public static class UsBankAccount extends StripeObject {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
diff --git a/src/main/java/com/stripe/param/OrderCreateParams.java b/src/main/java/com/stripe/param/OrderCreateParams.java
index 8725bc42e3b..c812c860a58 100644
--- a/src/main/java/com/stripe/param/OrderCreateParams.java
+++ b/src/main/java/com/stripe/param/OrderCreateParams.java
@@ -2772,13 +2772,17 @@ public static class AcssDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -2871,13 +2875,18 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -2899,13 +2908,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -3382,13 +3396,17 @@ public static class Alipay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -3457,13 +3475,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -3485,13 +3508,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -3547,13 +3575,17 @@ public static class Bancontact {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -3638,13 +3670,18 @@ public Builder setPreferredLanguage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -3666,13 +3703,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -3924,13 +3966,17 @@ public static class CustomerBalance {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -4030,13 +4076,18 @@ public Builder setFundingType(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -4404,13 +4455,17 @@ public static class Ideal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -4479,13 +4534,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -4507,13 +4567,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -4581,13 +4646,17 @@ public static class Klarna {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -4713,13 +4782,18 @@ public Builder setPreferredLocale(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -4944,13 +5018,17 @@ public static class Link {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5072,13 +5150,18 @@ public Builder setPersistentToken(String persistentToken) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5100,13 +5183,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -5175,13 +5263,17 @@ public static class Oxxo {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5265,13 +5357,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5319,13 +5416,17 @@ public static class P24 {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5403,13 +5504,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5496,13 +5602,17 @@ public static class Paypal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5666,13 +5776,18 @@ public Builder setRiskCorrelationId(String riskCorrelationId) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5694,13 +5809,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -5866,13 +5986,17 @@ public static class SepaDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5954,13 +6078,18 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5982,13 +6111,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -6107,13 +6241,17 @@ public static class Sofort {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -6201,13 +6339,18 @@ public Builder setPreferredLanguage(EmptyParam preferredLanguage) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -6229,13 +6372,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -6322,13 +6470,17 @@ public static class WechatPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -6421,13 +6573,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
diff --git a/src/main/java/com/stripe/param/OrderUpdateParams.java b/src/main/java/com/stripe/param/OrderUpdateParams.java
index a196da7a12e..48276518e14 100644
--- a/src/main/java/com/stripe/param/OrderUpdateParams.java
+++ b/src/main/java/com/stripe/param/OrderUpdateParams.java
@@ -3219,13 +3219,17 @@ public static class AcssDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -3318,13 +3322,18 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -3346,13 +3355,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -3848,13 +3862,17 @@ public static class Alipay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -3923,13 +3941,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -3951,13 +3974,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -4013,13 +4041,17 @@ public static class Bancontact {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -4104,13 +4136,18 @@ public Builder setPreferredLanguage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -4132,13 +4169,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -4390,13 +4432,17 @@ public static class CustomerBalance {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -4496,13 +4542,18 @@ public Builder setFundingType(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -4880,13 +4931,17 @@ public static class Ideal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -4955,13 +5010,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -4983,13 +5043,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -5057,13 +5122,17 @@ public static class Klarna {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5189,13 +5258,18 @@ public Builder setPreferredLocale(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5420,13 +5494,17 @@ public static class Link {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5555,13 +5633,18 @@ public Builder setPersistentToken(EmptyParam persistentToken) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5583,13 +5666,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -5658,13 +5746,17 @@ public static class Oxxo {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5748,13 +5840,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5802,13 +5899,17 @@ public static class P24 {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -5886,13 +5987,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -5979,13 +6085,17 @@ public static class Paypal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -6178,13 +6288,18 @@ public Builder setRiskCorrelationId(EmptyParam riskCorrelationId) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -6206,13 +6321,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -6378,13 +6498,17 @@ public static class SepaDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -6466,13 +6590,18 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -6494,13 +6623,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -6619,13 +6753,17 @@ public static class Sofort {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -6713,13 +6851,18 @@ public Builder setPreferredLanguage(EmptyParam preferredLanguage) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
@@ -6741,13 +6884,18 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -6834,13 +6982,17 @@ public static class WechatPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using
- * a publishable key, you may only update the value from {@code on_session} to {@code
+ * a publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -6941,13 +7093,18 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a
+ * generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and
* network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request
- * using a publishable key, you may only update the value from {@code on_session} to
+ * using a publishable key, you can only update the value from {@code on_session} to
* {@code off_session}.
*/
public Builder setSetupFutureUsage(
diff --git a/src/main/java/com/stripe/param/PaymentIntentConfirmParams.java b/src/main/java/com/stripe/param/PaymentIntentConfirmParams.java
index 64c03408b83..f2f196e91c2 100644
--- a/src/main/java/com/stripe/param/PaymentIntentConfirmParams.java
+++ b/src/main/java/com/stripe/param/PaymentIntentConfirmParams.java
@@ -145,12 +145,16 @@ public class PaymentIntentConfirmParams extends ApiRequestParams {
* be attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code off_session}.
+ * publishable key, you can only update the value from {@code on_session} to {@code off_session}.
*/
@SerializedName("setup_future_usage")
ApiRequestParams.EnumParam setupFutureUsage;
@@ -551,12 +555,16 @@ public Builder setReturnUrl(String returnUrl) {
* can still be attached to a
* Customer after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -575,12 +583,16 @@ public Builder setSetupFutureUsage(
* can still be attached to a
* Customer after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -11332,12 +11344,16 @@ public static class AcssDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -11428,12 +11444,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -11455,12 +11475,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -11741,12 +11765,16 @@ public static class Affirm {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -11861,12 +11889,16 @@ public Builder setPreferredLocale(String preferredLocale) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -11945,12 +11977,16 @@ public static class AfterpayClearpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12070,12 +12106,16 @@ public Builder setReference(String reference) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12133,12 +12173,16 @@ public static class Alipay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12204,12 +12248,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12231,12 +12279,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -12296,6 +12348,10 @@ public static class AmazonPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -12400,6 +12456,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -12423,6 +12483,10 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -12483,12 +12547,16 @@ public static class AuBecsDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12555,12 +12623,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12582,12 +12654,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -12637,12 +12713,16 @@ public static class BacsDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12709,12 +12789,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12736,12 +12820,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -12797,12 +12885,16 @@ public static class Bancontact {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12885,12 +12977,16 @@ public Builder setPreferredLanguage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12912,12 +13008,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -12992,12 +13092,16 @@ public static class Blik {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13078,12 +13182,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13105,12 +13213,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13162,12 +13274,16 @@ public static class Boleto {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13249,12 +13365,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13276,12 +13396,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13439,12 +13563,16 @@ public static class Card {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13797,12 +13925,16 @@ public Builder setRequireCvcRecollection(Boolean requireCvcRecollection) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13824,12 +13956,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -15726,12 +15862,16 @@ public static class Cashapp {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -15834,12 +15974,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -15861,12 +16005,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -15942,12 +16090,16 @@ public static class CustomerBalance {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16047,12 +16199,16 @@ public Builder setFundingType(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16414,12 +16570,16 @@ public static class Eps {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16485,12 +16645,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16535,12 +16699,16 @@ public static class Fpx {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16606,12 +16774,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16656,12 +16828,16 @@ public static class Giropay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16727,12 +16903,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16778,12 +16958,16 @@ public static class Grabpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16849,12 +17033,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16900,12 +17088,16 @@ public static class Ideal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16971,12 +17163,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16998,12 +17194,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -17127,12 +17327,16 @@ public static class Klarna {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17249,12 +17453,16 @@ public Builder setPreferredLocale(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17490,12 +17698,16 @@ public static class Konbini {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17662,12 +17874,16 @@ public Builder setProductDescription(EmptyParam productDescription) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17731,12 +17947,16 @@ public static class Link {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17850,12 +18070,16 @@ public Builder setPersistentToken(String persistentToken) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17877,12 +18101,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -17954,12 +18182,16 @@ public static class Mobilepay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18062,12 +18294,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18125,12 +18361,16 @@ public static class Multibanco {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18196,12 +18436,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18255,12 +18499,16 @@ public static class Oxxo {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18342,12 +18590,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18393,12 +18645,16 @@ public static class P24 {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18474,12 +18730,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18530,12 +18790,16 @@ public static class Paynow {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18601,12 +18865,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18683,12 +18951,16 @@ public static class Paypal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18848,12 +19120,16 @@ public Builder setRiskCorrelationId(String riskCorrelationId) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18875,12 +19151,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -19047,12 +19327,16 @@ public static class Payto {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19135,12 +19419,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19162,12 +19450,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -19502,12 +19794,16 @@ public static class Pix {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19601,12 +19897,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19651,12 +19951,16 @@ public static class Promptpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19722,12 +20026,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19857,6 +20165,10 @@ public static class RevolutPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -19962,6 +20274,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -19985,6 +20301,10 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -20049,12 +20369,16 @@ public static class SepaDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20134,12 +20458,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20161,12 +20489,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -20281,12 +20613,16 @@ public static class Sofort {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20372,12 +20708,16 @@ public Builder setPreferredLanguage(EmptyParam preferredLanguage) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20399,12 +20739,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -20485,12 +20829,16 @@ public static class Swish {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20572,12 +20920,16 @@ public Builder setReference(EmptyParam reference) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20623,12 +20975,16 @@ public static class Twint {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20694,12 +21050,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20761,12 +21121,16 @@ public static class UsBankAccount {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20903,12 +21267,16 @@ public Builder setPreferredSettlementSpeed(EmptyParam preferredSettlementSpeed)
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20930,12 +21298,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -21781,12 +22153,16 @@ public static class WechatPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -21875,12 +22251,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21944,12 +22324,16 @@ public static class Zip {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -22015,12 +22399,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
diff --git a/src/main/java/com/stripe/param/PaymentIntentCreateParams.java b/src/main/java/com/stripe/param/PaymentIntentCreateParams.java
index 82abde4afce..c02a7f8c85a 100644
--- a/src/main/java/com/stripe/param/PaymentIntentCreateParams.java
+++ b/src/main/java/com/stripe/param/PaymentIntentCreateParams.java
@@ -89,10 +89,14 @@ public class PaymentIntentCreateParams extends ApiRequestParams {
*
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
*
- * If present in combination with setup_future_usage,
- * this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent
- * has been confirmed and any required actions from the user are complete.
+ * If setup_future_usage
+ * is set and this PaymentIntent's payment method is not {@code card_present}, then the payment
+ * method attaches to the Customer after the PaymentIntent has been confirmed and any required
+ * actions from the user are complete. If the payment method is {@code card_present} and isn't a
+ * digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
*/
@SerializedName("customer")
String customer;
@@ -254,6 +258,10 @@ public class PaymentIntentCreateParams extends ApiRequestParams {
* be attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
@@ -596,10 +604,14 @@ public Builder setCurrency(String currency) {
*
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
*
- * If present in combination with setup_future_usage,
- * this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent
- * has been confirmed and any required actions from the user are complete.
+ * If setup_future_usage
+ * is set and this PaymentIntent's payment method is not {@code card_present}, then the payment
+ * method attaches to the Customer after the PaymentIntent has been confirmed and any required
+ * actions from the user are complete. If the payment method is {@code card_present} and isn't a
+ * digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
*/
public Builder setCustomer(String customer) {
this.customer = customer;
@@ -895,6 +907,10 @@ public Builder setSecretKeyConfirmation(
* can still be attached to a
* Customer after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
@@ -11796,12 +11812,16 @@ public static class AcssDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -11892,12 +11912,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -11919,12 +11943,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -12205,12 +12233,16 @@ public static class Affirm {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12325,12 +12357,16 @@ public Builder setPreferredLocale(String preferredLocale) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12409,12 +12445,16 @@ public static class AfterpayClearpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12534,12 +12574,16 @@ public Builder setReference(String reference) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12597,12 +12641,16 @@ public static class Alipay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12668,12 +12716,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12695,12 +12747,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -12760,6 +12816,10 @@ public static class AmazonPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -12864,6 +12924,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -12887,6 +12951,10 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -12947,12 +13015,16 @@ public static class AuBecsDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13019,12 +13091,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13046,12 +13122,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13101,12 +13181,16 @@ public static class BacsDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13173,12 +13257,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13200,12 +13288,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13261,12 +13353,16 @@ public static class Bancontact {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13349,12 +13445,16 @@ public Builder setPreferredLanguage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13376,12 +13476,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13456,12 +13560,16 @@ public static class Blik {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13542,12 +13650,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13568,12 +13680,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13625,12 +13741,16 @@ public static class Boleto {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13712,12 +13832,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13739,12 +13863,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13902,12 +14030,16 @@ public static class Card {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -14260,12 +14392,16 @@ public Builder setRequireCvcRecollection(Boolean requireCvcRecollection) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -14286,12 +14422,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -16185,12 +16325,16 @@ public static class Cashapp {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16293,12 +16437,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16320,12 +16468,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -16401,12 +16553,16 @@ public static class CustomerBalance {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16506,12 +16662,16 @@ public Builder setFundingType(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16873,12 +17033,16 @@ public static class Eps {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16944,12 +17108,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16994,12 +17162,16 @@ public static class Fpx {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17065,12 +17237,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17115,12 +17291,16 @@ public static class Giropay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17186,12 +17366,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17237,12 +17421,16 @@ public static class Grabpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17308,12 +17496,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17359,12 +17551,16 @@ public static class Ideal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17430,12 +17626,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17457,12 +17657,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -17586,12 +17790,16 @@ public static class Klarna {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17707,12 +17915,16 @@ public Builder setPreferredLocale(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17948,12 +18160,16 @@ public static class Konbini {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18120,12 +18336,16 @@ public Builder setProductDescription(EmptyParam productDescription) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18189,12 +18409,16 @@ public static class Link {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18308,12 +18532,16 @@ public Builder setPersistentToken(String persistentToken) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18334,12 +18562,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -18411,12 +18643,16 @@ public static class Mobilepay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18519,12 +18755,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18582,12 +18822,16 @@ public static class Multibanco {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18653,12 +18897,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18712,12 +18960,16 @@ public static class Oxxo {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18799,12 +19051,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18849,12 +19105,16 @@ public static class P24 {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18930,12 +19190,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18986,12 +19250,16 @@ public static class Paynow {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19057,12 +19325,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19139,12 +19411,16 @@ public static class Paypal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19303,12 +19579,16 @@ public Builder setRiskCorrelationId(String riskCorrelationId) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19330,12 +19610,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -19502,12 +19786,16 @@ public static class Payto {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19590,12 +19878,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19617,12 +19909,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -19956,12 +20252,16 @@ public static class Pix {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20055,12 +20355,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20105,12 +20409,16 @@ public static class Promptpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20176,12 +20484,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20311,6 +20623,10 @@ public static class RevolutPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -20415,6 +20731,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -20438,6 +20758,10 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -20502,12 +20826,16 @@ public static class SepaDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20587,12 +20915,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20614,12 +20946,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -20734,12 +21070,16 @@ public static class Sofort {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20825,12 +21165,16 @@ public Builder setPreferredLanguage(EmptyParam preferredLanguage) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20852,12 +21196,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -20938,12 +21286,16 @@ public static class Swish {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -21025,12 +21377,16 @@ public Builder setReference(EmptyParam reference) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21076,12 +21432,16 @@ public static class Twint {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -21147,12 +21507,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21214,12 +21578,16 @@ public static class UsBankAccount {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -21354,12 +21722,16 @@ public Builder setPreferredSettlementSpeed(EmptyParam preferredSettlementSpeed)
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21381,12 +21753,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -22232,12 +22608,16 @@ public static class WechatPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -22326,12 +22706,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -22395,12 +22779,16 @@ public static class Zip {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -22466,12 +22854,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
diff --git a/src/main/java/com/stripe/param/PaymentIntentUpdateParams.java b/src/main/java/com/stripe/param/PaymentIntentUpdateParams.java
index 9371f7fc362..b015d68e1c1 100644
--- a/src/main/java/com/stripe/param/PaymentIntentUpdateParams.java
+++ b/src/main/java/com/stripe/param/PaymentIntentUpdateParams.java
@@ -54,10 +54,14 @@ public class PaymentIntentUpdateParams extends ApiRequestParams {
*
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
*
- * If present in combination with setup_future_usage,
- * this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent
- * has been confirmed and any required actions from the user are complete.
+ * If setup_future_usage
+ * is set and this PaymentIntent's payment method is not {@code card_present}, then the payment
+ * method attaches to the Customer after the PaymentIntent has been confirmed and any required
+ * actions from the user are complete. If the payment method is {@code card_present} and isn't a
+ * digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
*/
@SerializedName("customer")
Object customer;
@@ -142,12 +146,16 @@ public class PaymentIntentUpdateParams extends ApiRequestParams {
* be attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code off_session}.
+ * publishable key, you can only update the value from {@code on_session} to {@code off_session}.
*/
@SerializedName("setup_future_usage")
ApiRequestParams.EnumParam setupFutureUsage;
@@ -397,10 +405,14 @@ public Builder setCurrency(EmptyParam currency) {
*
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
*
- * If present in combination with setup_future_usage,
- * this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent
- * has been confirmed and any required actions from the user are complete.
+ * If setup_future_usage
+ * is set and this PaymentIntent's payment method is not {@code card_present}, then the payment
+ * method attaches to the Customer after the PaymentIntent has been confirmed and any required
+ * actions from the user are complete. If the payment method is {@code card_present} and isn't a
+ * digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
*/
public Builder setCustomer(String customer) {
this.customer = customer;
@@ -412,10 +424,14 @@ public Builder setCustomer(String customer) {
*
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
*
- * If present in combination with setup_future_usage,
- * this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent
- * has been confirmed and any required actions from the user are complete.
+ * If setup_future_usage
+ * is set and this PaymentIntent's payment method is not {@code card_present}, then the payment
+ * method attaches to the Customer after the PaymentIntent has been confirmed and any required
+ * actions from the user are complete. If the payment method is {@code card_present} and isn't a
+ * digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
*/
public Builder setCustomer(EmptyParam customer) {
this.customer = customer;
@@ -651,12 +667,16 @@ public Builder setReceiptEmail(EmptyParam receiptEmail) {
* can still be attached to a
* Customer after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -675,12 +695,16 @@ public Builder setSetupFutureUsage(
* can still be attached to a
* Customer after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to dynamically
* optimize your payment flow and comply with regional legislation and network rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -11979,12 +12003,16 @@ public static class AcssDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12075,12 +12103,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12102,12 +12134,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -12397,12 +12433,16 @@ public static class Affirm {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12525,12 +12565,16 @@ public Builder setPreferredLocale(EmptyParam preferredLocale) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12609,12 +12653,16 @@ public static class AfterpayClearpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12744,12 +12792,16 @@ public Builder setReference(EmptyParam reference) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12807,12 +12859,16 @@ public static class Alipay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -12878,12 +12934,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -12905,12 +12965,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -12970,6 +13034,10 @@ public static class AmazonPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -13074,6 +13142,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -13097,6 +13169,10 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -13157,12 +13233,16 @@ public static class AuBecsDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13229,12 +13309,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13256,12 +13340,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13311,12 +13399,16 @@ public static class BacsDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13383,12 +13475,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13410,12 +13506,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13471,12 +13571,16 @@ public static class Bancontact {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13559,12 +13663,16 @@ public Builder setPreferredLanguage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13586,12 +13694,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13666,12 +13778,16 @@ public static class Blik {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13761,12 +13877,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13787,12 +13907,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -13844,12 +13968,16 @@ public static class Boleto {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -13931,12 +14059,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -13958,12 +14090,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -14121,12 +14257,16 @@ public static class Card {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -14489,12 +14629,16 @@ public Builder setRequireCvcRecollection(Boolean requireCvcRecollection) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -14515,12 +14659,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -16513,12 +16661,16 @@ public static class Cashapp {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16621,12 +16773,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -16648,12 +16804,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -16729,12 +16889,16 @@ public static class CustomerBalance {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -16834,12 +16998,16 @@ public Builder setFundingType(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17211,12 +17379,16 @@ public static class Eps {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17282,12 +17454,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17332,12 +17508,16 @@ public static class Fpx {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17403,12 +17583,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17453,12 +17637,16 @@ public static class Giropay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17524,12 +17712,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17575,12 +17767,16 @@ public static class Grabpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17646,12 +17842,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17697,12 +17897,16 @@ public static class Ideal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -17768,12 +17972,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -17795,12 +18003,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -17924,12 +18136,16 @@ public static class Klarna {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18045,12 +18261,16 @@ public Builder setPreferredLocale(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18286,12 +18506,16 @@ public static class Konbini {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18458,12 +18682,16 @@ public Builder setProductDescription(EmptyParam productDescription) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18527,12 +18755,16 @@ public static class Link {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18653,12 +18885,16 @@ public Builder setPersistentToken(EmptyParam persistentToken) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18679,12 +18915,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -18756,12 +18996,16 @@ public static class Mobilepay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18864,12 +19108,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -18927,12 +19175,16 @@ public static class Multibanco {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -18998,12 +19250,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19057,12 +19313,16 @@ public static class Oxxo {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19144,12 +19404,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19194,12 +19458,16 @@ public static class P24 {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19275,12 +19543,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19331,12 +19603,16 @@ public static class Paynow {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19402,12 +19678,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19484,12 +19764,16 @@ public static class Paypal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19676,12 +19960,16 @@ public Builder setRiskCorrelationId(EmptyParam riskCorrelationId) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19703,12 +19991,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -19875,12 +20167,16 @@ public static class Payto {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -19963,12 +20259,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -19990,12 +20290,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -20338,12 +20642,16 @@ public static class Pix {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20437,12 +20745,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20487,12 +20799,16 @@ public static class Promptpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20558,12 +20874,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -20699,6 +21019,10 @@ public static class RevolutPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -20803,6 +21127,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -20826,6 +21154,10 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -20890,12 +21222,16 @@ public static class SepaDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -20975,12 +21311,16 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21002,12 +21342,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -21122,12 +21466,16 @@ public static class Sofort {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -21213,12 +21561,16 @@ public Builder setPreferredLanguage(EmptyParam preferredLanguage) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21240,12 +21592,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -21326,12 +21682,16 @@ public static class Swish {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -21413,12 +21773,16 @@ public Builder setReference(EmptyParam reference) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21464,12 +21828,16 @@ public static class Twint {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -21535,12 +21903,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21602,12 +21974,16 @@ public static class UsBankAccount {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -21742,12 +22118,16 @@ public Builder setPreferredSettlementSpeed(EmptyParam preferredSettlementSpeed)
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -21769,12 +22149,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -22635,12 +23019,16 @@ public static class WechatPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -22735,12 +23123,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -22804,12 +23196,16 @@ public static class Zip {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -22875,12 +23271,16 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
diff --git a/src/main/java/com/stripe/param/checkout/SessionCreateParams.java b/src/main/java/com/stripe/param/checkout/SessionCreateParams.java
index 8819444c759..52bf3ef1608 100644
--- a/src/main/java/com/stripe/param/checkout/SessionCreateParams.java
+++ b/src/main/java/com/stripe/param/checkout/SessionCreateParams.java
@@ -6145,6 +6145,10 @@ public static class AcssDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -6252,6 +6256,10 @@ public Builder setMandateOptions(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -6593,6 +6601,10 @@ public static class Affirm {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -6660,6 +6672,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -6706,6 +6722,10 @@ public static class AfterpayClearpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -6773,6 +6793,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -6820,6 +6844,10 @@ public static class Alipay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -6887,6 +6915,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -6933,6 +6965,10 @@ public static class AmazonPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7000,6 +7036,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7049,6 +7089,10 @@ public static class AuBecsDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7116,6 +7160,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7163,6 +7211,10 @@ public static class BacsDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7230,6 +7282,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7282,6 +7338,10 @@ public static class Bancontact {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7349,6 +7409,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7403,6 +7467,10 @@ public static class Boleto {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7486,6 +7554,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7556,6 +7628,10 @@ public static class Card {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7690,6 +7766,10 @@ public Builder setRequestThreeDSecure(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7859,6 +7939,10 @@ public static class Cashapp {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7926,6 +8010,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -7992,6 +8080,10 @@ public static class CustomerBalance {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8089,6 +8181,10 @@ public Builder setFundingType(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8445,6 +8541,10 @@ public static class Eps {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8512,6 +8612,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8558,6 +8662,10 @@ public static class Fpx {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8625,6 +8733,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8671,6 +8783,10 @@ public static class Giropay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8738,6 +8854,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8784,6 +8904,10 @@ public static class Grabpay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8851,6 +8975,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8897,6 +9025,10 @@ public static class Ideal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -8964,6 +9096,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9010,6 +9146,10 @@ public static class Klarna {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9077,6 +9217,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9132,6 +9276,10 @@ public static class Konbini {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9216,6 +9364,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9262,6 +9414,10 @@ public static class Link {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9329,6 +9485,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9378,6 +9538,10 @@ public static class Mobilepay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9445,6 +9609,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9491,6 +9659,10 @@ public static class Multibanco {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9558,6 +9730,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9612,6 +9788,10 @@ public static class Oxxo {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9695,6 +9875,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9741,6 +9925,10 @@ public static class P24 {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9818,6 +10006,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9870,6 +10062,10 @@ public static class Paynow {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -9937,6 +10133,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -10014,12 +10214,16 @@ public static class Paypal {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
@SerializedName("setup_future_usage")
@@ -10178,12 +10382,16 @@ public Builder setRiskCorrelationId(String riskCorrelationId) {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(
@@ -10204,12 +10412,16 @@ public Builder setSetupFutureUsage(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
*
* If {@code setup_future_usage} is already set and you are performing a request using a
- * publishable key, you may only update the value from {@code on_session} to {@code
+ * publishable key, you can only update the value from {@code on_session} to {@code
* off_session}.
*/
public Builder setSetupFutureUsage(EmptyParam setupFutureUsage) {
@@ -10443,6 +10655,10 @@ public static class RevolutPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -10510,6 +10726,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -10559,6 +10779,10 @@ public static class SepaDebit {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -10626,6 +10850,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -10678,6 +10906,10 @@ public static class Sofort {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -10745,6 +10977,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -10872,6 +11108,10 @@ public static class UsBankAccount {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -10964,6 +11204,10 @@ public Builder setFinancialConnections(
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer
* after the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -11256,6 +11500,10 @@ public static class WechatPay {
* href="https://stripe.com/docs/api/payment_methods/attach">attached to a Customer after
* the transaction completes.
*
+ * If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
@@ -11345,6 +11593,10 @@ public Builder putAllExtraParam(Map If the payment method is {@code card_present} and isn't a digital wallet, then a generated_card
+ * payment method representing the card is created and attached to the Customer instead.
+ *
* When processing card payments, Stripe also uses {@code setup_future_usage} to
* dynamically optimize your payment flow and comply with regional legislation and network
* rules, such as SCA.
From 4ed2187715383c802eff6e9e31a42d1798a6b05c Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Wed, 31 Jul 2024 16:48:50 +0000
Subject: [PATCH 06/11] Update generated code for v1165
---
OPENAPI_VERSION | 2 +-
src/main/java/com/stripe/model/Invoice.java | 151 ++++++++
src/main/java/com/stripe/model/Quote.java | 25 +-
.../param/InvoiceAttachPaymentParams.java | 357 ++++++++++++++++++
.../com/stripe/service/InvoiceService.java | 97 +++++
5 files changed, 628 insertions(+), 4 deletions(-)
create mode 100644 src/main/java/com/stripe/param/InvoiceAttachPaymentParams.java
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 69f220482f8..404e303aff8 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1163
\ No newline at end of file
+v1165
\ No newline at end of file
diff --git a/src/main/java/com/stripe/model/Invoice.java b/src/main/java/com/stripe/model/Invoice.java
index 0da0f9ef489..8b6bec98484 100644
--- a/src/main/java/com/stripe/model/Invoice.java
+++ b/src/main/java/com/stripe/model/Invoice.java
@@ -13,6 +13,7 @@
import com.stripe.net.StripeResponseGetter;
import com.stripe.param.InvoiceAddLinesParams;
import com.stripe.param.InvoiceAttachPaymentIntentParams;
+import com.stripe.param.InvoiceAttachPaymentParams;
import com.stripe.param.InvoiceCreateParams;
import com.stripe.param.InvoiceCreatePreviewParams;
import com.stripe.param.InvoiceFinalizeInvoiceParams;
@@ -1026,6 +1027,156 @@ public Invoice addLines(InvoiceAddLinesParams params, RequestOptions options)
return getResponseGetter().request(request, Invoice.class);
}
+ /**
+ * Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of
+ * {@code payments}.
+ *
+ * For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment() throws StripeException {
+ return attachPayment((Map For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(RequestOptions options) throws StripeException {
+ return attachPayment((Map For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(Map For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(Map For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(InvoiceAttachPaymentParams params) throws StripeException {
+ return attachPayment(params, (RequestOptions) null);
+ }
+
+ /**
+ * Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of
+ * {@code payments}.
+ *
+ * For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(InvoiceAttachPaymentParams params, RequestOptions options)
+ throws StripeException {
+ String path =
+ String.format("/v1/invoices/%s/attach_payment", ApiResource.urlEncodeId(this.getId()));
+ ApiResource.checkNullTypedParams(path, params);
+ ApiRequest request =
+ new ApiRequest(
+ BaseAddress.API,
+ ApiResource.RequestMethod.POST,
+ path,
+ ApiRequestParams.paramsToMap(params),
+ options,
+ ApiMode.V1);
+ return getResponseGetter().request(request, Invoice.class);
+ }
+
/**
* Attaches a PaymentIntent to the invoice, adding it to the list of {@code payments}. When the
* PaymentIntent’s status changes to {@code succeeded}, the payment is credited to the invoice,
diff --git a/src/main/java/com/stripe/model/Quote.java b/src/main/java/com/stripe/model/Quote.java
index 81a3b08b788..9b93d1dc4d5 100644
--- a/src/main/java/com/stripe/model/Quote.java
+++ b/src/main/java/com/stripe/model/Quote.java
@@ -1758,6 +1758,12 @@ public static class LastReason extends StripeObject {
@SerializedName("line_invalid")
String lineInvalid;
+ /**
+ * The IDs of the lines that are invalid if the stale reason type is {@code lines_invalid}.
+ */
+ @SerializedName("lines_invalid")
+ List One of {@code accept_failed_validations}, {@code bill_on_acceptance_invalid}, {@code
- * line_invalid}, {@code marked_stale}, {@code subscription_canceled}, {@code
- * subscription_changed}, {@code subscription_expired}, {@code
- * subscription_schedule_canceled}, {@code subscription_schedule_changed}, or {@code
+ * line_invalid}, {@code lines_invalid}, {@code marked_stale}, {@code
+ * subscription_canceled}, {@code subscription_changed}, {@code subscription_expired},
+ * {@code subscription_schedule_canceled}, {@code subscription_schedule_changed}, or {@code
* subscription_schedule_released}.
*/
@SerializedName("type")
String type;
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class LinesInvalid extends StripeObject {
+ /** The timestamp at which the lines were marked as invalid. */
+ @SerializedName("invalid_at")
+ Long invalidAt;
+
+ /** The list of lines that became invalid at the given timestamp. */
+ @SerializedName("lines")
+ List For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(String invoice, InvoiceAttachPaymentParams params)
+ throws StripeException {
+ return attachPayment(invoice, params, (RequestOptions) null);
+ }
+ /**
+ * Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of
+ * {@code payments}.
+ *
+ * For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(String invoice, RequestOptions options) throws StripeException {
+ return attachPayment(invoice, (InvoiceAttachPaymentParams) null, options);
+ }
+ /**
+ * Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of
+ * {@code payments}.
+ *
+ * For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(String invoice) throws StripeException {
+ return attachPayment(invoice, (InvoiceAttachPaymentParams) null, (RequestOptions) null);
+ }
+ /**
+ * Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of
+ * {@code payments}.
+ *
+ * For Out of Band Payment, the payment is credited to the invoice immediately, increasing the
+ * {@code amount_paid} of the invoice and subsequently transitioning the status of the invoice to
+ * {@code paid} if necessary.
+ *
+ * For the PaymentIntent, when the PaymentIntent’s status changes to {@code succeeded}, the
+ * payment is credited to the invoice, increasing its {@code amount_paid}. When the invoice is
+ * fully paid, the invoice’s status becomes {@code paid}.
+ *
+ * If the PaymentIntent’s status is already {@code succeeded} when it’s attached, it’s credited
+ * to the invoice immediately.
+ *
+ * See: Create an invoice
+ * payment to learn more.
+ */
+ public Invoice attachPayment(
+ String invoice, InvoiceAttachPaymentParams params, RequestOptions options)
+ throws StripeException {
+ String path = String.format("/v1/invoices/%s/attach_payment", ApiResource.urlEncodeId(invoice));
+ ApiRequest request =
+ new ApiRequest(
+ BaseAddress.API,
+ ApiResource.RequestMethod.POST,
+ path,
+ ApiRequestParams.paramsToMap(params),
+ options,
+ ApiMode.V1);
+ return this.request(request, Invoice.class);
+ }
/**
* Attaches a PaymentIntent to the invoice, adding it to the list of {@code payments}. When the
* PaymentIntent’s status changes to {@code succeeded}, the payment is credited to the invoice,
From c6490f67e7435eef0fc7119396d1d50a4247fa06 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Wed, 31 Jul 2024 18:44:42 +0000
Subject: [PATCH 07/11] Update generated code for v1166
---
OPENAPI_VERSION | 2 +-
.../java/com/stripe/model/StripeError.java | 47 ++++++++++---------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 404e303aff8..20d9fb7b9e4 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1165
\ No newline at end of file
+v1166
\ No newline at end of file
diff --git a/src/main/java/com/stripe/model/StripeError.java b/src/main/java/com/stripe/model/StripeError.java
index 17700823c8c..621644922d9 100644
--- a/src/main/java/com/stripe/model/StripeError.java
+++ b/src/main/java/com/stripe/model/StripeError.java
@@ -32,29 +32,30 @@ public class StripeError extends StripeObject {
* card_decline_rate_limit_exceeded}, {@code card_declined}, {@code
* cardholder_phone_number_required}, {@code charge_already_captured}, {@code
* charge_already_refunded}, {@code charge_disputed}, {@code charge_exceeds_source_limit}, {@code
- * charge_expired_for_capture}, {@code charge_invalid_parameter}, {@code charge_not_refundable},
- * {@code clearing_code_unsupported}, {@code country_code_invalid}, {@code country_unsupported},
- * {@code coupon_expired}, {@code customer_max_payment_methods}, {@code
- * customer_max_subscriptions}, {@code customer_tax_location_invalid}, {@code
- * debit_not_authorized}, {@code email_invalid}, {@code expired_card}, {@code
- * financial_connections_account_inactive}, {@code financial_connections_institution_unavailable},
- * {@code financial_connections_no_successful_transaction_refresh}, {@code
- * forwarding_api_inactive}, {@code forwarding_api_invalid_parameter}, {@code
- * forwarding_api_upstream_connection_error}, {@code forwarding_api_upstream_connection_timeout},
- * {@code gift_card_balance_insufficient}, {@code gift_card_code_exists}, {@code
- * gift_card_inactive}, {@code idempotency_key_in_use}, {@code incorrect_address}, {@code
- * incorrect_cvc}, {@code incorrect_number}, {@code incorrect_zip}, {@code
- * instant_payouts_config_disabled}, {@code instant_payouts_currency_disabled}, {@code
- * instant_payouts_limit_exceeded}, {@code instant_payouts_unsupported}, {@code
- * insufficient_funds}, {@code intent_invalid_state}, {@code intent_verification_method_missing},
- * {@code invalid_card_type}, {@code invalid_characters}, {@code invalid_charge_amount}, {@code
- * invalid_cvc}, {@code invalid_expiry_month}, {@code invalid_expiry_year}, {@code
- * invalid_number}, {@code invalid_source_usage}, {@code invalid_tax_location}, {@code
- * invoice_no_customer_line_items}, {@code invoice_no_payment_method_types}, {@code
- * invoice_no_subscription_line_items}, {@code invoice_not_editable}, {@code
- * invoice_on_behalf_of_not_editable}, {@code invoice_payment_intent_requires_action}, {@code
- * invoice_upcoming_none}, {@code livemode_mismatch}, {@code lock_timeout}, {@code missing},
- * {@code no_account}, {@code not_allowed_on_standard_account}, {@code out_of_inventory}, {@code
+ * charge_exceeds_transaction_limit}, {@code charge_expired_for_capture}, {@code
+ * charge_invalid_parameter}, {@code charge_not_refundable}, {@code clearing_code_unsupported},
+ * {@code country_code_invalid}, {@code country_unsupported}, {@code coupon_expired}, {@code
+ * customer_max_payment_methods}, {@code customer_max_subscriptions}, {@code
+ * customer_tax_location_invalid}, {@code debit_not_authorized}, {@code email_invalid}, {@code
+ * expired_card}, {@code financial_connections_account_inactive}, {@code
+ * financial_connections_institution_unavailable}, {@code
+ * financial_connections_no_successful_transaction_refresh}, {@code forwarding_api_inactive},
+ * {@code forwarding_api_invalid_parameter}, {@code forwarding_api_upstream_connection_error},
+ * {@code forwarding_api_upstream_connection_timeout}, {@code gift_card_balance_insufficient},
+ * {@code gift_card_code_exists}, {@code gift_card_inactive}, {@code idempotency_key_in_use},
+ * {@code incorrect_address}, {@code incorrect_cvc}, {@code incorrect_number}, {@code
+ * incorrect_zip}, {@code instant_payouts_config_disabled}, {@code
+ * instant_payouts_currency_disabled}, {@code instant_payouts_limit_exceeded}, {@code
+ * instant_payouts_unsupported}, {@code insufficient_funds}, {@code intent_invalid_state}, {@code
+ * intent_verification_method_missing}, {@code invalid_card_type}, {@code invalid_characters},
+ * {@code invalid_charge_amount}, {@code invalid_cvc}, {@code invalid_expiry_month}, {@code
+ * invalid_expiry_year}, {@code invalid_number}, {@code invalid_source_usage}, {@code
+ * invalid_tax_location}, {@code invoice_no_customer_line_items}, {@code
+ * invoice_no_payment_method_types}, {@code invoice_no_subscription_line_items}, {@code
+ * invoice_not_editable}, {@code invoice_on_behalf_of_not_editable}, {@code
+ * invoice_payment_intent_requires_action}, {@code invoice_upcoming_none}, {@code
+ * livemode_mismatch}, {@code lock_timeout}, {@code missing}, {@code no_account}, {@code
+ * not_allowed_on_standard_account}, {@code out_of_inventory}, {@code
* ownership_declaration_not_allowed}, {@code parameter_invalid_empty}, {@code
* parameter_invalid_integer}, {@code parameter_invalid_string_blank}, {@code
* parameter_invalid_string_empty}, {@code parameter_missing}, {@code parameter_unknown}, {@code
From ae9892c1c670f5484eca9f2b8225e592355d697e Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Wed, 31 Jul 2024 22:46:39 +0000
Subject: [PATCH 08/11] Update generated code for v1167
---
OPENAPI_VERSION | 2 +-
src/main/java/com/stripe/model/Dispute.java | 10 -
.../com/stripe/model/checkout/Session.java | 5 +-
.../param/AccountSessionCreateParams.java | 417 ++++++++++++++++++
4 files changed, 422 insertions(+), 12 deletions(-)
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 20d9fb7b9e4..472b52dc732 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1166
\ No newline at end of file
+v1167
\ No newline at end of file
diff --git a/src/main/java/com/stripe/model/Dispute.java b/src/main/java/com/stripe/model/Dispute.java
index ec041dea5c8..4ae2b714689 100644
--- a/src/main/java/com/stripe/model/Dispute.java
+++ b/src/main/java/com/stripe/model/Dispute.java
@@ -1009,16 +1009,6 @@ public static class EnhancedEligibility extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class VisaCompellingEvidence3 extends StripeObject {
- /**
- * Rejection reason for evidence submitted as Visa Compelling Evidence 3.0 to Visa and
- * rejected by Visa.
- *
- * One of {@code fraudulent_prior_transaction}, {@code other}, or {@code
- * visa_internal_error}.
- */
- @SerializedName("partner_rejected_details")
- String partnerRejectedDetails;
-
/**
* List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence
* submission.
diff --git a/src/main/java/com/stripe/model/checkout/Session.java b/src/main/java/com/stripe/model/checkout/Session.java
index 09cd33d3293..57ae93daca4 100644
--- a/src/main/java/com/stripe/model/checkout/Session.java
+++ b/src/main/java/com/stripe/model/checkout/Session.java
@@ -127,7 +127,10 @@ public class Session extends ApiResource implements HasId, MetadataStore