Confirmation
public struct Confirmation
extension Confirmation: Codable
Payment confirmation method.
-
Type of custom payment confirmation process. Read more about the scenarios of confirmation of payment by the buyer.
Declaration
Swift
public let type: ConfirmationType
-
Address of the page to which the user will return.
Declaration
Swift
public let returnUrl: String?
-
Creates instance of Confirmation.
Declaration
Swift
public init(type: ConfirmationType, returnUrl: String?)
Parameters
type
Type of custom payment confirmation process. Read more about the scenarios of confirmation of payment by the buyer.
returnUrl
Address of the page to which the user will return.
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws