OPPClearPayPaymentParams

@objc
final public class OPPClearPayPaymentParams : OPPPaymentParams, NSCopying

Class to encapsulate all necessary transaction parameters for performing ClearPay Payments transaction.

  • Creates an object representing a ClearPay payment parameters.

    Throws

    The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.

    Declaration

    Swift

    @objc
    public init(checkoutID: String) throws

    Parameters

    checkoutID

    The checkout ID of the transaction. Must be not nil or empty.

    Return Value

    Returns an object representing ClearPay payment parameters.

  • Creates an object representing a ClearPay payment parameters.

    Throws

    The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.

    Declaration

    Swift

    @objc
    public static func clearPayPaymentParams(checkoutID: String) throws -> OPPClearPayPaymentParams

    Parameters

    checkoutID

    The checkout ID of the transaction. Must be not nil or empty.

    Return Value

    Returns an object representing ClearPay payment parameters.