WalletProvisioningServicing
public protocol WalletProvisioningServicing
A protocol for managing wallet provisioning operations.
-
Creates a new wallet provisioning.
Declaration
Swift
func createWalletProvisioning( walletId: String, payload: CreateWalletProvisioningPayload, response: LoadableSubject<Provisioning> )
Parameters
walletId
The ID of the wallet.
payload
The payload for creating the wallet provisioning.
response
The loadable subject to track the response. The loadable subject tracks the state of the wallet provisioning creation operation, representing the success state with the created
Provisioning
value or the failure state with the associatedNetworkError
. -
Retrieves a wallet provisioning with the specified ID.
Declaration
Swift
func fetchWalletProvisioning( walletId: String, provisioningId: String, response: LoadableSubject<Provisioning> )
Parameters
walletId
The ID of the wallet.
provisioningId
The ID of the provisioning.
response
The loadable subject to track the response. The loadable subject tracks the state of the wallet provisioning retrieval operation, representing the success state with the loaded
Provisioning
value or the failure state with the associatedNetworkError
. -
Retrieves all wallet provisionings associated with the specified wallet.
Declaration
Swift
func fetchWalletProvisionings( walletId: String, response: LoadableSubject<AllProvisioningsResponse> )
Parameters
walletId
The ID of the wallet.
response
The loadable subject to track the response. The loadable subject tracks the state of the wallet provisionings retrieval operation, representing the success state with the loaded
AllProvisioningsResponse
value or the failure state with the associatedNetworkError
.