#if __has_include() #import #else #import #endif @class BTPaymentFlowRequest; @class BTPaymentFlowResult; @interface BTPaymentFlowDriver () /** Set up the BTPaymentFlowDriver with a request object and a completion block without starting the flow. @param request A BTPaymentFlowRequest to set on the BTPaymentFlow @param completionBlock This completion will be invoked exactly once when the payment flow is complete or an error occurs. */ - (void)setupPaymentFlow:(BTPaymentFlowRequest *_Nonnull)request completion:(void (^_Nullable)(BTPaymentFlowResult * _Nullable, NSError * _Nullable))completionBlock; /** Exposed for testing - instantiates the SFSafariViewController to be presented */ - (void)informDelegatePresentingViewControllerRequestPresent:(NSURL * _Nullable)appSwitchURL; @end