setVirtualCardsNotificationsForFundingSource

fun NotificationConfiguration.setVirtualCardsNotificationsForFundingSource(fundingSourceId: String, enabled: Boolean): NotificationConfiguration

Extension function to add rules to a NotificationConfiguration for enabling or disabling virtual cards service notifications for a particular funding source id.

Once all notification configurations across all Sudo platform SDKs have been performed, call the com.sudoplatform.sudonotification.SudoNotificationClient.setNotificationConfiguration to set the full notification configuration for your application.

Return

New NotificationConfiguration with updated rules

Parameters

fundingSourceId
ID of funding source to set virtual cards service notification enablement for
enabled
Whether or not virtual cards service notifications are to be enabled or disabled for the
funding source with the specified ID.