-
Notifications
You must be signed in to change notification settings - Fork 995
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add public configuration field for bank account collector API
- Loading branch information
1 parent
b7b11b7
commit 0806fd7
Showing
14 changed files
with
143 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
24 changes: 24 additions & 0 deletions
24
StripeCore/StripeCore/Source/Connections Bindings/FinancialConnectionsConfiguration.swift
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// FinancialConnectionsConfiguration.swift | ||
// StripeCore | ||
// | ||
// Created by Mat Schmid on 2025-02-10. | ||
// | ||
|
||
import Foundation | ||
|
||
/// Intermediary object between `PaymentSheet.Configuration` / `STPBankAccountCollectorConfiguration` | ||
/// and `FinancialConnectionsSheet.Configuration`. | ||
@_spi(STP) public struct FinancialConnectionsConfiguration { | ||
@_spi(STP) @frozen public enum StyleConfig { | ||
case automatic | ||
case alwaysLight | ||
case alwaysDark | ||
} | ||
|
||
@_spi(STP) public let styleConfig: StyleConfig | ||
|
||
@_spi(STP) public init(styleConfig: StyleConfig = .automatic) { | ||
self.styleConfig = styleConfig | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
19 changes: 0 additions & 19 deletions
19
StripePaymentSheet/StripePaymentSheet/Source/Helpers/ElementsSessionContext+Extensions.swift
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.