Enumerations
The following enumerations are available globally.
-
Undocumented
See moreDeclaration
Swift
public enum DefaultColors
-
See moreDefaultCardViewLanguageenum represents default SDK-defined definitions for CardView’s set of displayable strings.Declaration
Swift
public enum DefaultCardViewLanguage : Stringextension DefaultCardViewLanguage: CardViewLanguage -
See moreAccessTokenenum represents current environmnet:productionortest. Associated values contain access token value for corresponding environment.Declaration
Swift
public enum AccessToken -
See moreCardEntryStatusenum represents the status of card entry. It includes active, invalid, valid, and processing cases.wwDeclaration
Swift
public enum CardEntryStatus : Int -
See moreWalletPaymentStatusenum represents the status of PayPal payment. It includes idle and processing cases.Declaration
Swift
public enum WalletPaymentStatus -
PaygateErrordefines the possible errors that can occur when interacting with the NexiPaygate SDK.This enum conforms to the
ErrorandEquatableprotocols, enabling it to be used for error handling and comparison. The errors encapsulate a range of potential issues, from generic request failures to specific HTTP response status codes.- Cases:
threeDS: Wraps errors that occur during the 3D Secure authentication process.api: Wraps errors related to network API failures and response validation.paymentProcessing: Wraps general payment processing errors within the SDK.applePayProcessing: Wraps errors specific to Apple Pay transaction handling.
Declaration
Swift
public enum PaygateError : Error, Equatable - Cases:
-
Represents events triggered by the card details entry form.
Used in card views as a callback message to communicate user actions or form status updates.
See moreDeclaration
Swift
public enum FormEvent -
The result of a payment process flow.
This enum encapsulates the possible outcomes of attempting a payment transaction, including success, user cancellation, or failure due to an error.
See moreDeclaration
Swift
public enum PaymentProcessResult : Equatable -
Defines the visibility and labeling options for the “Save Card” toggle in the payment form.
See moreDeclaration
Swift
public enum SaveCardToggleOption : Equatable -
A namespace for accessing SDK-specific resources.
See moreDeclaration
Swift
public enum SDKResources
Enumerations Reference