OPPBlikPaymentParams
@objc
public final class OPPBlikPaymentParams : OPPPaymentParams, NSCopying
Class to encapsulate all necessary transaction parameters for performing an Blik transaction.
-
OTP received in the bank app.
Declaration
Swift
@objc public private(set) var otp: String { get }
-
Creates an object representing an Blik transaction.
Throws
The error that occurred while validating payment parameters. See code attribute (OPPErrorCode
) andNSLocalizedDescription
to identify the reason of failure.Declaration
Swift
@objc public static func blikPaymentParams(checkoutID: String, otp: String) throws -> Self
Parameters
checkoutID
The checkout ID of the transaction. Must be not
nil
or empty.otp
OTP received on the mobile phone.
Return Value
Returns an object representing an Blik transaction.
-
Creates an object representing an Blik transaction.
Throws
Throws the error that occurred while validating payment parameters. See code attribute (OPPErrorCode
) andNSLocalizedDescription
to identify the reason of failure.Declaration
Swift
@objc public init(checkoutID: String, otp: String) throws
Parameters
checkoutID
The checkout ID of the transaction. Must be not
nil
or empty.otp
OTP received on the mobile phone.
Return Value
Returns an object representing an Blik transaction.