feat: Add HeadlessRepository implementation#1640
Open
bthebladeprimer wants to merge 2 commits into
Open
Conversation
Contributor
Generated by 🚫 Danger Swift against 2450a3c |
10 tasks
58fc9db to
0594847
Compare
85a6802 to
4bcc4a5
Compare
bd63963 to
3871834
Compare
59af837 to
2450a3c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HeadlessRepositoryImpl— the central data repository bridging CheckoutComponents to the existing Headless SDK infrastructureContainerTestsverifying DI container wiringHeadlessRepositorySettingsTestsfor configuration scenariosContext
PR 11 of 16 in the CheckoutComponents feature split. Depends on PR 10 (core interactors, mapper & bridge).
Notion tracker
Test plan
HeadlessRepositoryGetPaymentMethodsTests— verify payment method fetchingHeadlessRepositoryProcessCardPaymentTests— verify card payment processingHeadlessRepositoryPaymentFlowTests— verify end-to-end payment flowHeadlessRepositoryDelegateTests— verify delegate callback handlingHeadlessRepositoryAnalyticsTests— verify analytics event trackingHeadlessRepositoryValidationFlowTests— verify input validationHeadlessRepositorySelectCardNetworkTests— verify card network selectionHeadlessRepositoryVaultTests/VaultMockTests— verify vaulted payment handlingHeadlessRepositoryRawDataManagerDelegateTests— verify raw data manager delegationHeadlessRepositoryOneShotContinuationTests— verify one-shot continuation patternHeadlessRepositoryAdditionalCoverageTests— edge case coverageHeadlessRepositorySettingsTests— verify settings/configurationContainerTests— verify DI container registration