OPPBlikPaymentParams
@interface OPPBlikPaymentParams : OPPPaymentParams
Class to encapsulate all necessary transaction parameters for performing an Blik transaction.
-
Creates an object representing an Blik transaction.
Declaration
Objective-C
+ (nullable instancetype) blikPaymentParamsWithCheckoutID:(nonnull NSString *)checkoutID otp:(nonnull NSString *)otp error:(NSError *_Nullable *_Nullable)error;
Swift
convenience init(checkoutID: String, otp: String) throws
Parameters
checkoutID
The checkout ID of the transaction. Must be not
nil
or empty.otp
received on the mobile phone.
error
The error that occurred while validating payment parameters. See code attribute (
OPPErrorCode
) andNSLocalizedDescription
to identify the reason of failure.Return Value
Returns an object representing an Blik transaction.
-
OTP received in the bank app.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull otp;
Swift
var otp: String { get }