create

Constructor to be used when launching the FinancialConnectionsSheet from an Activity.

Parameters

activity

the Activity that is presenting the FinancialConnectionsSheet.

callback

called with the result of the connections session after the connections sheet is dismissed.


Constructor to be used when launching the payment sheet from a Fragment.

Parameters

fragment

the Fragment that is presenting the payment sheet.

callback

called with the result of the payment after the payment sheet is dismissed.