Android SDK
- Installation
- Primer
- PrimerHeadlessUniversalCheckout
- Methods
- Listeners
- Assets Managers
- Native UI manager
- Raw Data manager
- Raw Data Manager Listener
- NOL Pay manager
- Component With Redirect manager
- Klarna Headless manager
- ACH Headless manager
- Vault manager
- Logging
- Common objects
provideNolPayUnlinkCardComponent
This method allows you get a new instance of NolPayUnlinkCardComponent
that can be used to unlink existing
Nol Pay cards.
fun provideNolPayUnlinkCardComponent(viewModelStoreOwner: ViewModelStoreOwner): NolPayUnlinkCardComponent
Parameters
Hide Parameters
Hide Parameters
The ViewModelStoreOwner to associate with the component.
Returns
An instance of NolPayUnlinkCardComponent
.
Hide NolPayUnlinkCardComponent
Hide NolPayUnlinkCardComponent
Initialize the component by calling the start function. This method should be called only once.
Update component with collected data by passing implementations of sealed interface representing collectable data for unlinking a Nol Pay card. This method can be called at any point, even if you have only partially collected data. To validate the partially collected data, you can refer to the componentValidationStatus and receive the validation status when it’s updated.
Show sealed interface NolPayUnlinkCollectableData
Show sealed interface NolPayUnlinkCollectableData
Data class representing Nol Pay card and phone data for unlinking.
Hide Properties
Hide Properties
The Nol Pay payment card to unlink is retrieved using NolPayLinkedCardsComponent.
Call submit
function in order to process collected data and move component to next state.
NolPayUnlinkCardStep
is a class holding different output data for specific steps. Whenever
start or submit methods are
called,
componentStep
will trigger the next step in case the call to the mentioned method was successful.
Show sealed interface NolPayUnlinkCardStep
Show sealed interface NolPayUnlinkCardStep
Object representing the step to collect card and phone data for unlinking Nol Pay card.
Object representing the step of collecting OTP (One-Time Password) data for Nol Pay card unlinking.
The PrimerValidationStatus
interface encompasses a range of validation statuses.
Show sealed interface PrimerValidationStatus
Show sealed interface PrimerValidationStatus
Indicates that data is currently in the process of being validated.
Hide Properties
Hide Properties
The data being validated.
Indicates that the data has successfully been validated.
Hide Properties
Hide Properties
The successfully validated data.
Indicates that the data has been considered invalid after validation.
Hide Properties
Hide Properties
List of PrimerValidationError
objects that represent data validation errors emitted by this component.
The data that failed validation.
Represents the status when an error occurred during the validation process.
Hide Properties
Hide Properties
The specific PrimerError
that occurred during validation.
Show PrimerValidationError
Show PrimerValidationError
A unique error identifier.
A unique error code.
A error description.
A recovery suggestion for the given error. In case it’s present, use it to try to recover from error.
A unique diagnostics id for the given error.
The data for which the error occurred.
Get a Flow of PrimerError objects that represent errors emitted by this component. Subscribers can observe and handle errors using this Flow.