Protocols
The following protocols are available globally.
-
Represents an address.
See moreDeclaration
Swift
@objc public protocol ODWAddressProtocol : NSObjectProtocol -
Represents the payment data authorized by Apple Pay
See moreDeclaration
Swift
@objc public protocol ODWPaymentDataProtocol : NSObjectProtocol -
Delegate to hook into important events in the Apple Pay flow
Required
ImplementODWApplePayLauncherDelegate.applePaymentCreated(...)to get payment details that are needed when submitting a basket to the Olo Ordering APIOptional
See more
ImplementODWApplePayLauncherDelegate.applePaymentCompleted(...)to know when the Apple Pay sheet is dismissedDeclaration
Swift
@objc public protocol ODWApplePayLauncherDelegate : NSObjectProtocol -
Protocol for mocking/testing purposes. See
See moreODWApplePayLauncherfor documentationDeclaration
Swift
@objc public protocol ODWApplePayLauncherProtocol : NSObjectProtocol
Protocols Reference