Enumerations
The following enumerations are available globally.
-
Errors that occur in SudoVirtualCards.
See moreDeclaration
Swift
public enum SudoVirtualCardsError : Error, Equatable, LocalizedError -
Errors associated with the failure of Public Key Registration Lifecycle events.
See moreDeclaration
Swift
public enum PublicKeyError : Error, Equatable, Sendable -
Result type of a singular return type from an API that can return a partial result.
See moreDeclaration
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 moreDeclaration
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 moreDeclaration
Swift
public enum CardType : Sendable, Hashable -
Declaration
Swift
public enum FundingSourceStateFilterInput : Sendable -
Input required to filter a provisional funding source list.
See moreDeclaration
Swift
public indirect enum FundingSourceFilterInput : Sendable -
Input required to filter lists by id.
See moreDeclaration
Swift
public enum IDFilterInput : Sendable, Equatable -
Declaration
Swift
public enum ProvisionalFundingSourceStateFilterInput : Sendable -
Input required to filter a provisional funding source list.
See moreDeclaration
Swift
public indirect enum ProvisionalFundingSourceFilterInput : Sendable -
Representation of a Funding Source used in the Sudo Platform SDK.
See moreDeclaration
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.
Declaration
Swift
public enum ProvisionalFundingSourceState : Sendable, Hashable -
Input for the completion data of SudoVirtualCardsClient.completeFundingSource(withInput:).
See moreDeclaration
Swift
public enum CompletionDataInput : Sendable, Hashable, FundingSourceProviderData -
Wrapped enum for types that can be null, undefined, or defined.
See moreDeclaration
Swift
public enum Nullish<Wrapped> : Sendable, ExpressibleByNilLiteral where Wrapped : Sendableextension Nullish: Equatable where Wrapped: Equatable -
Sort order input.
See moreDeclaration
Swift
public enum SortOrderInput : Sendable -
Depiction of a JSON Value.
See moreDeclaration
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/sAPI or viaProvisionalCard.cardproperty. - 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 : Sendable, Hashable -
The different states that a
See moreSubscriptioncan be in.Declaration
Swift
public enum SubscriptionConnectionState : Sendable, Equatable -
The types of notifications that can be sent to
See moreSubscriberinstances.Declaration
Swift
public enum SubscriptionNotification : Sendable, Equatable -
The types of notifications that
See moreSubscriberinstances can subscribe to.Declaration
Swift
public enum SubscriptionNotificationType : Sendable, Equatable, CaseIterable -
Declaration
Swift
public enum TransactionDeclineReason : Sendable, Hashable -
Type of a Transaction.
See moreDeclaration
Swift
public enum TransactionType : Sendable, Hashable -
Input required to filter a virtual card source list.
See moreDeclaration
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.
Declaration
Swift
public enum VirtualCardState : Sendable, Hashable, CustomStringConvertible
Enumerations Reference