TwoFactor
public class TwoFactor : APIModel
The code and method for two factor authentication, if required by the payment method
-
A single name for the 2fa e.g.
See moreface-id,fingerprint,biometry,password,pinDeclaration
Swift
public enum PCPayMethod : String, Codable, Equatable, CaseIterable -
A single name for the 2fa e.g.
face-id,fingerprint,biometry,password,pinDeclaration
Swift
public var method: PCPayMethod? -
OTP (One time password) for the authorization.
Declaration
Swift
public var otp: String? -
Undocumented
Declaration
Swift
public init(method: PCPayMethod? = nil, otp: String? = nil) -
Declaration
Swift
public required init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Undocumented
Declaration
Swift
public func isEqual(to object: Any?) -> Bool -
Declaration
Swift
public static func == (lhs: TwoFactor, rhs: TwoFactor) -> Bool
View on GitHub
TwoFactor Class Reference