Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update update sfu docs #456

Merged
merged 2 commits into from
Jun 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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