OloPayApiInitializer
@objc
public class OloPayApiInitializer : NSObject, OloPayApiInitializerProtocol
Class to set up and initialize the Olo Pay API
-
Setup the Olo Pay API
Important
This should be called as early as possible in the app, preferably in the AppDelegate or SceneDelegate.Declaration
Swift
public func setup(with parameters: OPSetupParameters? = nil, completion: OPVoidBlock? = nil)