This method allows you get a new instance of NolPayLinkCardComponent
that can be used to link new
Nol Pay cards.
1
func provideNolPayLinkCardComponent() -> NolPayLinkCardComponent
Returns
An instance of NolPayLinkCardComponent
.
NolPayLinkCardComponent
Update component with collected data by passing an enum representing collectable data for linking 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 validationDelegate
enum NolPayLinkCollectableData
Properties
The mobile number in E.164 format for which linked cards are to be retrieved.
Call submit
function in order to process collected data and move component to next state.
NOTE: For LinkCardComponent
you must call this function as a first step, to start NFC scanning of the card.
NolPayLinkDataStep
is a enum class holding different output data for specific steps. Whenever submit method is called, stepDelegate
will trigger the next step in case the call to the mentioned method was successful.
enum NolPayLinkDataStep
Enum member representing the step of collecting tag data for Nol Pay card linking.
This is a default/first step for linking flow. To start the linking flow you will have to call submit
function after you called start
function.
Properties
The card number associated with the Nol Pay card scanned in collectTagData
step.
Properties
1
func didReceiveStep(step: PrimerHeadlessStep)
1
func didUpdate(validationStatus: PrimerValidationStatus, for data: PrimerCollectableData?)
PrimerValidationStatus
is an enum that represents the different validation statuses in the Primer SDK. It helps to communicate the state of validation for a particular process, providing clear categorization of validation states.
enum PrimerValidationStatus
Associated Value
1
func didReceiveError(error: PrimerError)