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
-
Representation of an enumeration depicting the type of [FundingSource], in the Sudo Platform Virtual Cards SDK.
See moreDeclaration
Swift
public enum CardType : Hashable
-
Data returned as part of fundingSourceRequiresUserInteraction thrown when completeFundingSource is 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
- unknown - data for a funding source type not yet supported by this SDK. Update your SDK version to resolve.
Declaration
Swift
public enum FundingSourceInteractionData : Equatable, FundingSourceProviderData
-
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
-
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