RealLinkConfigurationCoordinator

Properties

Link copied to clipboard
open override val emailFlow: StateFlow<String?>

Functions

Link copied to clipboard
open suspend override fun attachNewCardToAccount(configuration: LinkConfiguration, paymentMethodCreateParams: PaymentMethodCreateParams): Result<LinkPaymentDetails>

Attach a new Card to the currently signed in Link account.

Link copied to clipboard
open override fun getAccountStatusFlow(configuration: LinkConfiguration): Flow<AccountStatus>

Fetch the customer's account status, initializing the dependencies if they haven't been initialized yet.

Link copied to clipboard
open override fun getComponent(configuration: LinkConfiguration): LinkComponent

Fetch the dependency injector Component for all injectable classes in Link while in an embedded environment.

Link copied to clipboard
open suspend override fun logOut(configuration: LinkConfiguration): Result<ConsumerSession>
Link copied to clipboard
open suspend override fun signInWithUserInput(configuration: LinkConfiguration, userInput: UserInput): Result<Boolean>

Trigger Link sign in with the input collected from the user inline in PaymentSheet, whether it's a new or existing account.