Skip to content

Commit

Permalink
Integrate new version of CheckoutComponentsSDK
Browse files Browse the repository at this point in the history
  • Loading branch information
okhan-okbay-cko authored and okhan-okbay-cko committed Jan 29, 2025
1 parent 5a4293c commit f83009e
Show file tree
Hide file tree
Showing 12 changed files with 325 additions and 277 deletions.
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ import _Concurrency
import _PassKit_SwiftUI
import _StringProcessing
import _SwiftConcurrencyShims
public struct CheckoutComponents {
public struct CheckoutComponents : Swift.Sendable {
public init(configuration: CheckoutComponentsSDK.CheckoutComponents.Configuration)
#if compiler(>=5.3) && $TypedThrows
public func create(_ type: CheckoutComponentsSDK.CheckoutComponents.PaymentMethod) throws(CheckoutComponentsSDK.CheckoutComponents.Error) -> any CheckoutComponentsSDK.CheckoutComponents.Actionable
@_Concurrency.MainActor public func create(_ type: CheckoutComponentsSDK.CheckoutComponents.PaymentMethod) throws(CheckoutComponentsSDK.CheckoutComponents.Error) -> any CheckoutComponentsSDK.CheckoutComponents.Actionable
#endif
#if compiler(>=5.3) && $TypedThrows
public func create(_ type: CheckoutComponentsSDK.CheckoutComponents.Component) throws(CheckoutComponentsSDK.CheckoutComponents.Error) -> any CheckoutComponentsSDK.CheckoutComponents.Actionable
@_Concurrency.MainActor public func create(_ type: CheckoutComponentsSDK.CheckoutComponents.Component) throws(CheckoutComponentsSDK.CheckoutComponents.Error) -> any CheckoutComponentsSDK.CheckoutComponents.Actionable
#endif
}
public enum CommonUIConstants {
public enum CommonUIConstants : Swift.Sendable {
public static let cornerRadius: CoreFoundation.CGFloat
public static let formCornerRadius: CoreFoundation.CGFloat
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ import _Concurrency
import _PassKit_SwiftUI
import _StringProcessing
import _SwiftConcurrencyShims
public struct CheckoutComponents {
public struct CheckoutComponents : Swift.Sendable {
public init(configuration: CheckoutComponentsSDK.CheckoutComponents.Configuration)
#if compiler(>=5.3) && $TypedThrows
public func create(_ type: CheckoutComponentsSDK.CheckoutComponents.PaymentMethod) throws(CheckoutComponentsSDK.CheckoutComponents.Error) -> any CheckoutComponentsSDK.CheckoutComponents.Actionable
@_Concurrency.MainActor public func create(_ type: CheckoutComponentsSDK.CheckoutComponents.PaymentMethod) throws(CheckoutComponentsSDK.CheckoutComponents.Error) -> any CheckoutComponentsSDK.CheckoutComponents.Actionable
#endif
#if compiler(>=5.3) && $TypedThrows
public func create(_ type: CheckoutComponentsSDK.CheckoutComponents.Component) throws(CheckoutComponentsSDK.CheckoutComponents.Error) -> any CheckoutComponentsSDK.CheckoutComponents.Actionable
@_Concurrency.MainActor public func create(_ type: CheckoutComponentsSDK.CheckoutComponents.Component) throws(CheckoutComponentsSDK.CheckoutComponents.Error) -> any CheckoutComponentsSDK.CheckoutComponents.Actionable
#endif
}
public enum CommonUIConstants {
public enum CommonUIConstants : Swift.Sendable {
public static let cornerRadius: CoreFoundation.CGFloat
public static let formCornerRadius: CoreFoundation.CGFloat
}
Expand Down
Binary file not shown.
Loading

0 comments on commit f83009e

Please sign in to comment.