Skip to content

Commit

Permalink
Adds setCollectionOptions to account-onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
derekm-stripe committed Jan 18, 2024
1 parent 1394a7a commit a419191
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions types/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/* eslint-disable @typescript-eslint/no-empty-function */
/* eslint-disable @typescript-eslint/no-unused-vars */

type CollectionOptions = {
fields: 'currently_due' | 'eventually_due',
futureRequirements?: 'omit' | 'include',
}

export const ConnectElementCustomMethodConfig = {
"account-onboarding": {
setFullTermsOfServiceUrl: (
Expand All @@ -13,6 +18,9 @@ export const ConnectElementCustomMethodConfig = {
setSkipTermsOfServiceCollection: (
_skipTermsOfServiceCollection: boolean | undefined
): void => {},
setCollectionOptions: (
_collectionOptions: CollectionOptions | undefined
): void => {},
setOnExit: (_listener: (() => void) | undefined): void => {}
},
"payment-details": {
Expand Down

0 comments on commit a419191

Please sign in to comment.