Protocols
The following protocols are available globally.
- 
                  
                  Protocol for mocking/testing purposes. See See moreOloPayApiInitializerfor documentationDeclarationSwift @objc public protocol OloPayApiInitializerProtocol : NSObjectProtocol
- 
                  
                  Protocol to hook into important events in the ApplePay flow Required: Implement applePaymentMethodCreatedto get payment method details that need to be submitted to Olo’s Ordering API when submitting a basket with OloPayOptional: Implement See moreapplePaymentCompletedto know when the ApplePay sheet is dismissedDeclarationSwift @objc public protocol OPApplePayContextDelegate : NSObjectProtocol
- 
                  
                  Protocol for mocking/testing purposes. See See moreOPApplePayContextfor documentationDeclarationSwift @objc public protocol OPApplePayContextProtocol : NSObjectProtocol
- 
                  
                  Defines the interface that should be adopted to receive updates from instances of See moreOPPaymentCardDetailsFormDeclarationSwift @objc public protocol OPPaymentCardDetailsFormDelegate : NSObjectProtocol
- 
                  
                  Protocol to hook into editing events with See moreOPPaymentCardDetailsViewDeclarationSwift @objc public protocol OPPaymentCardDetailsViewDelegate : NSObjectProtocol
- 
                  
                  Protocol for mocking/testing purposes. See See moreOPPaymentMethodfor documentationDeclarationSwift @objc public protocol OPPaymentMethodProtocol : NSObjectProtocol
- 
                  
                  Protocol for mocking/testing purposes. See OPPaymentMethodParamsfor documentationDeclarationSwift @objc public protocol OPPaymentMethodParamsProtocol : NSObjectProtocol
 Protocols  Reference
        Protocols  Reference