EmbeddedComponentManager

class EmbeddedComponentManager @JvmOverloads constructor(publishableKey: String, fetchClientSecret: FetchClientSecret, appearance: Appearance = Appearance.default(), customFonts: List<CustomFontSource> = emptyList())

Constructors

Link copied to clipboard
constructor(publishableKey: String, fetchClientSecret: FetchClientSecret, appearance: Appearance = Appearance.default(), customFonts: List<CustomFontSource> = emptyList())

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Returns a controller for presenting the Account Onboarding component full screen.

Link copied to clipboard
fun createNotificationBannerView(context: Context, listener: NotificationBannerListener? = null, props: NotificationBannerProps? = null, cacheKey: String? = null): View

Creates a notification banner, which shows the connected account's open tasks, like onboarding requirements and risk interventions, that can affect capabilities such as accepting payments and receiving payouts.

Link copied to clipboard
fun createPaymentsView(context: Context, listener: PaymentsListener? = null, props: PaymentsProps? = null, cacheKey: String? = null): View

Create a new PaymentsView for inclusion in the view hierarchy.

Link copied to clipboard
fun createPayoutsView(context: Context, listener: PayoutsListener? = null, cacheKey: String? = null): View

Create a new PayoutsView for inclusion in the view hierarchy.

Link copied to clipboard
fun update(appearance: Appearance)