OPPInicisPaymentParams
@interface OPPInicisPaymentParams : OPPPaymentParams
Class to encapsulate all necessary transaction parameters for performing KG Inicis transaction.
-
Creates an object representing a KG Inicis transaction.
Declaration
Objective-C
- (nullable instancetype)initWithCheckoutID:(nonnull NSString *)checkoutID error: (NSError *_Nullable *_Nullable)error;
Swift
init(checkoutID: String) throws
Parameters
checkoutID
The checkout ID of the transaction. Must be not
nil
or empty.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 KG Inicis transaction.
-
Creates an object representing a KG Inicis transaction.
Declaration
Objective-C
+ (nullable instancetype) inicisPaymentParamsWithCheckoutID:(nonnull NSString *)checkoutID error:(NSError *_Nullable *_Nullable)error;
Parameters
checkoutID
The checkout ID of the transaction. Must be not
nil
or empty.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 KG Inicis transaction.