InlineSignupViewState
data class InlineSignupViewState @VisibleForTesting(otherwise = 4
The LinkInlineSignup view state.
Parameters
userInput
The collected input from the user, always valid unless null.
isExpanded
Whether the checkbox is selected and the view is expanded.
apiFailed
Whether an API call has failed. In such cases, we want to continue the payment flow without Link.
signUpState
The stage of the sign in or sign up flow.
Constructors
Link copied to clipboard
constructor(userInput: UserInput?, merchantName: String, signupMode: LinkSignupMode?, fields: List<LinkSignupField>, prefillEligibleFields: Set<LinkSignupField>, isExpanded: Boolean = false, apiFailed: Boolean = false, signUpState: SignUpState = SignUpState.InputtingPrimaryField)