Enumerations
The following enumerations are available globally.
-
Status of a
See morePlatformSubscriptionStatus
.Declaration
Swift
public enum PlatformSubscriptionStatus : Equatable
-
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
-
Result type of a singular return type from an API that can return a partial result.
See moreDeclaration
Swift
public enum SingleAPIResult<T, P>
-
Result type of an API that returns multiple records. Supports partial results.
See moreDeclaration
Swift
public enum ListAPIResult<T, P>
-
Cache policy that determines how data is accessed when performing a query method from the Virtual Cards Service.
See moreDeclaration
Swift
public enum CachePolicy
-
Wrapped enum for types that can be null, undefined, or defined.
See moreDeclaration
Swift
public enum Nullish<Wrapped> : ExpressibleByNilLiteral
extension Nullish: Equatable where Wrapped: Equatable
-
Sort order input.
See moreDeclaration
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 viaProvisionalCard.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
-
The Sudo Platform SDK representation of an enumeration depicting the provisional funding source state reason.
Declaration
Swift
public enum StateReason
-
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.
Declaration
Swift
public enum VirtualCardState : Hashable, CustomStringConvertible