setVirtualCardsNotificationsForFundingSourceType

fun NotificationConfiguration.setVirtualCardsNotificationsForFundingSourceType(fundingSourceType: FundingSourceType, enabled: Boolean): NotificationConfiguration

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

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

fundingSourceType

: FundingSourceType type 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
funding sources with the specified type.