TransactionError
public class TransactionError: NSError
This class includes the error message and other details of a transaction.
-
The error code for technical errors.
Use this constant to compare it to a
TransactionError‘scode.Declaration
Swift
public static let technical = 0 -
The error code for validation errors.
Use this constant to compare it to a
TransactionError‘scode.Declaration
Swift
public static let validation = 1 -
The error code for authentication errors.
Use this constant to compare it to a
TransactionError‘scode.Declaration
Swift
public static let authentication = 2 -
The error code for authorization errors.
Use this constant to compare it to a
TransactionError‘scode.Declaration
Swift
public static let authorization = 3 -
The payment method used during the transaction.
Declaration
Swift
public internal(set) var paymentMethodType: PaymentMethodType? -
The payment method used during the transaction.
This is for use from Objective-C only. This property wraps the
rawValueof aDTPaymentMethodTypein anNSNumber.Declaration
Swift
public var paymentMethodTypeObjc: NSNumber? -
The identifier of the failed transaction
Declaration
Swift
public internal(set) var transactionId: String? -
The BackendError that contains the Datatrans error name
Declaration
Swift
public var backendError: BackendError?
View on GitHub