provision

abstract suspend fun provision(cardDisplayName: String, cardAddress: CardAddress, opcProvider: OpcProvider): ProvisionResult

Attempts to provision the given card.

Return

a ProvisionResult Object confirming whether or not the card was provisioned correctly and, if not successfully provisioned, then specifying the reason for the failure.

Parameters

cardDisplayName

The name on the card. Used to validate the card and also to display during the provisioning flow.

cardAddress

The address associated with the card.

opcProvider

The OpcProvider responsible for fetching OPC data.