DefaultSudoVirtualCardsClient

public class DefaultSudoVirtualCardsClient : SudoVirtualCardsClient

Default Client API Endpoint for interacting with the Virtual Cards Service.

Lifecycle

  • Initialize a DefaultSudoVirtualCardsClient instance. It uses configuration parameters defined in sudoplatformconfig.json file located in the app bundle.

    Declaration

    Swift

    public convenience init(
        keyNamespace: String = "com.sudoplatform.virtualcards",
        config: SudoVirtualCardsConfig? = nil,
        userClient: SudoUserClient,
        profilesClient: SudoProfilesClient
    ) throws

    Parameters

    keyNamespace

    Namespace to use for the keys and passwords. This should be left as the default property

    config

    Optional configuration to override AWS endpoint. It is recommended that this be left nil.

    userClient

    SudoUserClient instance used for authentication.

    profilesClient

    SudoProfilesClient instance used for creating and deleting sudo resource references. Throws:

  • Declaration

    Swift

    public func reset() throws

Methods

Transactions