diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Headers/KlarnaMobileSDK-Swift.h b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Headers/KlarnaMobileSDK-Swift.h
index a2e134e..3c66357 100644
--- a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Headers/KlarnaMobileSDK-Swift.h
+++ b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Headers/KlarnaMobileSDK-Swift.h
@@ -1072,6 +1072,25 @@ SWIFT_CLASS("_TtC15KlarnaMobileSDK21KlarnaMobileSDKCommon")
@end
+
+/// On Site Messaging placement style configuration.
+SWIFT_CLASS("_TtC15KlarnaMobileSDK27KlarnaOSMStyleConfiguration")
+@interface KlarnaOSMStyleConfiguration : NSObject
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+@class UIColor;
+@class KlarnaTextStyleConfiguration;
+
+SWIFT_CLASS_NAMED("Builder")
+@interface KlarnaOSMStyleBuilder : NSObject
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+- (nonnull instancetype)setBackgroundColor:(UIColor * _Nullable)color SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)setTextStyleConfiguration:(KlarnaTextStyleConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
+- (KlarnaOSMStyleConfiguration * _Nonnull)build SWIFT_WARN_UNUSED_RESULT;
+@end
+
@class UIViewController;
SWIFT_CLASS("_TtC15KlarnaMobileSDK13KlarnaOSMView")
@@ -1079,11 +1098,14 @@ SWIFT_CLASS("_TtC15KlarnaMobileSDK13KlarnaOSMView")
/// View controller (or activity) that will be used to render placement
/// details modally (required). Would be hostActivity
on Android.
@property (nonatomic, weak) UIViewController * _Nullable hostViewController;
+/// Style configuration for the KlarnaOSMView. When not nil it will take precedence over the Theme values and support for dark mode needs to be implemented.
+@property (nonatomic, strong) KlarnaOSMStyleConfiguration * _Nullable styleConfiguration;
/// Initialize OSM view.
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
- (void)layoutSubviews;
- (void)didMoveToWindow;
+- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection;
@end
@@ -2007,7 +2029,6 @@ SWIFT_CLASS("_TtC15KlarnaMobileSDK23KlarnaStandaloneWebView")
@end
@class WKNavigation;
-@class UIColor;
@class WKFrameInfo;
@class WKUserScript;
@protocol WKScriptMessageHandler;
@@ -2114,6 +2135,25 @@ SWIFT_PROTOCOL("_TtP15KlarnaMobileSDK31KlarnaStandaloneWebViewDelegate_")
- (void)klarnaStandaloneWebView:(KlarnaStandaloneWebView * _Nonnull)webView requestMediaCapturePermissionFor:(WKSecurityOrigin * _Nonnull)origin initiatedByFrame:(WKFrameInfo * _Nonnull)frame ofType:(WKMediaCaptureType)type handler:(void (^ _Nonnull)(WKPermissionDecision))handler SWIFT_AVAILABILITY(ios,introduced=15.0);
@end
+
+/// Text style configuration for text elements in Klarna components.
+SWIFT_CLASS("_TtC15KlarnaMobileSDK28KlarnaTextStyleConfiguration")
+@interface KlarnaTextStyleConfiguration : NSObject
+- (nonnull instancetype)init SWIFT_UNAVAILABLE;
++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
+@end
+
+@class UIFont;
+
+SWIFT_CLASS_NAMED("Builder")
+@interface KlarnaTextStyleBuilder : NSObject
+- (nonnull instancetype)setTextColor:(UIColor * _Nullable)color SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)setTextFont:(UIFont * _Nullable)font SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)setTextSize:(CGFloat)size SWIFT_WARN_UNUSED_RESULT;
+- (KlarnaTextStyleConfiguration * _Nonnull)build SWIFT_WARN_UNUSED_RESULT;
+- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
+@end
+
/// Defines the theme (or style) that components should use.
/// The theme will always default to light
. Automatic switching is opt-in. This is because both Klarna
/// and many existing apps that integrate the SDK historically only support a light theme, and we don’t want
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Info.plist b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Info.plist
index 9ef93ec..76cfe6b 100644
Binary files a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Info.plist and b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Info.plist differ
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KEBVersion.json b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KEBVersion.json
index ae29018..e51b922 100644
--- a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KEBVersion.json
+++ b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KEBVersion.json
@@ -1 +1 @@
-v1.0.0-1273-gde2baac
\ No newline at end of file
+v1.0.0-1373-g31bb03f
\ No newline at end of file
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK
index f8f367c..8ebd21c 100755
Binary files a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK and b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK differ
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK-Build.plist b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK-Build.plist
index b0a657c..f1732d8 100644
Binary files a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK-Build.plist and b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK-Build.plist differ
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK-Framework.plist b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK-Framework.plist
index a3aee6d..a4d7d8e 100644
Binary files a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK-Framework.plist and b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/KlarnaMobileSDK-Framework.plist differ
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.abi.json b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.abi.json
index ca7ce38..2720da1 100644
--- a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.abi.json
+++ b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.abi.json
@@ -9072,6 +9072,526 @@
"RawDocComment"
]
},
+ {
+ "kind": "TypeDecl",
+ "name": "KlarnaTextStyleConfiguration",
+ "printedName": "KlarnaTextStyleConfiguration",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "textColor",
+ "printedName": "textColor",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "UIKit.UIColor?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIColor",
+ "printedName": "UIKit.UIColor",
+ "usr": "c:objc(cs)UIColor"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC9textColorSo7UIColorCSgvp",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC9textColorSo7UIColorCSgvp",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "Final",
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "UIKit.UIColor?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIColor",
+ "printedName": "UIKit.UIColor",
+ "usr": "c:objc(cs)UIColor"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC9textColorSo7UIColorCSgvg",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC9textColorSo7UIColorCSgvg",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "textFont",
+ "printedName": "textFont",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "UIKit.UIFont?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIFont",
+ "printedName": "UIKit.UIFont",
+ "usr": "c:objc(cs)UIFont"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC8textFontSo6UIFontCSgvp",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC8textFontSo6UIFontCSgvp",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "Final",
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "UIKit.UIFont?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIFont",
+ "printedName": "UIKit.UIFont",
+ "usr": "c:objc(cs)UIFont"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC8textFontSo6UIFontCSgvg",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC8textFontSo6UIFontCSgvg",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "textSize",
+ "printedName": "textSize",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "CoreGraphics.CGFloat?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "CGFloat",
+ "printedName": "CoreGraphics.CGFloat",
+ "usr": "s:14CoreFoundation7CGFloatV"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC8textSize14CoreFoundation7CGFloatVSgvp",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC8textSize12CoreGraphics7CGFloatVSgvp",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "Final",
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "isLet": true,
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "CoreGraphics.CGFloat?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "CGFloat",
+ "printedName": "CoreGraphics.CGFloat",
+ "usr": "s:14CoreFoundation7CGFloatV"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC8textSize14CoreFoundation7CGFloatVSgvg",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC8textSize12CoreGraphics7CGFloatVSgvg",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
+ "accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Builder",
+ "printedName": "Builder",
+ "children": [
+ {
+ "kind": "Function",
+ "name": "setTextColor",
+ "printedName": "setTextColor(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "DynamicSelf",
+ "printedName": "Self"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "UIKit.UIColor?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIColor",
+ "printedName": "UIKit.UIColor",
+ "usr": "c:objc(cs)UIColor"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC03setD5ColoryAEXDSo7UIColorCSgF",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC03setD5ColoryAEXDSo7UIColorCSgF",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "setTextFont",
+ "printedName": "setTextFont(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "DynamicSelf",
+ "printedName": "Self"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "UIKit.UIFont?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIFont",
+ "printedName": "UIKit.UIFont",
+ "usr": "c:objc(cs)UIFont"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC03setD4FontyAEXDSo6UIFontCSgF",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC03setD4FontyAEXDSo6UIFontCSgF",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "setTextSize",
+ "printedName": "setTextSize(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "DynamicSelf",
+ "printedName": "Self"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "CGFloat",
+ "printedName": "CoreGraphics.CGFloat",
+ "usr": "s:14CoreFoundation7CGFloatV"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC03setD4SizeyAEXD14CoreFoundation7CGFloatVF",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC03setD4SizeyAEXD12CoreGraphics7CGFloatVF",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "build",
+ "printedName": "build()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaTextStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaTextStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaTextStyleConfiguration"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC5buildACyF",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC5buildACyF",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Builder",
+ "printedName": "KlarnaMobileSDK.KlarnaTextStyleConfiguration.Builder",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderCAEycfc",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderCAEycfc",
+ "moduleName": "KlarnaMobileSDK",
+ "overriding": true,
+ "implicit": true,
+ "objc_name": "init",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Override"
+ ],
+ "init_kind": "Designated"
+ }
+ ],
+ "declKind": "Class",
+ "usr": "s:15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC7BuilderC",
+ "moduleName": "KlarnaMobileSDK",
+ "objc_name": "KlarnaTextStyleBuilder",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "superclassUsr": "c:objc(cs)NSObject",
+ "inheritsConvenienceInitializers": true,
+ "superclassNames": [
+ "ObjectiveC.NSObject"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CVarArg",
+ "printedName": "CVarArg",
+ "usr": "s:s7CVarArgP",
+ "mangledName": "$ss7CVarArgP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObservingPublishing",
+ "printedName": "_KeyValueCodingAndObservingPublishing",
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObserving",
+ "printedName": "_KeyValueCodingAndObserving",
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomStringConvertible",
+ "printedName": "CustomStringConvertible",
+ "usr": "s:s23CustomStringConvertibleP",
+ "mangledName": "$ss23CustomStringConvertibleP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomDebugStringConvertible",
+ "printedName": "CustomDebugStringConvertible",
+ "usr": "s:s28CustomDebugStringConvertibleP",
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaTextStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaTextStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaTextStyleConfiguration"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaTextStyleConfiguration(im)init",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationCACycfc",
+ "moduleName": "KlarnaMobileSDK",
+ "overriding": true,
+ "implicit": true,
+ "objc_name": "init",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Override"
+ ],
+ "init_kind": "Designated"
+ }
+ ],
+ "declKind": "Class",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaTextStyleConfiguration",
+ "mangledName": "$s15KlarnaMobileSDK0A22TextStyleConfigurationC",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC",
+ "RawDocComment"
+ ],
+ "superclassUsr": "c:objc(cs)NSObject",
+ "hasMissingDesignatedInitializers": true,
+ "superclassNames": [
+ "ObjectiveC.NSObject"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CVarArg",
+ "printedName": "CVarArg",
+ "usr": "s:s7CVarArgP",
+ "mangledName": "$ss7CVarArgP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObservingPublishing",
+ "printedName": "_KeyValueCodingAndObservingPublishing",
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObserving",
+ "printedName": "_KeyValueCodingAndObserving",
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomStringConvertible",
+ "printedName": "CustomStringConvertible",
+ "usr": "s:s23CustomStringConvertibleP",
+ "mangledName": "$ss23CustomStringConvertibleP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomDebugStringConvertible",
+ "printedName": "CustomDebugStringConvertible",
+ "usr": "s:s28CustomDebugStringConvertibleP",
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
+ }
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
{
"kind": "TypeDecl",
"name": "KlarnaPostPurchaseRenderResult",
@@ -21868,6 +22388,125 @@
}
]
},
+ {
+ "kind": "Var",
+ "name": "styleConfiguration",
+ "printedName": "styleConfiguration",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaOSMStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMStyleConfiguration"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMView(py)styleConfiguration",
+ "mangledName": "$s15KlarnaMobileSDK0A7OSMViewC18styleConfigurationAA0a8OSMStyleF0CSgvp",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "HasInitialValue",
+ "HasStorage",
+ "Custom",
+ "AccessControl",
+ "ObjC",
+ "RawDocComment"
+ ],
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaOSMStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMStyleConfiguration"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMView(im)styleConfiguration",
+ "mangledName": "$s15KlarnaMobileSDK0A7OSMViewC18styleConfigurationAA0a8OSMStyleF0CSgvg",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "declAttributes": [
+ "ObjC"
+ ],
+ "accessorKind": "get"
+ },
+ {
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaOSMStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMStyleConfiguration"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMView(im)setStyleConfiguration:",
+ "mangledName": "$s15KlarnaMobileSDK0A7OSMViewC18styleConfigurationAA0a8OSMStyleF0CSgvs",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "declAttributes": [
+ "ObjC"
+ ],
+ "accessorKind": "set"
+ },
+ {
+ "kind": "Accessor",
+ "name": "Modify",
+ "printedName": "Modify()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A7OSMViewC18styleConfigurationAA0a8OSMStyleF0CSgvM",
+ "mangledName": "$s15KlarnaMobileSDK0A7OSMViewC18styleConfigurationAA0a8OSMStyleF0CSgvM",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "accessorKind": "_modify"
+ }
+ ]
+ },
{
"kind": "Function",
"name": "layoutSubviews",
@@ -21920,6 +22559,46 @@
],
"funcSelfKind": "NonMutating"
},
+ {
+ "kind": "Function",
+ "name": "traitCollectionDidChange",
+ "printedName": "traitCollectionDidChange(_:)",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Optional",
+ "printedName": "UIKit.UITraitCollection?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UITraitCollection",
+ "printedName": "UIKit.UITraitCollection",
+ "usr": "c:objc(cs)UITraitCollection"
+ }
+ ],
+ "usr": "s:Sq"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMView(im)traitCollectionDidChange:",
+ "mangledName": "$s15KlarnaMobileSDK0A7OSMViewC24traitCollectionDidChangeyySo07UITraitF0CSgF",
+ "moduleName": "KlarnaMobileSDK",
+ "overriding": true,
+ "objc_name": "traitCollectionDidChange:",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Custom",
+ "Override",
+ "AccessControl"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
{
"kind": "Var",
"name": "clientId",
@@ -26111,6 +26790,16 @@
"RawDocComment"
]
},
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
{
"kind": "TypeDecl",
"name": "KlarnaDebugEventDelegate",
@@ -31502,34 +32191,326 @@
"printedName": "CustomDebugStringConvertible",
"usr": "s:s28CustomDebugStringConvertibleP",
"mangledName": "$ss28CustomDebugStringConvertibleP"
- },
- {
- "kind": "Conformance",
- "name": "Sendable",
- "printedName": "Sendable",
- "usr": "s:s8SendableP",
- "mangledName": "$ss8SendableP"
- },
- {
- "kind": "Conformance",
- "name": "UITraitChangeObservable",
- "printedName": "UITraitChangeObservable",
- "usr": "s:5UIKit23UITraitChangeObservableP",
- "mangledName": "$s5UIKit23UITraitChangeObservableP"
- },
- {
- "kind": "Conformance",
- "name": "__DefaultCustomPlaygroundQuickLookable",
- "printedName": "__DefaultCustomPlaygroundQuickLookable",
- "usr": "s:s38__DefaultCustomPlaygroundQuickLookableP",
- "mangledName": "$ss38__DefaultCustomPlaygroundQuickLookableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Sendable",
+ "printedName": "Sendable",
+ "usr": "s:s8SendableP",
+ "mangledName": "$ss8SendableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "UITraitChangeObservable",
+ "printedName": "UITraitChangeObservable",
+ "usr": "s:5UIKit23UITraitChangeObservableP",
+ "mangledName": "$s5UIKit23UITraitChangeObservableP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "__DefaultCustomPlaygroundQuickLookable",
+ "printedName": "__DefaultCustomPlaygroundQuickLookable",
+ "usr": "s:s38__DefaultCustomPlaygroundQuickLookableP",
+ "mangledName": "$ss38__DefaultCustomPlaygroundQuickLookableP"
+ }
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "WebKit",
+ "printedName": "WebKit",
+ "declKind": "Import",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "Import",
+ "name": "Foundation",
+ "printedName": "Foundation",
+ "declKind": "Import",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "RawDocComment"
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "KlarnaCheckoutOptions",
+ "printedName": "KlarnaCheckoutOptions",
+ "children": [
+ {
+ "kind": "Var",
+ "name": "merchantHandlesEPM",
+ "printedName": "merchantHandlesEPM",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvp",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvp",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "HasInitialValue",
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvg",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvg",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "accessorKind": "get"
+ },
+ {
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvs",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvs",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "accessorKind": "set"
+ },
+ {
+ "kind": "Accessor",
+ "name": "Modify",
+ "printedName": "Modify()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvM",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvM",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "accessorKind": "_modify"
+ }
+ ]
+ },
+ {
+ "kind": "Var",
+ "name": "merchantHandlesValidationErrors",
+ "printedName": "merchantHandlesValidationErrors",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ }
+ ],
+ "declKind": "Var",
+ "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvp",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvp",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "HasInitialValue",
+ "HasStorage",
+ "AccessControl",
+ "RawDocComment"
+ ],
+ "hasStorage": true,
+ "accessors": [
+ {
+ "kind": "Accessor",
+ "name": "Get",
+ "printedName": "Get()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvg",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvg",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "accessorKind": "get"
+ },
+ {
+ "kind": "Accessor",
+ "name": "Set",
+ "printedName": "Set()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "Bool",
+ "printedName": "Swift.Bool",
+ "usr": "s:Sb"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvs",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvs",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "accessorKind": "set"
+ },
+ {
+ "kind": "Accessor",
+ "name": "Modify",
+ "printedName": "Modify()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Void",
+ "printedName": "()"
+ }
+ ],
+ "declKind": "Accessor",
+ "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvM",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvM",
+ "moduleName": "KlarnaMobileSDK",
+ "implicit": true,
+ "accessorKind": "_modify"
+ }
+ ]
+ },
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaCheckoutOptions",
+ "printedName": "KlarnaMobileSDK.KlarnaCheckoutOptions",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaCheckoutOptions"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaCheckoutOptions(im)init",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsCACycfc",
+ "moduleName": "KlarnaMobileSDK",
+ "overriding": true,
+ "implicit": true,
+ "objc_name": "init",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Override"
+ ],
+ "init_kind": "Designated"
+ }
+ ],
+ "declKind": "Class",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaCheckoutOptions",
+ "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "AccessControl",
+ "RawDocComment",
+ "ObjC"
+ ],
+ "superclassUsr": "c:objc(cs)NSObject",
+ "inheritsConvenienceInitializers": true,
+ "superclassNames": [
+ "ObjectiveC.NSObject"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CVarArg",
+ "printedName": "CVarArg",
+ "usr": "s:s7CVarArgP",
+ "mangledName": "$ss7CVarArgP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObservingPublishing",
+ "printedName": "_KeyValueCodingAndObservingPublishing",
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObserving",
+ "printedName": "_KeyValueCodingAndObserving",
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomStringConvertible",
+ "printedName": "CustomStringConvertible",
+ "usr": "s:s23CustomStringConvertibleP",
+ "mangledName": "$ss23CustomStringConvertibleP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomDebugStringConvertible",
+ "printedName": "CustomDebugStringConvertible",
+ "usr": "s:s28CustomDebugStringConvertibleP",
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
}
]
},
{
"kind": "Import",
- "name": "WebKit",
- "printedName": "WebKit",
+ "name": "Foundation",
+ "printedName": "Foundation",
"declKind": "Import",
"moduleName": "KlarnaMobileSDK",
"declAttributes": [
@@ -31548,31 +32529,40 @@
},
{
"kind": "TypeDecl",
- "name": "KlarnaCheckoutOptions",
- "printedName": "KlarnaCheckoutOptions",
+ "name": "KlarnaOSMStyleConfiguration",
+ "printedName": "KlarnaOSMStyleConfiguration",
"children": [
{
"kind": "Var",
- "name": "merchantHandlesEPM",
- "printedName": "merchantHandlesEPM",
+ "name": "backgroundColor",
+ "printedName": "backgroundColor",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
+ "name": "Optional",
+ "printedName": "UIKit.UIColor?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIColor",
+ "printedName": "UIKit.UIColor",
+ "usr": "c:objc(cs)UIColor"
+ }
+ ],
+ "usr": "s:Sq"
}
],
"declKind": "Var",
- "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvp",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvp",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC15backgroundColorSo7UIColorCSgvp",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC15backgroundColorSo7UIColorCSgvp",
"moduleName": "KlarnaMobileSDK",
"declAttributes": [
- "HasInitialValue",
+ "Final",
"HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
"hasStorage": true,
"accessors": [
{
@@ -31582,84 +32572,62 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
- }
- ],
- "declKind": "Accessor",
- "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvg",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvg",
- "moduleName": "KlarnaMobileSDK",
- "implicit": true,
- "accessorKind": "get"
- },
- {
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- },
- {
- "kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
+ "name": "Optional",
+ "printedName": "UIKit.UIColor?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIColor",
+ "printedName": "UIKit.UIColor",
+ "usr": "c:objc(cs)UIColor"
+ }
+ ],
+ "usr": "s:Sq"
}
],
"declKind": "Accessor",
- "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvs",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvs",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC15backgroundColorSo7UIColorCSgvg",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC15backgroundColorSo7UIColorCSgvg",
"moduleName": "KlarnaMobileSDK",
"implicit": true,
- "accessorKind": "set"
- },
- {
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
- "children": [
- {
- "kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
- }
+ "declAttributes": [
+ "Final"
],
- "declKind": "Accessor",
- "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvM",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC18merchantHandlesEPMSbvM",
- "moduleName": "KlarnaMobileSDK",
- "implicit": true,
- "accessorKind": "_modify"
+ "accessorKind": "get"
}
]
},
{
"kind": "Var",
- "name": "merchantHandlesValidationErrors",
- "printedName": "merchantHandlesValidationErrors",
+ "name": "textStyleConfiguration",
+ "printedName": "textStyleConfiguration",
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
+ "name": "Optional",
+ "printedName": "KlarnaMobileSDK.KlarnaTextStyleConfiguration?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaTextStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaTextStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaTextStyleConfiguration"
+ }
+ ],
+ "usr": "s:Sq"
}
],
"declKind": "Var",
- "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvp",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvp",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC09textStyleE0AA0a4TextgE0CSgvp",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC09textStyleE0AA0a4TextgE0CSgvp",
"moduleName": "KlarnaMobileSDK",
"declAttributes": [
- "HasInitialValue",
+ "Final",
"HasStorage",
"AccessControl",
"RawDocComment"
],
+ "isLet": true,
"hasStorage": true,
"accessors": [
{
@@ -31669,59 +32637,210 @@
"children": [
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
+ "name": "Optional",
+ "printedName": "KlarnaMobileSDK.KlarnaTextStyleConfiguration?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaTextStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaTextStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaTextStyleConfiguration"
+ }
+ ],
+ "usr": "s:Sq"
}
],
"declKind": "Accessor",
- "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvg",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvg",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC09textStyleE0AA0a4TextgE0CSgvg",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC09textStyleE0AA0a4TextgE0CSgvg",
"moduleName": "KlarnaMobileSDK",
"implicit": true,
+ "declAttributes": [
+ "Final"
+ ],
"accessorKind": "get"
+ }
+ ]
+ },
+ {
+ "kind": "TypeDecl",
+ "name": "Builder",
+ "printedName": "Builder",
+ "children": [
+ {
+ "kind": "Constructor",
+ "name": "init",
+ "printedName": "init()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "Builder",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration.Builder",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC"
+ }
+ ],
+ "declKind": "Constructor",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderCAEycfc",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderCAEycfc",
+ "moduleName": "KlarnaMobileSDK",
+ "overriding": true,
+ "objc_name": "init",
+ "declAttributes": [
+ "Dynamic",
+ "ObjC",
+ "Override",
+ "AccessControl"
+ ],
+ "init_kind": "Designated"
},
{
- "kind": "Accessor",
- "name": "Set",
- "printedName": "Set()",
+ "kind": "Function",
+ "name": "setBackgroundColor",
+ "printedName": "setBackgroundColor(_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
+ "name": "DynamicSelf",
+ "printedName": "Self"
},
{
"kind": "TypeNominal",
- "name": "Bool",
- "printedName": "Swift.Bool",
- "usr": "s:Sb"
+ "name": "Optional",
+ "printedName": "UIKit.UIColor?",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "UIColor",
+ "printedName": "UIKit.UIColor",
+ "usr": "c:objc(cs)UIColor"
+ }
+ ],
+ "usr": "s:Sq"
}
],
- "declKind": "Accessor",
- "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvs",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvs",
+ "declKind": "Func",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC18setBackgroundColoryAEXDSo7UIColorCSgF",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC18setBackgroundColoryAEXDSo7UIColorCSgF",
"moduleName": "KlarnaMobileSDK",
- "implicit": true,
- "accessorKind": "set"
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "funcSelfKind": "NonMutating"
},
{
- "kind": "Accessor",
- "name": "Modify",
- "printedName": "Modify()",
+ "kind": "Function",
+ "name": "setTextStyleConfiguration",
+ "printedName": "setTextStyleConfiguration(_:)",
"children": [
{
"kind": "TypeNominal",
- "name": "Void",
- "printedName": "()"
+ "name": "DynamicSelf",
+ "printedName": "Self"
+ },
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaTextStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaTextStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaTextStyleConfiguration"
}
],
- "declKind": "Accessor",
- "usr": "s:15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvM",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC31merchantHandlesValidationErrorsSbvM",
+ "declKind": "Func",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC012setTextStyleE0yAEXDAA0ahiE0CF",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC012setTextStyleE0yAEXDAA0ahiE0CF",
"moduleName": "KlarnaMobileSDK",
- "implicit": true,
- "accessorKind": "_modify"
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "funcSelfKind": "NonMutating"
+ },
+ {
+ "kind": "Function",
+ "name": "build",
+ "printedName": "build()",
+ "children": [
+ {
+ "kind": "TypeNominal",
+ "name": "KlarnaOSMStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMStyleConfiguration"
+ }
+ ],
+ "declKind": "Func",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC5buildACyF",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC5buildACyF",
+ "moduleName": "KlarnaMobileSDK",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "funcSelfKind": "NonMutating"
+ }
+ ],
+ "declKind": "Class",
+ "usr": "s:15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC7BuilderC",
+ "moduleName": "KlarnaMobileSDK",
+ "objc_name": "KlarnaOSMStyleBuilder",
+ "declAttributes": [
+ "AccessControl",
+ "ObjC"
+ ],
+ "superclassUsr": "c:objc(cs)NSObject",
+ "inheritsConvenienceInitializers": true,
+ "superclassNames": [
+ "ObjectiveC.NSObject"
+ ],
+ "conformances": [
+ {
+ "kind": "Conformance",
+ "name": "Equatable",
+ "printedName": "Equatable",
+ "usr": "s:SQ",
+ "mangledName": "$sSQ"
+ },
+ {
+ "kind": "Conformance",
+ "name": "Hashable",
+ "printedName": "Hashable",
+ "usr": "s:SH",
+ "mangledName": "$sSH"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CVarArg",
+ "printedName": "CVarArg",
+ "usr": "s:s7CVarArgP",
+ "mangledName": "$ss7CVarArgP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObservingPublishing",
+ "printedName": "_KeyValueCodingAndObservingPublishing",
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "_KeyValueCodingAndObserving",
+ "printedName": "_KeyValueCodingAndObserving",
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomStringConvertible",
+ "printedName": "CustomStringConvertible",
+ "usr": "s:s23CustomStringConvertibleP",
+ "mangledName": "$ss23CustomStringConvertibleP"
+ },
+ {
+ "kind": "Conformance",
+ "name": "CustomDebugStringConvertible",
+ "printedName": "CustomDebugStringConvertible",
+ "usr": "s:s28CustomDebugStringConvertibleP",
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
}
]
},
@@ -31732,14 +32851,14 @@
"children": [
{
"kind": "TypeNominal",
- "name": "KlarnaCheckoutOptions",
- "printedName": "KlarnaMobileSDK.KlarnaCheckoutOptions",
- "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaCheckoutOptions"
+ "name": "KlarnaOSMStyleConfiguration",
+ "printedName": "KlarnaMobileSDK.KlarnaOSMStyleConfiguration",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMStyleConfiguration"
}
],
"declKind": "Constructor",
- "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaCheckoutOptions(im)init",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsCACycfc",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMStyleConfiguration(im)init",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationCACycfc",
"moduleName": "KlarnaMobileSDK",
"overriding": true,
"implicit": true,
@@ -31753,16 +32872,16 @@
}
],
"declKind": "Class",
- "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaCheckoutOptions",
- "mangledName": "$s15KlarnaMobileSDK0A15CheckoutOptionsC",
+ "usr": "c:@M@KlarnaMobileSDK@objc(cs)KlarnaOSMStyleConfiguration",
+ "mangledName": "$s15KlarnaMobileSDK0A21OSMStyleConfigurationC",
"moduleName": "KlarnaMobileSDK",
"declAttributes": [
"AccessControl",
- "RawDocComment",
- "ObjC"
+ "ObjC",
+ "RawDocComment"
],
"superclassUsr": "c:objc(cs)NSObject",
- "inheritsConvenienceInitializers": true,
+ "hasMissingDesignatedInitializers": true,
"superclassNames": [
"ObjectiveC.NSObject"
],
@@ -31818,16 +32937,6 @@
}
]
},
- {
- "kind": "Import",
- "name": "Foundation",
- "printedName": "Foundation",
- "declKind": "Import",
- "moduleName": "KlarnaMobileSDK",
- "declAttributes": [
- "RawDocComment"
- ]
- },
{
"kind": "Import",
"name": "UIKit",
@@ -46676,6 +47785,20 @@
"length": 20,
"value": "\"registerCardIframe\""
},
+ {
+ "filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Public\/Common\/Models\/KlarnaTextStyleConfiguration.swift",
+ "kind": "IntegerLiteral",
+ "offset": 983,
+ "length": 1,
+ "value": "0"
+ },
+ {
+ "filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Public\/Common\/Models\/KlarnaTextStyleConfiguration.swift",
+ "kind": "StringLiteral",
+ "offset": 286,
+ "length": 28,
+ "value": "\"KlarnaMobileSDK.KlarnaTextStyleConfiguration\""
+ },
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Public\/Post-purchase\/Models\/KlarnaPostPurchaseRenderResult.swift",
"kind": "StringLiteral",
@@ -48303,37 +49426,37 @@
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Extensions\/NSMutableAttributedString+Extensions.swift",
"kind": "IntegerLiteral",
- "offset": 297,
+ "offset": 336,
"length": 2,
"value": "14"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Extensions\/NSMutableAttributedString+Extensions.swift",
"kind": "IntegerLiteral",
- "offset": 965,
+ "offset": 1084,
"length": 2,
"value": "14"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Extensions\/NSMutableAttributedString+Extensions.swift",
"kind": "IntegerLiteral",
- "offset": 1643,
+ "offset": 1842,
"length": 2,
"value": "14"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Extensions\/NSMutableAttributedString+Extensions.swift",
"kind": "IntegerLiteral",
- "offset": 2317,
+ "offset": 2596,
"length": 2,
"value": "14"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Extensions\/NSMutableAttributedString+Extensions.swift",
"kind": "IntegerLiteral",
- "offset": 3052,
+ "offset": 3385,
"length": 2,
- "value": "16"
+ "value": "14"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Analytics\/Payloads\/DevicePayload.swift",
@@ -48611,21 +49734,21 @@
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Internal Web View\/Models\/BrowserInfo.swift",
"kind": "StringLiteral",
- "offset": 2109,
+ "offset": 2135,
"length": 13,
"value": "\"wk_web_view\""
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Internal Web View\/Models\/BrowserInfo.swift",
"kind": "StringLiteral",
- "offset": 2260,
+ "offset": 2286,
"length": 10,
"value": "\"web_view\""
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Internal Web View\/Models\/BrowserInfo.swift",
"kind": "StringLiteral",
- "offset": 2260,
+ "offset": 2286,
"length": 10,
"value": "\"web_view\""
},
@@ -49003,37 +50126,44 @@
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/OSM\/KlarnaOSMView.swift",
"kind": "IntegerLiteral",
- "offset": 826,
+ "offset": 1235,
"length": 2,
"value": "15"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/OSM\/KlarnaOSMView.swift",
"kind": "BooleanLiteral",
- "offset": 891,
+ "offset": 1300,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/OSM\/KlarnaOSMView.swift",
"kind": "IntegerLiteral",
- "offset": 1193,
+ "offset": 1653,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/OSM\/KlarnaOSMView.swift",
"kind": "BooleanLiteral",
- "offset": 1257,
+ "offset": 1717,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/OSM\/KlarnaOSMView.swift",
- "kind": "IntegerLiteral",
- "offset": 1591,
- "length": 1,
- "value": "0"
+ "kind": "BooleanLiteral",
+ "offset": 2044,
+ "length": 5,
+ "value": "false"
+ },
+ {
+ "filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/OSM\/KlarnaOSMView.swift",
+ "kind": "BooleanLiteral",
+ "offset": 2080,
+ "length": 5,
+ "value": "false"
},
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Cardscan\/External Source\/API.swift",
@@ -49115,10 +50245,17 @@
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/OSM\/KlarnaOSMController.swift",
"kind": "StringLiteral",
- "offset": 8785,
+ "offset": 9109,
"length": 10,
"value": "\"osm_demo\""
},
+ {
+ "filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/OSM\/KlarnaOSMController.swift",
+ "kind": "StringLiteral",
+ "offset": 122,
+ "length": 19,
+ "value": "\"KlarnaMobileSDK.KlarnaOSMController\""
+ },
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Hybrid\/HybridSDKController.swift",
"kind": "BooleanLiteral",
@@ -49658,6 +50795,13 @@
"length": 4,
"value": "true"
},
+ {
+ "filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Analytics\/Payloads\/CardScanningPayload.swift",
+ "kind": "StringLiteral",
+ "offset": 260,
+ "length": 14,
+ "value": "\"cardScanning\""
+ },
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Standalone Web View\/StandaloneWebViewController.swift",
"kind": "Array",
@@ -50274,6 +51418,13 @@
"length": 15,
"value": "\"setExperiment\""
},
+ {
+ "filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Public\/On-site Messaging\/Models\/KlarnaOSMStyleConfiguration.swift",
+ "kind": "StringLiteral",
+ "offset": 269,
+ "length": 27,
+ "value": "\"KlarnaMobileSDK.KlarnaOSMStyleConfiguration\""
+ },
{
"filePath": "\/Users\/ec2-user\/Jenkins\/workspace\/klarna_mobile_sdk_ios_master\/sdk\/Sources\/Internal\/Shared\/Info\/MerchantAppInfo.swift",
"kind": "BooleanLiteral",
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.private.swiftinterface b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.private.swiftinterface
index 3ab7c25..fb45df8 100644
--- a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.private.swiftinterface
+++ b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.private.swiftinterface
@@ -275,6 +275,20 @@ extension UIKit.UIFont {
required public init(from dictionary: [Swift.String : Swift.String])
@objc deinit
}
+@_hasMissingDesignatedInitializers @objc public class KlarnaTextStyleConfiguration : ObjectiveC.NSObject {
+ final public let textColor: UIKit.UIColor?
+ final public let textFont: UIKit.UIFont?
+ final public let textSize: CoreFoundation.CGFloat?
+ @_inheritsConvenienceInitializers @objc(KlarnaTextStyleBuilder) public class Builder : ObjectiveC.NSObject {
+ @objc public func setTextColor(_ color: UIKit.UIColor?) -> Self
+ @objc public func setTextFont(_ font: UIKit.UIFont?) -> Self
+ @objc public func setTextSize(_ size: CoreFoundation.CGFloat) -> Self
+ @objc public func build() -> KlarnaMobileSDK.KlarnaTextStyleConfiguration
+ @objc override dynamic public init()
+ @objc deinit
+ }
+ @objc deinit
+}
@objc public enum KlarnaPostPurchaseRenderResult : Swift.Int, Swift.CustomDebugStringConvertible, Swift.Codable {
case noStateChange = 1
case stateChange = 2
@@ -775,8 +789,10 @@ public protocol KlarnaPaymentViewDelegate : KlarnaMobileSDK.KlarnaEventHandler {
}
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor(unsafe) public class KlarnaOSMView : UIKit.UIView {
@objc @_Concurrency.MainActor(unsafe) weak public var hostViewController: UIKit.UIViewController?
+ @objc @_Concurrency.MainActor(unsafe) public var styleConfiguration: KlarnaMobileSDK.KlarnaOSMStyleConfiguration?
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
@_Concurrency.MainActor(unsafe) @objc override dynamic public func didMoveToWindow()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?)
@objc deinit
}
@objc public protocol KlarnaSingleComponent : KlarnaMobileSDK.KlarnaComponent {
@@ -1275,6 +1291,18 @@ extension KlarnaMobileSDK.KlarnaStandaloneWebView : KlarnaMobileSDK.KlarnaStanda
@objc override dynamic public init()
@objc deinit
}
+@_hasMissingDesignatedInitializers @objc public class KlarnaOSMStyleConfiguration : ObjectiveC.NSObject {
+ final public let backgroundColor: UIKit.UIColor?
+ final public let textStyleConfiguration: KlarnaMobileSDK.KlarnaTextStyleConfiguration?
+ @_inheritsConvenienceInitializers @objc(KlarnaOSMStyleBuilder) public class Builder : ObjectiveC.NSObject {
+ @objc override dynamic public init()
+ @objc public func setBackgroundColor(_ color: UIKit.UIColor?) -> Self
+ @objc public func setTextStyleConfiguration(_ configuration: KlarnaMobileSDK.KlarnaTextStyleConfiguration) -> Self
+ @objc public func build() -> KlarnaMobileSDK.KlarnaOSMStyleConfiguration
+ @objc deinit
+ }
+ @objc deinit
+}
public struct KlarnaSignInToken : Swift.Codable {
public let idToken: Swift.String?
public let accessToken: Swift.String?
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.swiftdoc b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.swiftdoc
index 3d515c4..bc364ad 100644
Binary files a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.swiftdoc and b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.swiftdoc differ
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.swiftinterface b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.swiftinterface
index 3ab7c25..fb45df8 100644
--- a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.swiftinterface
+++ b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/Modules/KlarnaMobileSDK.swiftmodule/arm64-apple-ios.swiftinterface
@@ -275,6 +275,20 @@ extension UIKit.UIFont {
required public init(from dictionary: [Swift.String : Swift.String])
@objc deinit
}
+@_hasMissingDesignatedInitializers @objc public class KlarnaTextStyleConfiguration : ObjectiveC.NSObject {
+ final public let textColor: UIKit.UIColor?
+ final public let textFont: UIKit.UIFont?
+ final public let textSize: CoreFoundation.CGFloat?
+ @_inheritsConvenienceInitializers @objc(KlarnaTextStyleBuilder) public class Builder : ObjectiveC.NSObject {
+ @objc public func setTextColor(_ color: UIKit.UIColor?) -> Self
+ @objc public func setTextFont(_ font: UIKit.UIFont?) -> Self
+ @objc public func setTextSize(_ size: CoreFoundation.CGFloat) -> Self
+ @objc public func build() -> KlarnaMobileSDK.KlarnaTextStyleConfiguration
+ @objc override dynamic public init()
+ @objc deinit
+ }
+ @objc deinit
+}
@objc public enum KlarnaPostPurchaseRenderResult : Swift.Int, Swift.CustomDebugStringConvertible, Swift.Codable {
case noStateChange = 1
case stateChange = 2
@@ -775,8 +789,10 @@ public protocol KlarnaPaymentViewDelegate : KlarnaMobileSDK.KlarnaEventHandler {
}
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor(unsafe) public class KlarnaOSMView : UIKit.UIView {
@objc @_Concurrency.MainActor(unsafe) weak public var hostViewController: UIKit.UIViewController?
+ @objc @_Concurrency.MainActor(unsafe) public var styleConfiguration: KlarnaMobileSDK.KlarnaOSMStyleConfiguration?
@_Concurrency.MainActor(unsafe) @objc override dynamic public func layoutSubviews()
@_Concurrency.MainActor(unsafe) @objc override dynamic public func didMoveToWindow()
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?)
@objc deinit
}
@objc public protocol KlarnaSingleComponent : KlarnaMobileSDK.KlarnaComponent {
@@ -1275,6 +1291,18 @@ extension KlarnaMobileSDK.KlarnaStandaloneWebView : KlarnaMobileSDK.KlarnaStanda
@objc override dynamic public init()
@objc deinit
}
+@_hasMissingDesignatedInitializers @objc public class KlarnaOSMStyleConfiguration : ObjectiveC.NSObject {
+ final public let backgroundColor: UIKit.UIColor?
+ final public let textStyleConfiguration: KlarnaMobileSDK.KlarnaTextStyleConfiguration?
+ @_inheritsConvenienceInitializers @objc(KlarnaOSMStyleBuilder) public class Builder : ObjectiveC.NSObject {
+ @objc override dynamic public init()
+ @objc public func setBackgroundColor(_ color: UIKit.UIColor?) -> Self
+ @objc public func setTextStyleConfiguration(_ configuration: KlarnaMobileSDK.KlarnaTextStyleConfiguration) -> Self
+ @objc public func build() -> KlarnaMobileSDK.KlarnaOSMStyleConfiguration
+ @objc deinit
+ }
+ @objc deinit
+}
public struct KlarnaSignInToken : Swift.Codable {
public let idToken: Swift.String?
public let accessToken: Swift.String?
diff --git a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/PaymentsWrapper.html b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/PaymentsWrapper.html
index 930c0d2..e7463ac 100644
--- a/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/PaymentsWrapper.html
+++ b/KlarnaMobileSDK.xcframework/ios-arm64/KlarnaMobileSDK.framework/PaymentsWrapper.html
@@ -1,2 +1,2 @@