Enumerations

The following enumerations are available globally.

  • Status of a PlatformSubscriptionStatus.

    See more

    Declaration

    Swift

    public enum PlatformSubscriptionStatus : Equatable
  • 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
  • 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>
  • Result type of an API that returns multiple records. Supports partial results.

    See more

    Declaration

    Swift

    public enum ListAPIResult<T, P>
  • Representation of an enumeration depicting the BankAcount type of a [BankAccountFundingSource], in the Sudo Platform Virtual Cards SDK.

    See more

    Declaration

    Swift

    public enum BankAccountType : Hashable
  • Cache policy that determines how data is accessed when performing a query method from the Virtual Cards Service.

    See more

    Declaration

    Swift

    public enum CachePolicy
  • 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 : Hashable
  • Representation of a Funding Source used in the Sudo Platform SDK.

    See more

    Declaration

    Swift

    public enum FundingSource
  • Flags values associated with FundingSource.

    • unfunded: funding source has one or more outstanding transactions and cannot be used to transact
    • unknown: value could not be discerned - associated value is unknown and suggests that the SDK version is out of sync with the service.

    Declaration

    Swift

    public enum FundingSourceFlags : Hashable
  • State type associated with FundingSource.

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

    Declaration

    Swift

    public enum FundingSourceState : Hashable
  • Data returned as part of fundingSourceRequiresUserInteraction thrown when completeFundingSource or refreshFundingSource are called but requires further user interaction. The data contains funding source provider specific information required to carry out that user interfaction.

    Values

    • checkoutCard - data for Checkout Card funding sources
    • checkoutBankAccount - data for Checkout Bank Account funding sources
    • unknown - data for a funding source type not yet supported by this SDK. Update your SDK version to resolve.
    See more

    Declaration

    Swift

    public enum FundingSourceInteractionData : Equatable, FundingSourceProviderData
  • Provider-agnostic enum for the refresh data of SudoVirtualCardsClient.refreshFundingSource(withInput:).

    See more

    Declaration

    Swift

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

    See more

    Declaration

    Swift

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

    See more

    Declaration

    Swift

    public enum SortOrderInput
  • Depiction of a JSON Value.

    Declaration

    Swift

    public indirect enum JSONValue : 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.

    Declaration

    Swift

    public enum ProvisionalCardState : Hashable
  • Type of a Transaction.

    Declaration

    Swift

    public enum TransactionType : Hashable
  • 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 : Hashable, CustomStringConvertible