CheckoutTokenIssueInit
public struct CheckoutTokenIssueInit : Decodable, Encodable
extension CheckoutTokenIssueInit: JsonApiResponse
extension CheckoutTokenIssueInit: WalletApiResponse
The process is initiated with the payment token.
-
If
status
equalsuccess
, authRequired will false Ifstatus
equalAuthRequired
, authRequired will trueDeclaration
Swift
public let authRequired: Bool
-
The identifier of the authorization context.
Declaration
Swift
public let authContextId: String?
-
ID the process of obtaining a merchant checkout token payment.
Declaration
Swift
public let processId: String
-
Creates instance of CheckoutTokenIssueInit.
Declaration
Swift
public init(authRequired: Bool, authContextId: String?, processId: String)
Parameters
authContextId
The identifier of the authorization context.
processId
ID the process of obtaining a merchant checkout token payment.
-
API method for CheckoutTokenIssueInit.
See moreDeclaration
Swift
public struct Method : Decodable, Encodable
extension CheckoutTokenIssueInit.Method: ApiMethod
-
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?