CheckoutTokenIssueInit
public struct CheckoutTokenIssueInit : Decodable, Encodable
The process is initiated with the payment token to the merchant Yandex.Checkout.
-
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
-
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?