Skip to content

Commit

Permalink
Update generated code for v650
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 7, 2023
1 parent 0f846fb commit 89e3693
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v649
v650
10 changes: 6 additions & 4 deletions src/main/java/com/stripe/param/checkout/SessionCreateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public class SessionCreateParams extends ApiRequestParams {
/**
* Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>,
* in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
* Required in {@code setup} mode when {@code payment_method_types} is not set.
*/
@SerializedName("currency")
String currency;
Expand Down Expand Up @@ -230,9 +231,10 @@ public class SessionCreateParams extends ApiRequestParams {
/**
* A list of the types of payment methods (e.g., {@code card}) this Checkout Session can accept.
*
* <p>In {@code payment} and {@code subscription} mode, you can omit this attribute to manage your
* payment methods from the <a href="https://dashboard.stripe.com/settings/payment_methods">Stripe
* Dashboard</a>. It is required in {@code setup} mode.
* <p>You can omit this attribute to manage your payment methods from the <a
* href="https://dashboard.stripe.com/settings/payment_methods">Stripe Dashboard</a>. See <a
* href="https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods">Dynamic
* Payment Methods</a> for more details.
*
* <p>Read more about the supported payment methods and their requirements in our <a
* href="https://stripe.com/docs/payments/checkout/payment-methods">payment method details
Expand Down Expand Up @@ -586,7 +588,7 @@ public Builder setConsentCollection(SessionCreateParams.ConsentCollection consen
/**
* Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency
* code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported
* currency</a>.
* currency</a>. Required in {@code setup} mode when {@code payment_method_types} is not set.
*/
public Builder setCurrency(String currency) {
this.currency = currency;
Expand Down

0 comments on commit 89e3693

Please sign in to comment.