OPPPazeProcessor

@objc
public final class OPPPazeProcessor : NSObject

Class to process PAZE Payments transaction.

  • Creates an object representing an Paze processor.

    Declaration

    Swift

    @objc
    public init(transaction: OPPTransaction,
                provider: OPPPaymentProvider)

    Parameters

    transaction

    Transaction to process, and it should not be nil.

    provider

    Payment provider for server interactions.

  • Method initiate the paze session. Completion handler will return the updated transaction or error once session ends.

    Declaration

    Swift

    @objc
    public func startPaze(_ completionHandler: @escaping (OPPTransaction?, NSError?) -> Void)