From f5ed9fe3298029d058f5cd43a611c097a9301d16 Mon Sep 17 00:00:00 2001 From: Carlos Munoz Date: Sun, 22 Dec 2024 20:35:50 +0100 Subject: [PATCH] Updates lookup call to use mobile endpoint on verified flows --- .idea/codestyles/Project.xml | 4 +- ...FinancialConnectionsPlaygroundViewModel.kt | 4 +- financial-connections/detekt-baseline.xml | 1 + ...nancialConnectionsSheetRedirectActivity.kt | 20 +++++++- .../FinancialConnectionsSheetViewModel.kt | 34 +++++++++++++ ...nnectionsSingletonSharedComponentHolder.kt | 9 +++- .../domain/HandleError.kt | 15 ++++-- .../domain/IntegrityVerdictManager.kt | 20 ++++++++ .../domain/LookupAccount.kt | 34 ++++++++++--- .../LookupConsumerAndStartVerification.kt | 11 ++++- .../features/error/ErrorExt.kt | 12 +++++ .../networkinglinksignup/LinkSignupHandler.kt | 6 +-- ...rkingLinkSignupPreviewParameterProvider.kt | 8 +++ .../NetworkingLinkSignupViewModel.kt | 20 ++++++-- .../NetworkingLinkVerificationViewModel.kt | 6 ++- .../FinancialConnectionsSessionManifest.kt | 3 ++ ...inancialConnectionsSheetNativeViewModel.kt | 9 +++- ...ialConnectionsConsumerSessionRepository.kt | 49 +++++++++++++------ .../financialconnections/ApiKeyFixtures.kt | 1 + .../LookupConsumerAndStartVerificationTest.kt | 29 +++++++++-- .../NetworkingLinkSignupViewModelTest.kt | 24 ++++----- ...NetworkingLinkVerificationViewModelTest.kt | 22 ++++++++- ...ctionsConsumerSessionRepositoryImplTest.kt | 2 +- .../utils/TestHandleError.kt | 2 +- .../com/stripe/android/model/EmailSource.kt | 12 +++++ .../android/repository/ConsumersApiService.kt | 46 +++++++++++++++++ 26 files changed, 338 insertions(+), 65 deletions(-) create mode 100644 financial-connections/src/main/java/com/stripe/android/financialconnections/domain/IntegrityVerdictManager.kt create mode 100644 financial-connections/src/main/java/com/stripe/android/financialconnections/features/error/ErrorExt.kt create mode 100644 payments-model/src/main/java/com/stripe/android/model/EmailSource.kt diff --git a/.idea/codestyles/Project.xml b/.idea/codestyles/Project.xml index aa7276802a9..90ee029868b 100644 --- a/.idea/codestyles/Project.xml +++ b/.idea/codestyles/Project.xml @@ -32,8 +32,6 @@ -