@sudoplatform/sudo-virtual-cards
    Preparing search index...

    Interface FundingSourceChangeSubscriber

    interface FundingSourceChangeSubscriber {
        connectionStatusChanged(state: ConnectionState): void;
        fundingSourceChanged(fundingSource: FundingSource): Promise<void>;
    }
    Index

    Methods

    • Notifies the subscriber that the subscription connection state has changed. The subscriber won't be notified of funding source changes until the connection status changes to [ConnectionState.CONNECTED]. The subscriber will stop receiving funding source change notifications when the connection state changes to [ConnectionState.DISCONNECTED].

      Parameters

      Returns void

    • Notifies the subscriber that the funding source has changed.

      Parameters

      Returns Promise<void>