SetAppSwitchUseCase

class SetAppSwitchUseCase(appSwitchRepository: AppSwitchRepository, deviceInspector: DeviceInspector = DeviceInspectorProvider().deviceInspector)

Constructors

Link copied to clipboard
constructor(appSwitchRepository: AppSwitchRepository, deviceInspector: DeviceInspector = DeviceInspectorProvider().deviceInspector)

Functions

Link copied to clipboard
operator fun invoke(merchantEnabledAppSwitch: Boolean, appSwitchFlowFromPayPalResponse: Boolean)

Sets the status of the app switch flow. This should be called once the PayPal response is received. Since it is the final check to see if the app switch flow should be shown.