Skip to content

Commit

Permalink
Update update sfu docs (#456)
Browse files Browse the repository at this point in the history
* update update sfu docs

* update create too
  • Loading branch information
pwang-stripe authored Jun 7, 2023
1 parent 3da25e1 commit 780f3fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions types/stripe-js/elements-group.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -700,14 +700,14 @@ export interface StripeElementsOptionsMode extends BaseStripeElementsOptions {
*
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage
*/
setupFutureUsage?: 'off_session' | 'on_session';
setupFutureUsage?: 'off_session' | 'on_session' | null;

/**
* Indicates that you intend to make future payments with this PaymentIntent’s payment method.
*
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage
*/
setup_future_usage?: 'off_session' | 'on_session';
setup_future_usage?: 'off_session' | 'on_session' | null;

/**
* Controls when the funds will be captured from the customer’s account.
Expand Down Expand Up @@ -794,16 +794,16 @@ export interface StripeElementsUpdateOptions {
/**
* Indicates that you intend to make future payments with this PaymentIntent’s payment method.
*
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage
* @docs https://stripe.com/docs/api/payment_intents/update#update_payment_intent-setup_future_usage
*/
setupFutureUsage?: 'off_session' | 'on_session';
setupFutureUsage?: 'off_session' | 'on_session' | null;

/**
* Indicates that you intend to make future payments with this PaymentIntent’s payment method.
*
* @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage
* @docs https://stripe.com/docs/api/payment_intents/update#update_payment_intent-setup_future_usage
*/
setup_future_usage?: 'off_session' | 'on_session';
setup_future_usage?: 'off_session' | 'on_session' | null;

/**
* Controls when the funds will be captured from the customer’s account.
Expand Down

0 comments on commit 780f3fb

Please sign in to comment.