Enumerations

The following enumerations are available globally.

  • Errors that occur in SudoVirtualCards.

    See more

    Declaration

    Swift

    public enum SudoVirtualCardsError : Error, Equatable, LocalizedError
  • Errors associated with the failure of Public Key Registration Lifecycle events.

    See more

    Declaration

    Swift

    public enum PublicKeyError : Error, Equatable, Sendable
  • Result type of a singular return type from an API that can return a partial result.

    See more

    Declaration

    Swift

    public enum SingleAPIResult<T, P>
    extension SingleAPIResult: Sendable where T: Sendable, P: Sendable
  • Result type of an API that returns multiple records. Supports partial results.

    See more

    Declaration

    Swift

    public enum ListAPIResult<T, P>
    extension ListAPIResult: Sendable where T: Sendable, P: Sendable
  • Representation of an enumeration depicting the card type of a [CreditCardFundingSource], in the Sudo Platform Virtual Cards SDK.

    See more

    Declaration

    Swift

    public enum CardType : Sendable, Hashable
  • Declaration

    Swift

    public enum FundingSourceStateFilterInput : Sendable
  • Input required to filter a provisional funding source list.

    See more

    Declaration

    Swift

    public indirect enum FundingSourceFilterInput : Sendable
  • Input required to filter lists by id.

    See more

    Declaration

    Swift

    public enum IDFilterInput : Sendable, Equatable
  • Declaration

    Swift

    public enum ProvisionalFundingSourceStateFilterInput : Sendable
  • Input required to filter a provisional funding source list.

    See more

    Declaration

    Swift

    public indirect enum ProvisionalFundingSourceFilterInput : Sendable
  • Representation of a Funding Source used in the Sudo Platform SDK.

    See more

    Declaration

    Swift

    public enum FundingSource : Sendable
  • Declaration

    Swift

    public enum FundingSourceClientConfiguration : BaseFundingSourceClientConfiguration, Sendable, Equatable
  • Declaration

    Swift

    public enum ProvisioningData : Sendable, Equatable, FundingSourceProviderData
  • State type associated with FundingSource.

    • active: funding source is active.
    • inactive: funding source is inactive.
    • unknown: type could not be discerned - associated value is unknown and suggests that the SDK version is out of sync with the service.
    See more

    Declaration

    Swift

    public enum ProvisionalFundingSourceState : Sendable, Hashable
  • Input for the completion data of SudoVirtualCardsClient.completeFundingSource(withInput:).

    See more

    Declaration

    Swift

    public enum CompletionDataInput : Sendable, Hashable, FundingSourceProviderData
  • Wrapped enum for types that can be null, undefined, or defined.

    See more

    Declaration

    Swift

    public enum Nullish<Wrapped> : Sendable, ExpressibleByNilLiteral where Wrapped : Sendable
    extension Nullish: Equatable where Wrapped: Equatable
  • Sort order input.

    See more

    Declaration

    Swift

    public enum SortOrderInput : Sendable
  • Depiction of a JSON Value.

    See more

    Declaration

    Swift

    public indirect enum JSONValue : Sendable, Hashable
  • State of the Provisional Card.

    • provisioning: Card is in a provisioning state currently.
    • completed: Card has finished completed which typically means the card should be accessible by either a getCard/s API or via ProvisionalCard.card property.
    • failed: Card is in a failed state and needs to be rectified.
    • unknown: API Evolution - if this occurs, it may mean you need to update the library.
    See more

    Declaration

    Swift

    public enum ProvisionalCardState : Sendable, Hashable
  • The different states that a Subscription can be in.

    See more

    Declaration

    Swift

    public enum SubscriptionConnectionState : Sendable, Equatable
  • The types of notifications that can be sent to Subscriber instances.

    See more

    Declaration

    Swift

    public enum SubscriptionNotification : Sendable, Equatable
  • The types of notifications that Subscriber instances can subscribe to.

    See more

    Declaration

    Swift

    public enum SubscriptionNotificationType : Sendable, Equatable, CaseIterable
  • Declaration

    Swift

    public enum TransactionDeclineReason : Sendable, Hashable
  • Type of a Transaction.

    See more

    Declaration

    Swift

    public enum TransactionType : Sendable, Hashable
  • Input required to filter a virtual card source list.

    See more

    Declaration

    Swift

    public indirect enum VirtualCardFilterInput : Sendable
  • State of the card.

    • issued: Card is in an issued state and ready to be used.
    • failed: Card is in a failed state and needs to be rectified.
    • closed: Card has been closed.
    • suspended: Card has been suspended.
    • unknown: API Evolution - if this occurs, it may mean you need to update the library.
    See more

    Declaration

    Swift

    public enum VirtualCardState : Sendable, Hashable, CustomStringConvertible