CheckoutAuthContextGet
public struct CheckoutAuthContextGet : Decodable, Encodable
Response for request authorization context api method.
-
The authorization types of the user.
Declaration
Swift
public let authTypes: [AuthTypeState]
-
The default authorization type of the user.
Declaration
Swift
public let defaultAuthType: AuthType
-
Creates instance of CheckoutAuthContextGet.
Declaration
Swift
public init(authTypes: [AuthTypeState], defaultAuthType: AuthType)
Parameters
authTypes
The authorization types of the user.
defaultAuthType
The default authorization type of the user.
-
API method for CheckoutAuthContextGet.
See moreDeclaration
Swift
public struct Method : Decodable, Encodable
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public static func makeSpecificError(response: HTTPURLResponse, data: Data) -> Error?