diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd536197b..56a559baa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,6 +113,8 @@ jobs: - '.ci/changed-file-filters.yml' - '.github/workflows/ci.yml' scripts: + - 'platforms/swift/Scripts/api' + - 'platforms/swift/Scripts/normalize-api.jq' - 'scripts/lib/**' - 'scripts/test_ruby' - 'scripts/test/**' diff --git a/platforms/swift/Scripts/api b/platforms/swift/Scripts/api index 561c49d29..8aa249c43 100755 --- a/platforms/swift/Scripts/api +++ b/platforms/swift/Scripts/api @@ -68,7 +68,14 @@ dump_module() { -abort-on-module-fail \ -avoid-location \ -avoid-tool-args \ - -o "$out_path" + -o "$DERIVED_DATA/$module.raw.json" + + normalize_module "$DERIVED_DATA/$module.raw.json" "$out_path" +} + +normalize_module() { + # dump and check use the same canonical representation, including nested types. + jq -f "$SCRIPT_DIR/normalize-api.jq" "$1" > "$2" } diagnose_module() { @@ -120,7 +127,10 @@ case "$SUBCOMMAND" in dump_module "$module" "$current" - if ! diff -u "$committed" "$current"; then + normalized_committed="$TMP_OUT/$module.committed.normalized.json" + normalize_module "$committed" "$normalized_committed" + + if ! diff -u "$normalized_committed" "$current"; then failed_modules+=("$module") echo "" echo "── swift-api-digester -diagnose-sdk ($module) ──" diff --git a/platforms/swift/Scripts/normalize-api.jq b/platforms/swift/Scripts/normalize-api.jq new file mode 100644 index 000000000..829df02a1 --- /dev/null +++ b/platforms/swift/Scripts/normalize-api.jq @@ -0,0 +1,18 @@ +# swift-api-digester visits declarations from separate files/extensions in build +# order. Canonicalize declaration lists at the module and every nested type. +# Stored properties and enum cases retain their relative order; their layout can +# matter. Unknown node kinds also retain their order rather than assuming safety. +# Never sort type/parameter children, conformances, or other metadata arrays. +def unordered_declaration: + .hasStorage != true and .declKind != "EnumElement" and + (.kind | IN("Constructor", "Function", "TypeAlias", "TypeDecl", "Var")); + +walk( + if type == "object" and (.kind == "Root" or .kind == "TypeDecl") and + (.children | type) == "array" then + .children |= ( + map(select(unordered_declaration | not)) + + (map(select(unordered_declaration)) | sort_by(.kind, .printedName, .usr)) + ) + else . end +) diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutError.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutError.swift index c131fc0a4..85495ed63 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutError.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutError.swift @@ -106,7 +106,7 @@ extension CheckoutError { CheckoutError(code: .unknown, message: message, underlyingError: underlyingError) } - internal static func terminalProtocol(error: ErrorResponse) -> CheckoutError { + internal static func terminalProtocol(error: EmbeddedCheckoutProtocol.ErrorResponse) -> CheckoutError { let representative = error.messages.first { $0.type == .error && $0.severity == .unrecoverable } diff --git a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebView.swift b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebView.swift index 7e2ca1034..ac0d1dc52 100644 --- a/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebView.swift +++ b/platforms/swift/Sources/ShopifyCheckoutKit/CheckoutWebView.swift @@ -356,7 +356,7 @@ class CheckoutWebView: WKWebView { ) } .on(CheckoutProtocol.ready) { _ in - ReadyResult(checkout: nil, credential: nil, ucp: .success(), upgrade: nil, continueURL: nil, messages: nil) + EmbeddedCheckoutProtocol.ReadyResult(checkout: nil, credential: nil, ucp: .success(), upgrade: nil, continueURL: nil, messages: nil) } .on(CheckoutProtocol.complete) { [weak self] _ in guard let self else { return } @@ -805,7 +805,7 @@ extension CheckoutWebView: WKScriptMessageHandler { } private struct TerminalErrorNotification: Decodable { - let params: JSONRPCErrorParams + let params: EmbeddedCheckoutProtocol.JSONRPCErrorParams } extension UIApplication { diff --git a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift index 658fb5ef7..3d8418aa1 100644 --- a/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift +++ b/platforms/swift/Tests/ShopifyCheckoutKitTests/CheckoutProtocolTests.swift @@ -99,7 +99,7 @@ struct WindowOpenDelegationTests { @Test func requestPayloadDecodesValidURL() throws { let payload = try JSONDecoder().decode( - WindowOpenRequest.self, + EmbeddedCheckoutProtocol.WindowOpenRequest.self, from: Data(#"{"url":"https://example.com/terms"}"#.utf8) ) #expect(payload.url == "https://example.com/terms") @@ -107,20 +107,20 @@ struct WindowOpenDelegationTests { } @Test func parsedURLIsNilForEmptyURL() { - #expect(WindowOpenRequest(url: "").parsedURL == nil) + #expect(EmbeddedCheckoutProtocol.WindowOpenRequest(url: "").parsedURL == nil) } @Test func requestPayloadRejectsMissingURL() { - #expect((try? JSONDecoder().decode(WindowOpenRequest.self, from: Data("{}".utf8))) == nil) + #expect((try? JSONDecoder().decode(EmbeddedCheckoutProtocol.WindowOpenRequest.self, from: Data("{}".utf8))) == nil) } @Test func requestPayloadRejectsNullURL() { - #expect((try? JSONDecoder().decode(WindowOpenRequest.self, from: Data(#"{"url":null}"#.utf8))) == nil) + #expect((try? JSONDecoder().decode(EmbeddedCheckoutProtocol.WindowOpenRequest.self, from: Data(#"{"url":null}"#.utf8))) == nil) } private struct EncodingFailure: Error {} - private func encode(_ result: WindowOpenResult) throws -> [String: Any] { + private func encode(_ result: EmbeddedCheckoutProtocol.WindowOpenResult) throws -> [String: Any] { let encoder = JSONEncoder() encoder.outputFormatting = [.sortedKeys] let data = try encoder.encode(result) diff --git a/platforms/swift/api/EmbeddedCheckoutProtocol.json b/platforms/swift/api/EmbeddedCheckoutProtocol.json index 986848976..c531c3cfb 100644 --- a/platforms/swift/api/EmbeddedCheckoutProtocol.json +++ b/platforms/swift/api/EmbeddedCheckoutProtocol.json @@ -41,107 +41,75 @@ }, { "kind": "TypeDecl", - "name": "EventPayload", - "printedName": "EventPayload", - "declKind": "Protocol", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "declKind": "Protocol", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + "name": "Adjustment", + "printedName": "Adjustment", + "children": [ { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - } - ] - }, - { - "kind": "TypeDecl", - "name": "NotificationDescriptor", - "printedName": "NotificationDescriptor", - "children": [ { "kind": "Var", - "name": "method", - "printedName": "method", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -151,8 +119,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -173,10 +141,9 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -186,166 +153,144 @@ ] }, { - "kind": "Function", - "name": "map", - "printedName": "map(_:)", + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Mapped" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Handler) -> Mapped", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Mapped" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" - } - ] + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(method:decode:)", - "children": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "occurredAt", + "printedName": "occurredAt", + "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Foundation.Data) throws -> Payload", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": ">", - "isFromExtension": true, - "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV", - "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "RequestDescriptor", - "printedName": "RequestDescriptor", - "children": [ { "kind": "Var", - "name": "method", - "printedName": "method", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -360,16 +305,15 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -380,27 +324,35 @@ }, { "kind": "Var", - "name": "delegation", - "printedName": "delegation", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -416,23 +368,30 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -442,85 +401,134 @@ ] }, { - "kind": "Function", - "name": "map", - "printedName": "map(_:)", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Mapped" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Result" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Handler) -> Mapped", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Mapped" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" - } - ] + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV3mapyACyxqd__q0_Gqd__q_YbclF", - "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV3mapyACyxqd__q0_Gqd__q_YbclF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "funcSelfKind": "NonMutating" + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(method:delegation:decode:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(description:id:lineItems:occurredAt:status:totals:type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Result" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -531,213 +539,178 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + } + ], + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Foundation.Data) throws -> Payload", + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + }, + { + "kind": "TypeNominal", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorVA2A0D7MessageVyxGRs_rlE6method10delegation6decodeACyxAFq0_GSS_SSSgx10Foundation4DataVYbKctcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorVA2A0D7MessageVyxGRs_rlE6method10delegation6decodeACyxAFq0_GSS_SSSgx10Foundation4DataVYbKctcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": ", Result : EmbeddedCheckoutProtocol.ResponsePayload>", - "isFromExtension": true, "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV", - "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "EmbeddedCheckoutProtocol", - "printedName": "EmbeddedCheckoutProtocol", - "children": [ - { - "kind": "Var", - "name": "specVersion", - "printedName": "specVersion", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO11specVersionSSvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11specVersionSSvpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO11specVersionSSvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO11specVersionSSvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "parseErrorCode", - "printedName": "parseErrorCode", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivpZ", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isInternal": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "isInternal": true, - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "parseErrorMessage", - "printedName": "parseErrorMessage", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvpZ", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isInternal": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -746,825 +719,691 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "isInternal": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "invalidParamsCode", - "printedName": "invalidParamsCode", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivpZ", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isInternal": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "isInternal": true, - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "invalidParamsMessage", - "printedName": "invalidParamsMessage", + "kind": "Function", + "name": "with", + "printedName": "with(description:id:lineItems:occurredAt:status:totals:type:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isInternal": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "isInternal": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Options", - "printedName": "Options", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "Var", - "name": "delegations", - "printedName": "delegations", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } ], - "hasStorage": true, - "accessors": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "colorScheme", - "printedName": "colorScheme", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "occurredAt", + "printedName": "occurredAt", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "auth", - "printedName": "auth", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + } + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvs", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(delegations:colorScheme:auth:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "Options", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Options", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ], - "hasDefaultArg": true, - "usr": "s:Sa" + "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Function", - "name": "url", - "printedName": "url(for:options:)", - "children": [ - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - }, - { - "kind": "TypeNominal", - "name": "Options", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Options", - "hasDefaultArg": true, - "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO3url3for7options10Foundation3URLVAH_AB7OptionsVtFZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO3url3for7options10Foundation3URLVAH_AB7OptionsVtFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "DecodeErrorHandler", - "printedName": "DecodeErrorHandler", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String, any Swift.Error, Foundation.Data) -> Swift.Void", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, { "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(Swift.String, any Swift.Error, Foundation.Data)", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" } - ] - } - ] - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO18DecodeErrorHandlera", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO18DecodeErrorHandlera", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true - }, - { - "kind": "TypeDecl", - "name": "Client", - "printedName": "Client", - "children": [ - { - "kind": "Constructor", - "name": "init", - "printedName": "init()", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientVADycfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientVADycfc", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "onDecodeError", - "printedName": "onDecodeError(_:)", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" - }, - { - "kind": "TypeNameAlias", - "name": "DecodeErrorHandler", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.DecodeErrorHandler", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String, any Swift.Error, Foundation.Data) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(Swift.String, any Swift.Error, Foundation.Data)", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ] - } - ] - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV13onDecodeErroryADySS_s0G0_p10Foundation4DataVtYbcF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV13onDecodeErroryADySS_s0G0_p10Foundation4DataVtYbcF", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "DiscardableResult" - ], - "funcSelfKind": "NonMutating" + "implicit": true }, { - "kind": "Function", - "name": "on", - "printedName": "on(_:perform:)", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" - }, - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "P" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Handler) -> Swift.Void", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA22NotificationDescriptorVyxq_G_yq_YbScMYcctAA12EventPayloadRzr0_lF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA22NotificationDescriptorVyxq_G_yq_YbScMYcctAA12EventPayloadRzr0_lF", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "declAttributes": [ - "DiscardableResult" - ], - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "on", - "printedName": "on(_:perform:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "P" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "R" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Handler) async -> R", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "R" - }, - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Handler" - } - ] + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA17RequestDescriptorVyxq_q0_G_q0_q_YaYbScMYcctAA12EventPayloadRzAA08ResponseJ0R0_r1_lF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA17RequestDescriptorVyxq_q0_G_q0_q_YaYbScMYcctAA12EventPayloadRzAA08ResponseJ0R0_r1_lF", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "declAttributes": [ - "DiscardableResult" - ], - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "process", - "printedName": "process(_:)", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -1573,1539 +1412,46 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV7processySSSgSSYaF", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV7processySSSgSSYaF", - "moduleName": "EmbeddedCheckoutProtocol", - "funcSelfKind": "NonMutating" + ] } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "enumRawTypeName": "String", + "isEnumExhaustive": true, "conformances": [ { "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Event", - "printedName": "Event", - "children": [ - { - "kind": "Var", - "name": "error", - "printedName": "error", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAA18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "start", - "printedName": "start", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "complete", - "printedName": "complete", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "messagesChange", - "printedName": "messagesChange", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItemsChange", - "printedName": "lineItemsChange", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "buyerChange", - "printedName": "buyerChange", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "totalsChange", - "printedName": "totalsChange", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentChange", - "printedName": "paymentChange", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillmentChange", - "printedName": "fulfillmentChange", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "ready", - "printedName": "ready", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.ReadyResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.ReadyResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAA05ReadyF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "auth", - "printedName": "auth", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AuthResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AuthResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAA04AuthF0VAA0F7MessageVyAIGAA0H6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentInstrumentsChange", - "printedName": "paymentInstrumentsChange", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.InstrumentsChangeResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.InstrumentsChangeResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentCredential", - "printedName": "paymentCredential", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.CredentialResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.CredentialResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAA0F6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.WindowOpenResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.WindowOpenResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAA06WindowfG0VAA0G7MessageVyAIGAA0iF6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillmentAddressChange", - "printedName": "fulfillmentAddressChange", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AddressChangeResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.AddressChangeResult>", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" - }, - { - "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAA21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAA0fG6ResultVGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "all", - "printedName": "all", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -3113,63 +1459,47 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sa" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "isEnumExhaustive": true, - "conformances": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, { "kind": "Conformance", "name": "Copyable", @@ -3185,371 +1515,349 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV", + "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeDecl", - "name": "Delegation", - "printedName": "Delegation", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "AdjustmentLineItem", + "printedName": "AdjustmentLineItem", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringLiteral:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "paymentInstrumentsChange", - "printedName": "paymentInstrumentsChange", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentCredential", - "printedName": "paymentCredential", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "fulfillmentAddressChange", - "printedName": "fulfillmentAddressChange", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, + "implicit": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ { - "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, + "implicit": true, "declAttributes": [ - "HasInitialValue", - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" }, { - "kind": "Var", - "name": "all", - "printedName": "all", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", - "children": [ - { - "kind": "TypeNominal", - "name": "Delegation", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "TypeAlias", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:quantity:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -3558,16 +1866,39 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "usr": "s:Sq" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(id:quantity:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AdjustmentLineItem", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -3576,194 +1907,366 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "TypeAlias", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "AdjustmentStatus", + "printedName": "AdjustmentStatus", + "children": [ + { + "kind": "Var", + "name": "completed", + "printedName": "completed", + "children": [ { - "kind": "TypeAlias", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "conformances": [ - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ] } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "failed", + "printedName": "failed", + "children": [ { - "kind": "Conformance", - "name": "ExpressibleByStringLiteral", - "printedName": "ExpressibleByStringLiteral", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", "children": [ { - "kind": "TypeWitness", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "kind": "TypeNominal", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ] } - ], - "usr": "s:s26ExpressibleByStringLiteralP", - "mangledName": "$ss26ExpressibleByStringLiteralP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "pending", + "printedName": "pending", + "children": [ { - "kind": "Conformance", - "name": "ExpressibleByExtendedGraphemeClusterLiteral", - "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", "children": [ { - "kind": "TypeWitness", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", + "kind": "TypeNominal", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ] } - ], - "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", - "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ { - "kind": "Conformance", - "name": "ExpressibleByUnicodeScalarLiteral", - "printedName": "ExpressibleByUnicodeScalarLiteral", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", "children": [ { - "kind": "TypeWitness", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "AdjustmentStatus", + "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" } ], - "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", - "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocolAAO", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO", + "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO", + "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO", "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", "isEnumExhaustive": true, "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, { "kind": "Conformance", "name": "Copyable", @@ -3782,46 +2285,40 @@ }, { "kind": "TypeDecl", - "name": "Checkout", - "printedName": "Checkout", + "name": "AppliedDiscount", + "printedName": "AppliedDiscount", "children": [ { "kind": "Var", - "name": "attribution", - "printedName": "attribution", + "name": "allocations", + "printedName": "allocations", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11attributionSDyS2SGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11attributionSDyS2SGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -3837,35 +2334,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11attributionSDyS2SGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11attributionSDyS2SGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -3877,27 +2368,19 @@ }, { "kind": "Var", - "name": "buyer", - "printedName": "buyer", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer?", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5buyerAA5BuyerVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5buyerAA5BuyerVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -3912,22 +2395,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer?", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5buyerAA5BuyerVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5buyerAA5BuyerVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -3939,27 +2414,27 @@ }, { "kind": "Var", - "name": "context", - "printedName": "context", + "name": "automatic", + "printedName": "automatic", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7contextAA7ContextVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7contextAA7ContextVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -3975,21 +2450,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7contextAA7ContextVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7contextAA7ContextVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4001,8 +2476,8 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "code", + "printedName": "code", "children": [ { "kind": "TypeNominal", @@ -4020,8 +2495,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4050,8 +2525,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4063,19 +2538,27 @@ }, { "kind": "Var", - "name": "currency", - "printedName": "currency", + "name": "eligibility", + "printedName": "eligibility", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V8currencySSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8currencySSvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4090,14 +2573,22 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V8currencySSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8currencySSvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4109,27 +2600,27 @@ }, { "kind": "Var", - "name": "discounts", - "printedName": "discounts", + "name": "method", + "printedName": "method", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9discountsAA0B9DiscountsVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9discountsAA0B9DiscountsVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4145,21 +2636,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9discountsAA0B9DiscountsVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9discountsAA0B9DiscountsVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4171,27 +2662,27 @@ }, { "kind": "Var", - "name": "expiresAt", - "printedName": "expiresAt", + "name": "priority", + "printedName": "priority", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9expiresAt10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9expiresAt10Foundation4DateVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4207,21 +2698,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9expiresAt10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9expiresAt10Foundation4DateVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4233,27 +2724,27 @@ }, { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "provisional", + "printedName": "provisional", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11fulfillmentAA0B11FulfillmentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11fulfillmentAA0B11FulfillmentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4269,21 +2760,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11fulfillmentAA0B11FulfillmentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4295,8 +2786,8 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeNominal", @@ -4306,8 +2797,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4328,8 +2819,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4340,230 +2831,628 @@ ] }, { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - } - ], - "usr": "s:Sa" + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9lineItemsSayAA8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9lineItemsSayAA8LineItemVGvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", "children": [ { "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" } ], "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V9lineItemsSayAA8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V9lineItemsSayAA8LineItemVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSg_SiSbSgSSSgArA0E6MethodOSgSiSgAQSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSg_SiSbSgSSSgArA0E6MethodOSgSiSgAQSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Var", - "name": "links", - "printedName": "links", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV7fromURLAC10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5linksSayAA4LinkVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5linksSayAA4LinkVGvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", "children": [ { "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + "name": "DiscountMethod", + "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", + "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5linksSayAA4LinkVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5linksSayAA4LinkVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.Int??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV", + "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Buyer", + "printedName": "Buyer", + "children": [ { "kind": "Var", - "name": "order", - "printedName": "order", + "name": "email", + "printedName": "email", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5orderAA17OrderConfirmationVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5orderAA17OrderConfirmationVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4579,21 +3468,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V5orderAA17OrderConfirmationVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V5orderAA17OrderConfirmationVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4605,27 +3494,27 @@ }, { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "firstName", + "printedName": "firstName", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7paymentAA7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7paymentAA7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4641,21 +3530,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7paymentAA7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7paymentAA7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4667,41 +3556,27 @@ }, { "kind": "Var", - "name": "signals", - "printedName": "signals", + "name": "lastName", + "printedName": "lastName", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7signalsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7signalsSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4717,35 +3592,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7signalsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7signalsSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4757,19 +3618,27 @@ }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V6statusAA0B6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6statusAA0B6StatusOvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -4784,14 +3653,22 @@ "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V6statusAA0B6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6statusAA0B6StatusOvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -4803,32 +3680,38 @@ }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sa" + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V6totalsSayAA0B5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6totalsSayAA0B5TotalVGvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -4838,626 +3721,483 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sa" + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V6totalsSayAA0B5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6totalsSayAA0B5TotalVGvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V3ucpAA25UCPCheckoutResponseSchemaVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V3ucpAA25UCPCheckoutResponseSchemaVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V3ucpAA25UCPCheckoutResponseSchemaVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V3ucpAA25UCPCheckoutResponseSchemaVvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" + "accessorKind": "set" } ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { - "kind": "Var", - "name": "attribution", - "printedName": "attribution", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11attributionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11attributionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" }, { - "kind": "Var", - "name": "buyer", - "printedName": "buyer", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO5buyeryA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO5buyeryA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Var", - "name": "context", - "printedName": "context", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO7contextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO7contextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(email:firstName:lastName:phoneNumber:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" }, { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11continueURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" }, { - "kind": "Var", - "name": "currency", - "printedName": "currency", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8currencyyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8currencyyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" }, { - "kind": "Var", - "name": "discounts", - "printedName": "discounts", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO9discountsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO9discountsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" }, { - "kind": "Var", - "name": "expiresAt", - "printedName": "expiresAt", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO9expiresAtyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO9expiresAtyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5email9firstName04lastG011phoneNumberACSSSg_A3Htcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5email9firstName04lastG011phoneNumberACSSSg_A3Htcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" }, { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11fulfillmentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11fulfillmentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" }, { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO9lineItemsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:Sq" }, { - "kind": "Var", - "name": "links", - "printedName": "links", + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(email:firstName:lastName:phoneNumber:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO5linksyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO5linksyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8messagesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "order", - "printedName": "order", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO5orderyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO5orderyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "payment", - "printedName": "payment", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO7paymentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO7paymentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4with5email9firstName04lastH011phoneNumberACSSSgSg_A3JtF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4with5email9firstName04lastH011phoneNumberACSSSgSg_A3JtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "signals", - "printedName": "signals", + "name": "email", + "printedName": "email", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ] } @@ -5465,36 +4205,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO7signalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO7signalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "firstName", + "printedName": "firstName", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ] } @@ -5502,36 +4242,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "lastName", + "printedName": "lastName", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ] } @@ -5539,36 +4279,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ] } @@ -5576,61 +4316,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ], "usr": "s:Sq" @@ -5643,41 +4380,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Checkout.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -5695,8 +4435,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -5721,8 +4461,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -5747,18 +4487,468 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" } ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV", + "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CapabilityResponseSchema", + "printedName": "CapabilityResponseSchema", + "children": [ + { + "kind": "Var", + "name": "config", + "printedName": "config", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "schema", + "printedName": "schema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "spec", + "printedName": "spec", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -5767,16 +4957,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -5785,22 +4987,47 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] - }, + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -5809,148 +5036,133 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "extends", + "printedName": "extends", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", + "printedName": "init(config:id:schema:spec:version:extends:)", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", @@ -5960,9 +5172,9 @@ }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], "usr": "s:SD" @@ -5973,13 +5185,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -5987,13 +5199,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -6021,224 +5233,436 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "printedName": "EmbeddedCheckoutProtocol.Extends?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } ], "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - } - ], - "usr": "s:Sq" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - } - ], - "usr": "s:Sa" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:extends:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpACSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAA25UCPCheckoutResponseSchemaVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpACSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAA25UCPCheckoutResponseSchemaVtcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutDiscounts", + "printedName": "CheckoutDiscounts", + "children": [ { "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "name": "applied", + "printedName": "applied", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "children": [ + { + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ - "HasInitialValue", "HasStorage" ], + "isLet": true, "hasStorage": true, "accessors": [ { @@ -6248,126 +5672,211 @@ "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "children": [ + { + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" - }, + } + ] + }, + { + "kind": "Var", + "name": "codes", + "printedName": "codes", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "set" + "accessorKind": "get" } ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(applied:codes:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "children": [ + { + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7applied5codesACSayAA15AppliedDiscountVGSg_SaySSGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7applied5codesACSayAA15AppliedDiscountVGSg_SaySSGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -6376,9 +5885,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { "kind": "TypeNominal", @@ -6388,8 +5897,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -6398,33 +5907,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -6435,9 +5937,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { "kind": "TypeNominal", @@ -6447,8 +5949,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B0V7fromURLAC10Foundation0E0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V7fromURLAC10Foundation0E0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -6456,121 +5958,54 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer?", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context?", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -6583,70 +6018,58 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - } - ], - "usr": "s:Sq" - } - ], + "name": "Encoding", + "printedName": "Swift.String.Encoding", "hasDefaultArg": true, - "usr": "s:Sq" - }, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(applied:codes:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment??", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "children": [ + { + "kind": "TypeNominal", + "name": "AppliedDiscount", + "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", + "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -6658,84 +6081,155 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]?", + "printedName": "[Swift.String]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV", + "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutFulfillment", + "printedName": "CheckoutFulfillment", + "children": [ + { + "kind": "Var", + "name": "availableMethods", + "printedName": "availableMethods", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Link]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Link]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", "children": [ { "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" } ], "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" } ], "usr": "s:Sa" @@ -6744,151 +6238,292 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - } - ], - "usr": "s:Sq" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "methods", + "printedName": "methods", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], - "usr": "s:SD" + "usr": "s:Sa" } ], "usr": "s:Sq" } ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(availableMethods:methods:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + } + ], + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" } ], "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dI0VGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dI0VGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpACSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA6_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA6_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAA25UCPCheckoutResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpACSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA6_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA6_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAA25UCPCheckoutResponseSchemaVSgtF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -6904,8 +6539,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B0V8jsonData10Foundation0E0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V8jsonData10Foundation0E0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -6939,322 +6574,93 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0B0V", - "mangledName": "$s24EmbeddedCheckoutProtocol0B0V", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Buyer", - "printedName": "Buyer", - "children": [ - { - "kind": "Var", - "name": "email", - "printedName": "email", + "kind": "Function", + "name": "with", + "printedName": "with(availableMethods:methods:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5emailSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV9firstNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8lastNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV11phoneNumberSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -7263,104 +6669,30 @@ "children": [ { "kind": "Var", - "name": "email", - "printedName": "email", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO5emailyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", + "name": "availableMethods", + "printedName": "availableMethods", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ] } @@ -7368,36 +6700,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8lastNameyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", + "name": "methods", + "printedName": "methods", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Buyer.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ] } @@ -7405,61 +6737,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11phoneNumberyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ], "usr": "s:Sq" @@ -7472,41 +6801,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Buyer.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -7524,8 +6856,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -7550,8 +6882,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -7576,8 +6908,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -7597,8 +6929,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -7615,8 +6947,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -7639,8 +6971,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -7657,8 +6989,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -7667,8 +6999,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -7678,500 +7010,24 @@ "name": "Equatable", "printedName": "Equatable", "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(email:firstName:lastName:phoneNumber:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV5email9firstName04lastG011phoneNumberACSSSg_A3Htcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV5email9firstName04lastG011phoneNumberACSSSg_A3Htcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(email:firstName:lastName:phoneNumber:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Buyer", - "printedName": "EmbeddedCheckoutProtocol.Buyer", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "mangledName": "$sSQ" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -8179,80 +7035,67 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV4with5email9firstName04lastH011phoneNumberACSSSgSg_A3JtF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV4with5email9firstName04lastH011phoneNumberACSSSgSg_A3JtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol5BuyerV", - "mangledName": "$s24EmbeddedCheckoutProtocol5BuyerV", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV", + "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -8301,364 +7144,302 @@ }, { "kind": "TypeDecl", - "name": "Context", - "printedName": "Context", + "name": "CheckoutStatus", + "printedName": "CheckoutStatus", "children": [ { "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", + "name": "canceled", + "printedName": "canceled", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", + "name": "completeInProgress", + "printedName": "completeInProgress", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "currency", - "printedName": "currency", + "name": "completed", + "printedName": "completed", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", + "name": "incomplete", + "printedName": "incomplete", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "readyForComplete", + "printedName": "readyForComplete", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "intent", - "printedName": "intent", + "name": "requiresEscalation", + "printedName": "requiresEscalation", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Var", - "name": "language", - "printedName": "language", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Inlinable" ], - "isLet": true, - "hasStorage": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -8667,40 +7448,54 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], "accessorKind": "get" } ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO", + "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -8708,13 +7503,76 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutTotal", + "printedName": "CheckoutTotal", + "children": [ + { + "kind": "Var", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -8729,350 +7587,33 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "currency", - "printedName": "currency", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "intent", - "printedName": "intent", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "language", - "printedName": "language", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "displayText", + "printedName": "displayText", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -9080,50 +7621,77 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -9132,113 +7700,150 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lines", + "printedName": "lines", + "children": [ { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Line]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Line]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(amount:displayText:type:lines:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -9247,139 +7852,171 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Line]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" } - ] + ], + "usr": "s:Sa" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - }, + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -9396,41 +8033,55 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(amount:displayText:type:lines:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -9439,23 +8090,10 @@ "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { @@ -9470,398 +8108,398 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Line]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Line]", + "children": [ + { + "kind": "TypeNominal", + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region8currency11eligibility6intent8language10postalCodeACSSSg_A2KSaySSGSgA3Ktcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region8currency11eligibility6intent8language10postalCodeACSSSg_A2KSaySSGSgA3Ktcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Var", + "name": "amount", + "printedName": "amount", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "displayText", + "printedName": "displayText", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + } + ] } - ], - "usr": "s:SD" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + } + ] } - ], - "usr": "s:SD" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Context", - "printedName": "EmbeddedCheckoutProtocol.Context", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + "kind": "Var", + "name": "lines", + "printedName": "lines", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -9870,21 +8508,40 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -9893,21 +8550,46 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -9915,80 +8597,67 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV4with14addressCountry0F6Region8currency11eligibility6intent8language10postalCodeACSSSgSg_A2MSaySSGSgSgA3MtF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4with14addressCountry0F6Region8currency11eligibility6intent8language10postalCodeACSSSgSg_A2MSaySSGSgSgA3MtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7ContextV", - "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV", + "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -10037,473 +8706,210 @@ }, { "kind": "TypeDecl", - "name": "CheckoutDiscounts", - "printedName": "CheckoutDiscounts", - "children": [ - { - "kind": "Var", - "name": "applied", - "printedName": "applied", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7appliedSayAA15AppliedDiscountVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "codes", - "printedName": "codes", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV5codesSaySSGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, + "name": "ContentType", + "printedName": "ContentType", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(applied:codes:)", + "kind": "Var", + "name": "markdown", + "printedName": "markdown", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", "children": [ { "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "plain", + "printedName": "plain", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7applied5codesACSayAA15AppliedDiscountVGSg_SaySSGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7applied5codesACSayAA15AppliedDiscountVGSg_SaySSGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO5plainyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO5plainyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } + "declAttributes": [ + "Inlinable" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "implicit": true }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV7fromURLAC10Foundation0F0V_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(applied:codes:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDiscounts", - "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" - }, + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AppliedDiscount]", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" ], - "hasDefaultArg": true, - "usr": "s:Sq" + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV4with7applied5codesACSayAA15AppliedDiscountVGSgSg_SaySSGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO", + "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -10511,31 +8917,12 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV", - "mangledName": "$s24EmbeddedCheckoutProtocol0B9DiscountsV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Decodable", @@ -10582,40 +8969,94 @@ }, { "kind": "TypeDecl", - "name": "AppliedDiscount", - "printedName": "AppliedDiscount", + "name": "Context", + "printedName": "Context", "children": [ { "kind": "Var", - "name": "allocations", - "printedName": "allocations", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountrySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -10631,29 +9072,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocationsSayAA0E10AllocationVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV13addressRegionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10665,19 +9098,27 @@ }, { "kind": "Var", - "name": "amount", - "printedName": "amount", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -10692,14 +9133,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6amountSivg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8currencySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10711,27 +9160,35 @@ }, { "kind": "Var", - "name": "automatic", - "printedName": "automatic", + "name": "eligibility", + "printedName": "eligibility", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Bool?", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -10747,21 +9204,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Bool?", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV9automaticSbSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV11eligibilitySaySSGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10773,8 +9238,8 @@ }, { "kind": "Var", - "name": "code", - "printedName": "code", + "name": "intent", + "printedName": "intent", "children": [ { "kind": "TypeNominal", @@ -10792,8 +9257,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -10822,8 +9287,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4codeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6intentSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10835,8 +9300,8 @@ }, { "kind": "Var", - "name": "eligibility", - "printedName": "eligibility", + "name": "language", + "printedName": "language", "children": [ { "kind": "TypeNominal", @@ -10854,8 +9319,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -10884,8 +9349,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11eligibilitySSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8languageSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10897,27 +9362,27 @@ }, { "kind": "Var", - "name": "method", - "printedName": "method", + "name": "postalCode", + "printedName": "postalCode", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -10933,21 +9398,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6methodAA0E6MethodOSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10postalCodeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -10959,32 +9424,38 @@ }, { "kind": "Var", - "name": "priority", - "printedName": "priority", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -10994,119 +9465,365 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8prioritySiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } ] }, { - "kind": "Var", - "name": "provisional", - "printedName": "provisional", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Bool?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11provisionalSbSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region8currency11eligibility6intent8language10postalCodeACSSSg_A2KSaySSGSgA3Ktcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV14addressCountry0E6Region8currency11eligibility6intent8language10postalCodeACSSSg_A2KSaySSGSgA3Ktcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Var", - "name": "title", - "printedName": "title", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -11115,443 +9832,600 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV5titleSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", + "kind": "Function", + "name": "with", + "printedName": "with(addressCountry:addressRegion:currency:eligibility:intent:language:postalCode:)", "children": [ { "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Bool?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Bool?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSg_SiSbSgSSSgArA0E6MethodOSgSiSgAQSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSg_SiSbSgSSSgArA0E6MethodOSgSiSgAQSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV4with14addressCountry0F6Region8currency11eligibility6intent8language10postalCodeACSSSgSg_A2MSaySSGSgSgA3MtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV4with14addressCountry0F6Region8currency11eligibility6intent8language10postalCodeACSSSgSg_A2MSaySSGSgSgA3MtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "kind": "Var", + "name": "addressCountry", + "printedName": "addressCountry", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO13addressRegionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Var", + "name": "currency", + "printedName": "currency", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8currencyyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "kind": "Var", + "name": "eligibility", + "printedName": "eligibility", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11eligibilityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(allocations:amount:automatic:code:eligibility:method:priority:provisional:title:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AppliedDiscount", - "printedName": "EmbeddedCheckoutProtocol.AppliedDiscount", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV" + "kind": "Var", + "name": "intent", + "printedName": "intent", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO6intentyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]??", + "kind": "Var", + "name": "language", + "printedName": "language", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.DiscountAllocation]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8languageyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Context.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Context.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" + } + ] + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO10postalCodeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool??", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Bool?", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Context.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod??", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod?", - "children": [ - { - "kind": "TypeNominal", - "name": "DiscountMethod", - "printedName": "EmbeddedCheckoutProtocol.DiscountMethod", - "usr": "s:24EmbeddedCheckoutProtocol14DiscountMethodO" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int??", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -11568,36 +10442,87 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool??", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -11606,76 +10531,132 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV4with11allocations6amount9automatic4code11eligibility6method8priority11provisional5titleACSayAA0E10AllocationVGSgSg_SiSgSbSgSgSSSgSgAwA0E6MethodOSgSgASSgAuVtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol15AppliedDiscountV", - "mangledName": "$s24EmbeddedCheckoutProtocol15AppliedDiscountV", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV", + "mangledName": "$s24EmbeddedCheckoutProtocol7ContextV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -11822,7 +10803,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(amount:path:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", @@ -11830,54 +10811,32 @@ "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amount4pathACSi_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amount4pathACSi_SStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(amount:path:)", "children": [ { "kind": "TypeNominal", @@ -11887,17 +10846,21 @@ }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6amount4pathACSi_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6amount4pathACSi_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -11929,33 +10892,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ - { - "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -11987,51 +10943,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(amount:path:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "DiscountAllocation", - "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -12088,6 +11020,55 @@ "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(amount:path:)", + "children": [ + { + "kind": "TypeNominal", + "name": "DiscountAllocation", + "printedName": "EmbeddedCheckoutProtocol.DiscountAllocation", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol18DiscountAllocationV4with6amount4pathACSiSg_SSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", @@ -12404,42 +11385,78 @@ }, { "kind": "TypeDecl", - "name": "CheckoutFulfillment", - "printedName": "CheckoutFulfillment", + "name": "EmbeddedCheckoutProtocol", + "printedName": "EmbeddedCheckoutProtocol", "children": [ { "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", + "name": "specVersion", + "printedName": "specVersion", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11specVersionSSvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11specVersionSSvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11specVersionSSvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11specVersionSSvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parseErrorCode", + "printedName": "parseErrorCode", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isInternal": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -12452,72 +11469,90 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO14parseErrorCodeSivgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, - "declAttributes": [ - "Transparent" - ], + "isInternal": true, "accessorKind": "get" } ] }, { "kind": "Var", - "name": "methods", - "printedName": "methods", + "name": "parseErrorMessage", + "printedName": "parseErrorMessage", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isInternal": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17parseErrorMessageSSvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "isInternal": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "invalidParamsCode", + "printedName": "invalidParamsCode", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivpZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isInternal": true, "declAttributes": [ + "HasInitialValue", "HasStorage" ], "isLet": true, @@ -12530,357 +11565,422 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7methodsSayAA0D6MethodVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17invalidParamsCodeSivgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, - "declAttributes": [ - "Transparent" + "isInternal": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "invalidParamsMessage", + "printedName": "invalidParamsMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isInternal": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO20invalidParamsMessageSSvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "isInternal": true, "accessorKind": "get" } ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Function", + "name": "url", + "printedName": "url(for:options:)", "children": [ { - "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, + { + "kind": "TypeNominal", + "name": "Options", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Options", + "hasDefaultArg": true, + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO3url3for7options10Foundation3URLVAH_AB7OptionsVtFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO3url3for7options10Foundation3URLVAH_AB7OptionsVtFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "DecodeErrorHandler", + "printedName": "DecodeErrorHandler", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, any Swift.Error, Foundation.Data) -> Swift.Void", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(Swift.String, any Swift.Error, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - } - ] + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ] } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO16availableMethodsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + ] + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO18DecodeErrorHandlera", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18DecodeErrorHandlera", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true + }, + { + "kind": "TypeDecl", + "name": "AddressChangeCheckout", + "printedName": "AddressChangeCheckout", + "children": [ { "kind": "Var", - "name": "methods", - "printedName": "methods", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - }, + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO7methodsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fulfillment:)", "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAdB0B16FulfillmentClassVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V11fulfillmentAdB0B16FulfillmentClassVSg_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -12889,79 +11989,86 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "with", + "printedName": "with(fulfillment:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + } + ], + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V4with11fulfillmentAdB0B16FulfillmentClassVSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO013AddressChangeB0V", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ { "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", @@ -12979,249 +12086,215 @@ }, { "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(availableMethods:methods:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dI0VGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dI0VGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(availableMethods:methods:)", + "kind": "TypeDecl", + "name": "AddressChangeResult", + "printedName": "AddressChangeResult", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutFulfillment", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkoutAB0deB0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV3ucpAB011InstrumentseF3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" @@ -13230,29 +12303,149 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:ucp:continueURL:messages:)", "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" @@ -13261,161 +12454,139 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dJ0VGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV", - "mangledName": "$s24EmbeddedCheckoutProtocol0B11FulfillmentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "FulfillmentAvailableMethod", - "printedName": "FulfillmentAvailableMethod", - "children": [ - { - "kind": "Var", - "name": "description", - "printedName": "description", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -13430,582 +12601,960 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "with", + "printedName": "with(checkout:ucp:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "AddressChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO013AddressChangeB0V" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Var", - "name": "description", - "printedName": "description", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8checkoutyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ] } - ] + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO19AddressChangeResultV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Auth", + "printedName": "Auth", + "children": [ { "kind": "Var", "name": "type", "printedName": "type", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV7fromURLAD10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(type:)", "children": [ + { + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4typeADSSSg_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -14014,79 +13563,86 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "with", + "printedName": "with(type:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV4with4typeADSSSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO4AuthV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ { "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", @@ -14119,147 +13675,219 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(description:fulfillableOn:lineItemIDS:type:)", + "kind": "TypeDecl", + "name": "AuthRequest", + "printedName": "AuthRequest", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sa" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(type:)", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeADSSSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4typeADSSSg_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "init_kind": "Designated" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", @@ -14268,209 +13896,43 @@ }, { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(description:fulfillableOn:lineItemIDS:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -14485,566 +13947,469 @@ } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4with11description13fulfillableOn11lineItemIDS4typeACSSSgSg_AJSaySSGSgAA0dF4TypeOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4with11description13fulfillableOn11lineItemIDS4typeACSSSgSg_AJSaySSGSgAA0dF4TypeOSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", - "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "FulfillmentMethodType", - "printedName": "FulfillmentMethodType", - "children": [ - { - "kind": "Var", - "name": "pickup", - "printedName": "pickup", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", + "kind": "Function", + "name": "with", + "printedName": "with(type:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV4with4typeADSSSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11AuthRequestV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" + } + ] }, { - "kind": "Var", - "name": "shipping", - "printedName": "shipping", + "kind": "TypeDecl", + "name": "AuthResult", + "printedName": "AuthResult", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", + "kind": "Var", + "name": "credential", + "printedName": "credential", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - }, + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credentialSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO", - "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "FulfillmentMethod", - "printedName": "FulfillmentMethod", - "children": [ - { - "kind": "Var", - "name": "destinations", - "printedName": "destinations", - "children": [ + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(credential:ucp:continueURL:messages:)", "children": [ + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "groups", - "printedName": "groups", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", - "children": [ + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" @@ -15053,160 +14418,139 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10credential3ucp11continueURL8messagesADSSSg_AB017InstrumentsChangeE3UcpVAISayAA7MessageVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -15221,438 +14565,744 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(credential:ucp:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV4with10credential3ucp11continueURL8messagesADSSSgSg_AB017InstrumentsChangeE3UcpVSgAKSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV4with10credential3ucp11continueURL8messagesADSSSgSg_AB017InstrumentsChangeE3UcpVSgAKSayAA7MessageVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Var", - "name": "destinations", - "printedName": "destinations", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Var", + "name": "credential", + "printedName": "credential", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO10credentialyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO10credentialyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "groups", - "printedName": "groups", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "selectedDestinationID", - "printedName": "selectedDestinationID", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10AuthResultV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CapabilityElement", + "printedName": "CapabilityElement", + "children": [ { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -15662,44 +15312,73 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -15708,18 +15387,26 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV2idSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -15727,21 +15414,33 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "schema", + "printedName": "schema", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -15750,51 +15449,40 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6schemaSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Var", + "name": "spec", + "printedName": "spec", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -15802,511 +15490,236 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgAA0dE4TypeOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgAA0dE4TypeOtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]??", + "kind": "Var", + "name": "extends", + "printedName": "extends", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "printedName": "EmbeddedCheckoutProtocol.Extends?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - } - ], - "usr": "s:Sa" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7extendsAA7ExtendsOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:extends:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -16315,17 +15728,8 @@ "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -16339,179 +15743,7 @@ } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethodType", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", - "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAA0dE4TypeOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAA0dE4TypeOSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "FulfillmentDestination", - "printedName": "FulfillmentDestination", - "children": [ - { - "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", @@ -16525,240 +15757,161 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Extends?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSg_SSSgA2OSSAA7ExtendsOSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSg_SSSgA2OSSAA7ExtendsOSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -16773,179 +15926,140 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:extends:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -16958,847 +16072,1141 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Extends??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Extends?", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV4with6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqA7ExtendsOSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV4with6config2id6schema4spec7version7extendsADSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqA7ExtendsOSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17CapabilityElementV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { - "kind": "Var", - "name": "address", - "printedName": "address", + "kind": "TypeDecl", + "name": "Checkout", + "printedName": "Checkout", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "kind": "Var", + "name": "attribution", + "printedName": "attribution", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attributionSDyS2SGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "buyer", + "printedName": "buyer", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "name", - "printedName": "name", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5buyerAA5BuyerVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "context", + "printedName": "context", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Context?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7contextAA7ContextVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", + "name": "currency", + "printedName": "currency", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8currencySSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8currencySSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8currencySSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8currencySSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", + "name": "discounts", + "printedName": "discounts", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9discountsAA0B9DiscountsVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "firstName", - "printedName": "firstName", + "name": "expiresAt", + "printedName": "expiresAt", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9expiresAt10Foundation4DateVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "lastName", - "printedName": "lastName", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11fulfillmentAA0B11FulfillmentVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", + "name": "lineItems", + "printedName": "lineItems", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V9lineItemsSayAA8LineItemVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", + "name": "links", + "printedName": "links", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5linksSayAA4LinkVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "address", - "printedName": "address", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "name", - "printedName": "name", + "name": "order", + "printedName": "order", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" - }, + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V5orderAA17OrderConfirmationVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7paymentAA7PaymentVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Var", + "name": "signals", + "printedName": "signals", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7signalsSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6statusAA0B6StatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -17807,45 +17215,52 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6totalsSayAA0B5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -17854,18 +17269,18 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V3ucpAB25UCPCheckoutResponseSchemaVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -17873,21 +17288,39 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -17896,514 +17329,178 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentDestination", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", "children": [ + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Context?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", @@ -18417,401 +17514,325 @@ } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", + "children": [ + { + "kind": "TypeNominal", + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + } + ], + "usr": "s:Sa" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSg_AA5BuyerVSgAA7ContextVSgSSSgSSAA0B9DiscountsVSg10Foundation4DateVSgAA0B11FulfillmentVSgSSSayAA8LineItemVGSayAA4LinkVGSayAA7MessageVGSgAA17OrderConfirmationVSgAA7PaymentVSgSDySSAA7JSONAnyCGSgAA0B6StatusOSayAA0B5TotalVGAB25UCPCheckoutResponseSchemaVtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV", - "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PostalAddress", - "printedName": "PostalAddress", - "children": [ - { - "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V7fromURLAD10Foundation0E0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V7fromURLAD10Foundation0E0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V8jsonData10Foundation0E0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V8jsonData10Foundation0E0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -18826,117 +17847,140 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "with", + "printedName": "with(attribution:buyer:context:continueURL:currency:discounts:expiresAt:fulfillment:id:lineItems:links:messages:order:payment:signals:status:totals:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : Swift.String]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Buyer?", + "children": [ + { + "kind": "TypeNominal", + "name": "Buyer", + "printedName": "EmbeddedCheckoutProtocol.Buyer", + "usr": "s:24EmbeddedCheckoutProtocol5BuyerV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Context?", + "children": [ + { + "kind": "TypeNominal", + "name": "Context", + "printedName": "EmbeddedCheckoutProtocol.Context", + "usr": "s:24EmbeddedCheckoutProtocol7ContextV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -18949,56 +17993,78 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDiscounts", + "printedName": "EmbeddedCheckoutProtocol.CheckoutDiscounts", + "usr": "s:24EmbeddedCheckoutProtocol0B9DiscountsV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillment", + "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillment", + "usr": "s:24EmbeddedCheckoutProtocol0B11FulfillmentV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -19011,804 +18077,1122 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Link]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Link]", + "children": [ + { + "kind": "TypeNominal", + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation?", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Payment??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutStatus", + "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", + "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V4with11attribution5buyer7context11continueURL8currency9discounts9expiresAt11fulfillment2id9lineItems5links8messages5order7payment7signals6status6totals3ucpADSDyS2SGSgSg_AA5BuyerVSgSgAA7ContextVSgSgSSSgSgA7_AA0B9DiscountsVSgSg10Foundation4DateVSgSgAA0B11FulfillmentVSgSgA7_SayAA8LineItemVGSgSayAA4LinkVGSgSayAA7MessageVGSgSgAA17OrderConfirmationVSgSgAA7PaymentVSgSgSDySSAA7JSONAnyCGSgSgAA0B6StatusOSgSayAA0B5TotalVGSgAB25UCPCheckoutResponseSchemaVSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Var", - "name": "addressCountry", - "printedName": "addressCountry", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "attribution", + "printedName": "attribution", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11attributionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11attributionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "buyer", + "printedName": "buyer", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5buyeryA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5buyeryA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "context", + "printedName": "context", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7contextyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7contextyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "currency", + "printedName": "currency", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8currencyyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8currencyyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "discounts", + "printedName": "discounts", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9discountsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9discountsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "expiresAt", + "printedName": "expiresAt", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9expiresAtyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9expiresAtyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11fulfillmentyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO2idyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO9lineItemsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "links", + "printedName": "links", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5linksyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "order", + "printedName": "order", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressLocality", - "printedName": "addressLocality", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO5orderyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "addressRegion", - "printedName": "addressRegion", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7paymentyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "signals", + "printedName": "signals", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "extendedAddress", - "printedName": "extendedAddress", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7signalsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO7signalsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "firstName", - "printedName": "firstName", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "totals", + "printedName": "totals", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lastName", - "printedName": "lastName", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6totalsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO6totalsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "postalCode", - "printedName": "postalCode", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "streetAddress", - "printedName": "streetAddress", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -19817,121 +19201,148 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B0V", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, + "isFromExtension": true, "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", @@ -19960,845 +19371,399 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountry0F8Locality0F6Region08extendedE09firstName04lastL011phoneNumber10postalCode06streetE0ACSSSg_A8Mtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountry0F8Locality0F6Region08extendedE09firstName04lastL011phoneNumber10postalCode06streetE0ACSSSg_A8Mtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutFulfillmentClass", + "printedName": "CheckoutFulfillmentClass", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "availableMethods", + "printedName": "availableMethods", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "methods", + "printedName": "methods", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(availableMethods:methods:)", "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethods7methodsADSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV16availableMethods7methodsADSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV", - "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "FulfillmentGroup", - "printedName": "FulfillmentGroup", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "options", - "printedName": "options", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - } - ], - "usr": "s:Sa" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "selectedOptionID", - "printedName": "selectedOptionID", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -20813,323 +19778,307 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "Function", + "name": "with", + "printedName": "with(availableMethods:methods:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "kind": "TypeNominal", + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lineItemIDS", - "printedName": "lineItemIDS", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4with16availableMethods7methodsADSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV4with16availableMethods7methodsADSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "options", - "printedName": "options", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "kind": "Var", + "name": "availableMethods", + "printedName": "availableMethods", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "selectedOptionID", - "printedName": "selectedOptionID", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "kind": "Var", + "name": "methods", + "printedName": "methods", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO7methodsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO7methodsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -21146,37 +20095,87 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -21185,121 +20184,148 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, + "isFromExtension": true, "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", @@ -21332,412 +20358,230 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:lineItemIDS:options:selectedOptionID:)", + "kind": "TypeDecl", + "name": "Client", + "printedName": "Client", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "kind": "Constructor", + "name": "init", + "printedName": "init()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Client", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" } ], - "usr": "s:Sa" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientVADycfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientVADycfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "kind": "Function", + "name": "on", + "printedName": "on(_:perform:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "name": "Client", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + }, + { + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "name": "GenericTypeParam", + "printedName": "P" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "R" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" }, { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Handler) async -> R", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "R" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "GenericTypeParam", + "printedName": "Handler" } - ], - "usr": "s:SD" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA17RequestDescriptorVyxq_q0_G_q0_q_YaYbScMYcctAA12EventPayloadRzAA08ResponseJ0R0_r1_lF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA17RequestDescriptorVyxq_q0_G_q0_q_YaYbScMYcctAA12EventPayloadRzAA08ResponseJ0R0_r1_lF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "genericSig": "", "declAttributes": [ - "Transparent" + "DiscardableResult" ], - "accessorKind": "get" + "funcSelfKind": "NonMutating" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Function", + "name": "on", + "printedName": "on(_:perform:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Client", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" }, { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "P" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "GenericTypeParam", + "printedName": "Handler" } ], - "usr": "s:SD" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(id:lineItemIDS:options:selectedOptionID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentGroup", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Handler) -> Swift.Void", "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Handler" } - ], - "usr": "s:Sa" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA22NotificationDescriptorVyxq_G_yq_YbScMYcctAA12EventPayloadRzr0_lF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV2on_7performAdA22NotificationDescriptorVyxq_G_yq_YbScMYcctAA12EventPayloadRzr0_lF", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "declAttributes": [ + "DiscardableResult" + ], + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]??", + "kind": "Function", + "name": "onDecodeError", + "printedName": "onDecodeError(_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "name": "Client", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + }, + { + "kind": "TypeNameAlias", + "name": "DecodeErrorHandler", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.DecodeErrorHandler", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String, any Swift.Error, Foundation.Data) -> Swift.Void", "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, { "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "name": "Tuple", + "printedName": "(Swift.String, any Swift.Error, Foundation.Data)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV13onDecodeErroryADySS_s0G0_p10Foundation4DataVtYbcF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV13onDecodeErroryADySS_s0G0_p10Foundation4DataVtYbcF", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "DiscardableResult" + ], + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Function", + "name": "process", + "printedName": "process(_:)", "children": [ { "kind": "TypeNominal", @@ -21752,49 +20596,7 @@ } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", "name": "String", @@ -21802,942 +20604,1320 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV7processySSSgSSYaF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV7processySSSgSSYaF", + "moduleName": "EmbeddedCheckoutProtocol", + "funcSelfKind": "NonMutating" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "FulfillmentOption", - "printedName": "FulfillmentOption", - "children": [ - { - "kind": "Var", - "name": "carrier", - "printedName": "carrier", + "kind": "TypeDecl", + "name": "CredentialCheckout", + "printedName": "CredentialCheckout", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "description", - "printedName": "description", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAA7PaymentVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "earliestFulfillmentTime", - "printedName": "earliestFulfillmentTime", - "children": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "latestFulfillmentTime", - "printedName": "latestFulfillmentTime", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7fromURLAD10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(payment:)", "children": [ + { + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date?", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAdA7PaymentVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V7paymentAdA7PaymentVSg_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Var", - "name": "carrier", - "printedName": "carrier", + "kind": "Function", + "name": "with", + "printedName": "with(payment:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Payment?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V4with7paymentAdA7PaymentVSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V4with7paymentAdA7PaymentVSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO010CredentialB0V", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CredentialResult", + "printedName": "CredentialResult", + "children": [ { "kind": "Var", - "name": "description", - "printedName": "description", + "name": "checkout", + "printedName": "checkout", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkoutAB0dB0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "earliestFulfillmentTime", - "printedName": "earliestFulfillmentTime", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ] + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "latestFulfillmentTime", - "printedName": "latestFulfillmentTime", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "totals", - "printedName": "totals", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:ucp:continueURL:messages:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "kind": "TypeNominal", + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - }, + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkout3ucp11continueURL8messagesAdB0dB0VSg_AB017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8checkout3ucp11continueURL8messagesAdB0dB0VSg_AB017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(checkout:ucp:continueURL:messages:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CredentialCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO010CredentialB0V" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV4with8checkout3ucp11continueURL8messagesAdB0dB0VSgSg_AB017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV4with8checkout3ucp11continueURL8messagesAdB0dB0VSgSg_AB017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8checkoutyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8checkoutyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -22746,88 +21926,71 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -22835,455 +21998,260 @@ "printedName": "Swift.String", "usr": "s:SS" } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" }, { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:SD" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16CredentialResultV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ + "conformances": [ { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", + "kind": "TypeDecl", + "name": "Delegation", + "printedName": "Delegation", "children": [ { - "kind": "TypeNominal", - "name": "FulfillmentOption", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -23292,498 +22260,278 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "usr": "s:Sq" + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "paymentInstrumentsChange", + "printedName": "paymentInstrumentsChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24paymentInstrumentsChangeADvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "paymentCredential", + "printedName": "paymentCredential", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17paymentCredentialADvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV", - "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "LineItemTotal", - "printedName": "LineItemTotal", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "fulfillmentAddressChange", + "printedName": "fulfillmentAddressChange", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "HasInitialValue", + "HasStorage" ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24fulfillmentAddressChangeADvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - } - ] + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV10windowOpenADvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "name": "all", + "printedName": "all", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - } - ] + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV3allSayADGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", @@ -23792,17 +22540,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" }, { "kind": "TypeNominal", @@ -23812,33 +22552,21 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8rawValueADSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(stringLiteral:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" }, { "kind": "TypeNominal", @@ -23848,44 +22576,28 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV13stringLiteralADSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "TypeAlias", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV34ExtendedGraphemeClusterLiteralTypea", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "implicit": true }, { "kind": "TypeAlias", @@ -23900,70 +22612,305 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "TypeAlias", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV17StringLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV24UnicodeScalarLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO10DelegationV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedColorScheme", + "children": [ + { + "kind": "Var", + "name": "dark", + "printedName": "dark", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO4darkyA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO4darkyA2DmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "light", + "printedName": "light", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO5lightyA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO5lightyA2DmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueADSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueADSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -23972,40 +22919,16 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "implicit": true }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -24015,8 +22938,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -24033,19 +22956,23 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "accessorKind": "get" } ] } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, "enumRawTypeName": "String", "isEnumExhaustive": true, "conformances": [ @@ -24087,24 +23014,17 @@ }, { "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", @@ -24137,215 +23057,336 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:displayText:type:)", + "kind": "TypeDecl", + "name": "EmbeddedService", + "printedName": "EmbeddedService", "children": [ { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV2idSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "kind": "Var", + "name": "schema", + "printedName": "schema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6schemaSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(amount:displayText:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "kind": "Var", + "name": "spec", + "printedName": "spec", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "endpoint", + "printedName": "endpoint", "children": [ { "kind": "TypeNominal", @@ -24362,268 +23403,368 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8endpointSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "transport", + "printedName": "transport", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV9transportAA9TransportOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV9transportAA9TransportOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV9transportAA9TransportOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV9transportAA9TransportOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV", - "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "LineItem", - "printedName": "LineItem", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSg_SSSgA2PSSApA9TransportOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSg_SSSgA2PSSApA9TransportOtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "item", - "printedName": "item", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "parentID", - "printedName": "parentID", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV7fromURLAD10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -24638,516 +23779,878 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "kind": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Transport?", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSgSg_SSSgSgA2srsA9TransportOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportADSDySSAA7JSONAnyCGSgSg_SSSgSgA2srsA9TransportOSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A7ServiceV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedTransportConfig", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "colorScheme", + "printedName": "colorScheme", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "item", - "printedName": "item", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorSchemeSayAB0a5ColorG0OGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "name": "delegate", + "printedName": "delegate", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - }, + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8delegateSaySSGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "kind": "Constructor", + "name": "init", + "printedName": "init(colorScheme:delegate:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - }, + "kind": "TypeNominal", + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" } - ] + ], + "usr": "s:Sa" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorScheme8delegateADSayAB0a5ColorG0OGSg_SaySSGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV11colorScheme8delegateADSayAB0a5ColorG0OGSg_SaySSGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV7fromURLAD10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(colorScheme:delegate:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedColorScheme", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A11ColorSchemeO" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4with11colorScheme8delegateADSayAB0a5ColorH0OGSgSg_SaySSGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV4with11colorScheme8delegateADSayAB0a5ColorH0OGSgSg_SaySSGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "colorScheme", + "printedName": "colorScheme", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11colorSchemeyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11colorSchemeyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8delegateyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8delegateyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -25155,40 +24658,53 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -25197,79 +24713,263 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO0A15TransportConfigV", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, + "isFromExtension": true, "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", @@ -25302,250 +25002,14 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:item:parentID:quantity:totals:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(id:item:parentID:quantity:totals:)", + "kind": "TypeDecl", + "name": "ErrorResponse", + "printedName": "ErrorResponse", "children": [ { - "kind": "TypeNominal", - "name": "LineItem", - "printedName": "EmbeddedCheckoutProtocol.LineItem", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item?", - "children": [ - { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", @@ -25562,246 +25026,200 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol8LineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Item", - "printedName": "Item", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8messagesSayAA7MessageVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV3ucpAB0dE3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(continueURL:messages:ucp:)", "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -25815,415 +25233,512 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURL8messages3ucpADSSSg_SayAA7MessageVGAB0dE3UcpVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV11continueURL8messages3ucpADSSSg_SayAA7MessageVGAB0dE3UcpVtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "price", - "printedName": "price", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "kind": "Function", + "name": "with", + "printedName": "with(continueURL:messages:ucp:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - }, + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } - ] + ], + "usr": "s:Sa" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp?", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV4with11continueURL8messages3ucpADSSSgSg_SayAA7MessageVGSgAB0dE3UcpVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV4with11continueURL8messages3ucpADSSSgSg_SayAA7MessageVGSgAB0dE3UcpVSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "price", - "printedName": "price", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -26240,37 +25755,45 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -26279,40 +25802,40 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -26321,581 +25844,559 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:imageURL:price:title:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO13ErrorResponseV", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(id:imageURL:price:title:)", + "kind": "TypeDecl", + "name": "ErrorResponseUcp", + "printedName": "ErrorResponseUcp", "children": [ { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Service]", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Link", - "printedName": "Link", - "children": [ - { - "kind": "Var", - "name": "title", - "printedName": "title", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Service]", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6statusAB0D6StatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", @@ -26904,80 +26405,198 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "url", - "printedName": "url", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(title:type:url:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Service]", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + }, { "kind": "TypeNominal", "name": "String", @@ -26985,379 +26604,139 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV5title4type3urlACSSSg_S2Stcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5title4type3urlACSSSg_S2Stcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(title:type:url:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Link", - "printedName": "EmbeddedCheckoutProtocol.Link", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAB0D6StatusOSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4LinkV", - "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Message", - "printedName": "Message", - "children": [ - { - "kind": "Var", - "name": "code", - "printedName": "code", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -27372,168 +26751,449 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "content", - "printedName": "content", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "contentType", - "printedName": "contentType", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "ErrorResponseUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Service]", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAB0D6StatusOSgSSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "services", + "printedName": "services", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8servicesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "path", - "printedName": "path", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -27541,168 +27201,53 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "severity", - "printedName": "severity", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", - "children": [ - { - "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -27711,60 +27256,71 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "presentation", - "printedName": "presentation", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -27773,60 +27329,40 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "url", - "printedName": "url", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -27835,52 +27371,210 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16ErrorResponseUcpV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "name": "ErrorStatus", + "printedName": "ErrorStatus", "children": [ { "kind": "Var", - "name": "code", - "printedName": "code", + "name": "error", + "printedName": "error", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } ] } @@ -27888,451 +27582,524 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO5erroryA2DmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO5erroryA2DmF", "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Var", - "name": "content", - "printedName": "content", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - } - ] + "name": "ErrorStatus", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorStatus", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueADSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueADSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "Var", - "name": "contentType", - "printedName": "contentType", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { "kind": "Var", - "name": "path", - "printedName": "path", + "name": "rawValue", + "printedName": "rawValue", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "severity", - "printedName": "severity", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ErrorStatusO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ErrorStatusO", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Event", + "printedName": "Event", + "children": [ { "kind": "Var", - "name": "imageURL", - "printedName": "imageURL", + "name": "error", + "printedName": "error", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "presentation", - "printedName": "presentation", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5errorAA22NotificationDescriptorVyAB18JSONRPCErrorParamsVAA0F7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "start", + "printedName": "start", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Inlinable" + "HasInitialValue", + "HasStorage" ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5startAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Var", + "name": "complete", + "printedName": "complete", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO8completeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0F7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "messagesChange", + "printedName": "messagesChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -28341,45 +28108,91 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO14messagesChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "lineItemsChange", + "printedName": "lineItemsChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -28388,18 +28201,41 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO15lineItemsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -28407,21 +28243,49 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "buyerChange", + "printedName": "buyerChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -28430,1680 +28294,1716 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO11buyerChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", "moduleName": "EmbeddedCheckoutProtocol", + "static": true, "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Var", + "name": "totalsChange", + "printedName": "totalsChange", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(code:content:contentType:path:severity:type:imageURL:presentation:url:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", - "children": [ - { - "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO12totalsChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "paymentChange", + "printedName": "paymentChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO13paymentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "fulfillmentChange", + "printedName": "fulfillmentChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(code:content:contentType:path:severity:type:imageURL:presentation:url:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17fulfillmentChangeAA22NotificationDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "ready", + "printedName": "ready", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult>", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult>", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO5readyAA17RequestDescriptorVyAB05ReadyF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "auth", + "printedName": "auth", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult>", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult>", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "AuthRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO11AuthRequestV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "AuthResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AuthResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO10AuthResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO4authAA17RequestDescriptorVyAB04AuthF0VAA0F7MessageVyAIGAB0H6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity??", + "kind": "Var", + "name": "paymentInstrumentsChange", + "printedName": "paymentInstrumentsChange", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult>", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MessageType?", - "children": [ - { - "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24paymentInstrumentsChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "paymentCredential", + "printedName": "paymentCredential", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult>", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "CredentialResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CredentialResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16CredentialResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO17paymentCredentialAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0G7MessageVyAIGAB0F6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV", - "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ContentType", - "printedName": "ContentType", - "children": [ - { - "kind": "Var", - "name": "markdown", - "printedName": "markdown", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", + "kind": "Var", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult>", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8markdownyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "plain", - "printedName": "plain", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ContentType.Type) -> EmbeddedCheckoutProtocol.ContentType", - "children": [ - { - "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - }, + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ContentType.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult>", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO5plainyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO5plainyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ContentType?", - "children": [ - { - "kind": "TypeNominal", - "name": "ContentType", - "printedName": "EmbeddedCheckoutProtocol.ContentType", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO10windowOpenAA17RequestDescriptorVyAB06WindowfG0VAA0G7MessageVyAIGAB0iF6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "fulfillmentAddressChange", + "printedName": "fulfillmentAddressChange", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvpZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "static": true, "declAttributes": [ - "Inlinable" + "HasInitialValue", + "HasStorage" ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ContentTypeO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor, EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult>", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + }, + { + "kind": "TypeNominal", + "name": "AddressChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.AddressChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO19AddressChangeResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO24fulfillmentAddressChangeAA17RequestDescriptorVyAB21JSONRPCCheckoutParamsVAA0H7MessageVyAIGAB0fG6ResultVGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Severity", - "printedName": "Severity", - "children": [ - { - "kind": "Var", - "name": "recoverable", - "printedName": "recoverable", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "Var", + "name": "all", + "printedName": "all", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sa" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "requiresBuyerInput", - "printedName": "requiresBuyerInput", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", - "children": [ - { - "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvpZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO3allSaySSGvgZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO5EventO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO5EventO", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] }, { - "kind": "Var", - "name": "requiresBuyerReview", - "printedName": "requiresBuyerReview", + "kind": "TypeDecl", + "name": "InstrumentsChangeCheckout", + "printedName": "InstrumentsChangeCheckout", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "Var", + "name": "payment", + "printedName": "payment", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - }, + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAB0dE7PaymentVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "unrecoverable", - "printedName": "unrecoverable", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Severity.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Severity?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Severity", - "printedName": "EmbeddedCheckoutProtocol.Severity", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol8SeverityO", - "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "MessageType", - "printedName": "MessageType", - "children": [ - { - "kind": "Var", - "name": "error", - "printedName": "error", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "Constructor", + "name": "init", + "printedName": "init(payment:)", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "info", - "printedName": "info", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V7paymentAdB0dE7PaymentVSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "warning", - "printedName": "warning", - "children": [ + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", + "kind": "Function", + "name": "with", + "printedName": "with(payment:)", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment??", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + } + ], + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4with7paymentAdB0dE7PaymentVSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V4with7paymentAdB0dE7PaymentVSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "TypeDecl", + "name": "InstrumentsChangePayment", + "printedName": "InstrumentsChangePayment", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MessageType?", + "kind": "Var", + "name": "instruments", + "printedName": "instruments", "children": [ { "kind": "TypeNominal", - "name": "MessageType", - "printedName": "EmbeddedCheckoutProtocol.MessageType", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO", - "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OrderConfirmation", - "printedName": "OrderConfirmation", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "label", - "printedName": "label", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(instruments:selectedInstrumentID:)", "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -30119,330 +30019,368 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV11instruments20selectedInstrumentIDADSayAA08SelectedfI0VGSg_SSSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "label", - "printedName": "label", + "kind": "Function", + "name": "with", + "printedName": "with(instruments:selectedInstrumentID:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "kind": "TypeNominal", + "name": "InstrumentsChangePayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" - }, + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedfJ0VGSgSg_SSSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "kind": "Var", + "name": "instruments", + "printedName": "instruments", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", "children": [ { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", @@ -30459,37 +30397,45 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -30498,40 +30444,40 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -30540,320 +30486,296 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:label:permalinkURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO24InstrumentsChangePaymentV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ + "conformances": [ { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(id:label:permalinkURL:)", + "kind": "TypeDecl", + "name": "InstrumentsChangeResult", + "printedName": "InstrumentsChangeResult", "children": [ { - "kind": "TypeNominal", - "name": "OrderConfirmation", - "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkoutAB0deB0VSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV3ucpAB0deF3UcpVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", @@ -30870,1431 +30792,2000 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:ucp:continueURL:messages:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB0deF3UcpVSSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8checkout3ucp11continueURL8messagesAdB0deB0VSg_AB0deF3UcpVSSSgSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV", - "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Payment", - "printedName": "Payment", - "children": [ - { - "kind": "Var", - "name": "instruments", - "printedName": "instruments", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(checkout:ucp:continueURL:messages:)", "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "InstrumentsChangeCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO017InstrumentsChangeB0V" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(instruments:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", - "children": [ + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(instruments:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4with11instrumentsACSayAA08SelectedD10InstrumentVGSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4with11instrumentsACSayAA08SelectedD10InstrumentVGSgSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAdB0deB0VSgSg_AB0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "SelectedPaymentInstrument", - "printedName": "SelectedPaymentInstrument", - "children": [ - { - "kind": "Var", - "name": "billingAddress", - "printedName": "billingAddress", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8checkoutyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8checkoutyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "credential", - "printedName": "credential", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "display", - "printedName": "display", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:SD" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "handlerID", - "printedName": "handlerID", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO23InstrumentsChangeResultV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "selected", - "printedName": "selected", - "children": [ + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "InstrumentsChangeResultUcp", + "printedName": "InstrumentsChangeResultUcp", + "children": [ + { + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Bool?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "billingAddress", - "printedName": "billingAddress", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAB17CapabilityElementVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO14billingAddressyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO14billingAddressyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "credential", - "printedName": "credential", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:SD" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "display", - "printedName": "display", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAB21PaymentHandlerElementVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO7displayyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO7displayyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "handlerID", - "printedName": "handlerID", + "name": "services", + "printedName": "services", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - }, + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8servicesSDySSSayAB0A7ServiceVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO9handlerIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO9handlerIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - }, + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "Constructor", + "name": "init", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - }, + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:SD" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "selected", - "printedName": "selected", - "children": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:SD" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8selectedyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8selectedyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSg_SDySSSayAB014PaymentHandlerO0VGGSgSDySSSayAB0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7fromURLAD10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7fromURLAD10Foundation0I0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "success", + "printedName": "success(version:)", "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", + "hasDefaultArg": true, "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7success7versionADSS_tFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV7success7versionADSS_tFZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]??", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CapabilityElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO17CapabilityElementV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService]", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedService", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedService", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -32303,41 +32794,295 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAB17CapabilityElementVGGSgSg_SDySSSayAB014PaymentHandlerP0VGGSgSgSDySSSayAB0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "services", + "printedName": "services", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -32345,44 +33090,15 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAFSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeWitness", + "kind": "TypeAlias", "name": "RawValue", "printedName": "RawValue", "children": [ @@ -32392,1117 +33108,1039 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(billingAddress:credential:display:handlerID:id:type:selected:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", - "children": [ + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:SD" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV", "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(billingAddress:credential:display:handlerID:id:type:selected:)", + "kind": "TypeDecl", + "name": "JSONRPCCheckoutParams", + "printedName": "JSONRPCCheckoutParams", "children": [ { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "usr": "s:Sq" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAB0B0Vvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV8checkoutAdB0B0V_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "JSONRPCErrorParams", + "printedName": "JSONRPCErrorParams", + "children": [ + { + "kind": "Var", + "name": "error", + "printedName": "error", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAB13ErrorResponseVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(error:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV5errorAdB13ErrorResponseV_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool??", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Bool?", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "usr": "s:Sq" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "conformances": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV", - "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + ] }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PaymentCredential", - "printedName": "PaymentCredential", - "children": [ - { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "TypeDecl", + "name": "Options", + "printedName": "Options", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "delegations", + "printedName": "delegations", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Var", - "name": "additionalProperties", - "printedName": "additionalProperties", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:SD" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegationsSayAB10DelegationVGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Var", + "name": "colorScheme", + "printedName": "colorScheme", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasInitialValue", + "HasStorage" ], - "accessorKind": "set" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11colorSchemeSSSgvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "auth", + "printedName": "auth", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasInitialValue", + "HasStorage" ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvs", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV4authSSSgvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(delegations:colorScheme:auth:)", "children": [ + { + "kind": "TypeNominal", + "name": "Options", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Options", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Delegation", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Delegation", + "usr": "s:24EmbeddedCheckoutProtocolAAO10DelegationV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sa" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV11delegations11colorScheme4authADSayAB10DelegationVG_SSSgAKtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "init_kind": "Designated" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO7OptionsV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7OptionsV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "PaymentHandlerAvailableInstrument", + "children": [ { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "constraints", + "printedName": "constraints", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -33511,18 +34149,40 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -33530,8 +34190,8 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", @@ -33541,10 +34201,14 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -33559,307 +34223,89 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentCredential", - "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(constraints:type:)", "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -33867,428 +34313,391 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV11constraints4typeADSDySSAA7JSONAnyCGSg_SStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV", - "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutStatus", - "printedName": "CheckoutStatus", - "children": [ - { - "kind": "Var", - "name": "canceled", - "printedName": "canceled", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ] + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8canceledyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "completeInProgress", - "printedName": "completeInProgress", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ] + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18completeInProgressyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "completed", - "printedName": "completed", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ] + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO9completedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "incomplete", - "printedName": "incomplete", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV7fromURLAD10Foundation0I0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - } - ] + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO10incompleteyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "readyForComplete", - "printedName": "readyForComplete", - "children": [ + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" - }, + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO16readyForCompleteyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "requiresEscalation", - "printedName": "requiresEscalation", - "children": [ + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutStatus.Type) -> EmbeddedCheckoutProtocol.CheckoutStatus", + "kind": "Function", + "name": "with", + "printedName": "with(constraints:type:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus.Type", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO18requiresEscalationyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus?", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "CheckoutStatus", - "printedName": "EmbeddedCheckoutProtocol.CheckoutStatus", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV4with11constraints4typeADSDySSAA7JSONAnyCGSgSg_SSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueACSgSS_tcfc", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + ] }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeDecl", + "name": "PaymentHandlerElement", + "printedName": "PaymentHandlerElement", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO8rawValueSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Inlinable" + "HasStorage" ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B6StatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B6StatusO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -34296,141 +34705,107 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutTotal", - "printedName": "CheckoutTotal", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "schema", + "printedName": "schema", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amountSivg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6schemaSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "spec", + "printedName": "spec", "children": [ { "kind": "TypeNominal", @@ -34447,44 +34822,52 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV11displayTextSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", @@ -34493,76 +34876,60 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4typeSSvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lines", - "printedName": "lines", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "availableInstruments", + "printedName": "availableInstruments", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" } ], "usr": "s:Sa" @@ -34571,186 +34938,158 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV5linesSayAA4LineVGSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV20availableInstrumentsSayAB0dE19AvailableInstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO6amountyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11displayTextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:availableInstruments:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "kind": "TypeNominal", + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "lines", - "printedName": "lines", - "children": [ + ], + "usr": "s:Sq" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO5linesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -34760,221 +35099,168 @@ "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSg_S2SSgAOSSSayAB0dE19AvailableInstrumentVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV7fromURLAD10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -34983,343 +35269,72 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "usr": "s:Sq" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:displayText:type:lines:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:availableInstruments:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", - "children": [ + "name": "PaymentHandlerElement", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6amount11displayText4type5linesACSi_SSSgSSSayAA4LineVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(amount:displayText:type:lines:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -35332,634 +35347,1078 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]??", - "children": [ + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Line]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Line]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV4with6amount11displayText4type5linesACSiSg_SSSgSgAJSayAA4LineVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocolAAO33PaymentHandlerAvailableInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsADSDySSAA7JSONAnyCGSgSg_SSSgAQSgArQSayAB0dE19AvailableInstrumentVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV", - "mangledName": "$s24EmbeddedCheckoutProtocol0B5TotalV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Line", - "printedName": "Line", - "children": [ - { - "kind": "Var", - "name": "amount", - "printedName": "amount", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "kind": "Var", + "name": "config", + "printedName": "config", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO6configyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO6configyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO2idyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO2idyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "schema", + "printedName": "schema", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO6schemayA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO6schemayA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "spec", + "printedName": "spec", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO4specyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO4specyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "availableInstruments", + "printedName": "availableInstruments", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivg", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "displayText", - "printedName": "displayText", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21PaymentHandlerElementV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "name": "ReadyCheckout", + "printedName": "ReadyCheckout", "children": [ { "kind": "Var", - "name": "amount", - "printedName": "amount", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" - }, + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillmentAB0B16FulfillmentClassVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "displayText", - "printedName": "displayText", + "name": "payment", + "printedName": "payment", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" - }, + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7paymentAB0D7PaymentVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4dataAD10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V7fromURLAD10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fulfillment:payment:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" } ], "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V11fulfillment7paymentAdB0B16FulfillmentClassVSg_AB0D7PaymentVSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -35967,32 +36426,110 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:SY", - "mangledName": "$sSY" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, + "kind": "Function", + "name": "with", + "printedName": "with(fulfillment:payment:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutFulfillmentClass", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B16FulfillmentClassV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V4with11fulfillment7paymentAdB0B16FulfillmentClassVSgSg_AB0D7PaymentVSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO05ReadyB0V", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ { "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", @@ -36025,446 +36562,161 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(amount:displayText:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(amount:displayText:)", + "kind": "TypeDecl", + "name": "ReadyPayment", + "printedName": "ReadyPayment", "children": [ { - "kind": "TypeNominal", - "name": "Line", - "printedName": "EmbeddedCheckoutProtocol.Line", - "usr": "s:24EmbeddedCheckoutProtocol4LineV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Var", + "name": "instruments", + "printedName": "instruments", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4LineV", - "mangledName": "$s24EmbeddedCheckoutProtocol4LineV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "UCPCheckoutResponseSchema", - "printedName": "UCPCheckoutResponseSchema", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV20selectedInstrumentIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, { "kind": "TypeNominal", "name": "String", @@ -36473,627 +36725,1309 @@ }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:SD" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(instruments:selectedInstrumentID:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV11instruments20selectedInstrumentIDADSayAA08SelectedeH0VGSg_SSSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "services", - "printedName": "services", - "children": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ServiceResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" - } - ], - "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8servicesSDySSSayAA07ServiceeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8servicesSDySSSayAA07ServiceeF0VGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "with", + "printedName": "with(instruments:selectedInstrumentID:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyPayment", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ServiceResponseSchema]", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8servicesSDySSSayAA07ServiceeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8servicesSDySSSayAA07ServiceeF0VGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV4with11instruments20selectedInstrumentIDADSayAA08SelectedeI0VGSgSg_SSSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ + "kind": "Var", + "name": "instruments", + "printedName": "instruments", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11instrumentsyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11instrumentsyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "selectedInstrumentID", + "printedName": "selectedInstrumentID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "services", - "printedName": "services", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyPaymentV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ReadyRequest", + "printedName": "ReadyRequest", + "children": [ { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "auth", + "printedName": "auth", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4authAB4AuthVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "delegate", + "printedName": "delegate", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sa" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8delegateSaySSGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(auth:delegate:)", "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4auth8delegateAdB4AuthVSg_SaySSGtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "with", + "printedName": "with(auth:delegate:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ReadyRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth?", + "children": [ + { + "kind": "TypeNominal", + "name": "Auth", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Auth", + "usr": "s:24EmbeddedCheckoutProtocolAAO4AuthV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV4with4auth8delegateAdB4AuthVSgSg_SaySSGSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO12ReadyRequestV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO12ReadyRequestV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ReadyResult", + "printedName": "ReadyResult", + "children": [ { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "checkout", + "printedName": "checkout", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -37103,44 +38037,59 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkoutAB0dB0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "credential", + "printedName": "credential", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -37149,18 +38098,26 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10credentialSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -37168,21 +38125,25 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -37191,808 +38152,317 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV3ucpAB017InstrumentsChangeE3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Var", + "name": "upgrade", + "printedName": "upgrade", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", "children": [ { "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7upgradeAB7UpgradeVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "usr": "s:Sa" + "accessorKind": "get" } - ], - "usr": "s:SD" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ServiceResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" - } - ], - "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAA07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAA07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV11continueURLSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]??", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ServiceResponseSchema]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol25UCPCheckoutResponseSchemaV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CapabilityResponseSchema", - "printedName": "CapabilityResponseSchema", - "children": [ - { - "kind": "Var", - "name": "config", - "printedName": "config", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:credential:ucp:upgrade:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", @@ -38006,600 +38476,630 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV2idSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6schemaSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSg_SSSgAB017InstrumentsChangeE3UcpVAB7UpgradeVSgANSayAA7MessageVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4specSSSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV7fromURLAD10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV7fromURLAD10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7versionSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "extends", - "printedName": "extends", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7extendsAA7ExtendsOSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:extends:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Function", + "name": "with", + "printedName": "with(checkout:credential:ucp:upgrade:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "ReadyResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReadyCheckout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyCheckout", + "usr": "s:24EmbeddedCheckoutProtocolAAO05ReadyB0V" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade?", + "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", - "children": [ + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:extends:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAdB0dB0VSgSg_SSSgSgAB017InstrumentsChangeE3UcpVSgAB7UpgradeVSgSgAQSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "checkout", + "printedName": "checkout", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8checkoutyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8checkoutyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "credential", + "printedName": "credential", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO10credentialyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO10credentialyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "upgrade", + "printedName": "upgrade", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO7upgradeyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO7upgradeyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -38607,188 +39107,34 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Extends", - "printedName": "Extends", - "children": [ - { - "kind": "Var", - "name": "string", - "printedName": "string", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.Extends", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> EmbeddedCheckoutProtocol.Extends", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -38796,367 +39142,133 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Extends.Type", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO6stringyACSScACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO6stringyACSScACmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "stringArray", - "printedName": "stringArray", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> ([Swift.String]) -> EmbeddedCheckoutProtocol.Extends", - "children": [ + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "([Swift.String]) -> EmbeddedCheckoutProtocol.Extends", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sa" + "usr": "s:Sq" } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Extends.Type", - "children": [ + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO", - "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO", - "moduleName": "EmbeddedCheckoutProtocol", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PaymentHandlerResponseSchema", - "printedName": "PaymentHandlerResponseSchema", - "children": [ - { - "kind": "Var", - "name": "config", - "printedName": "config", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ + }, { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -39165,248 +39277,252 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO11ReadyResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO11ReadyResultV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { - "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "kind": "TypeDecl", + "name": "ServiceResponseSchema", + "printedName": "ServiceResponseSchema", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - } - ], - "usr": "s:Sa" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ - { - "kind": "Var", - "name": "config", - "printedName": "config", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6configAB0A15TransportConfigVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", @@ -39414,36 +39530,61 @@ "printedName": "id", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV2idSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", @@ -39451,36 +39592,61 @@ "printedName": "schema", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6schemaSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", @@ -39488,36 +39654,61 @@ "printedName": "spec", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", @@ -39525,125 +39716,250 @@ "printedName": "version", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "name": "endpoint", + "printedName": "endpoint", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8endpointSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "transport", + "printedName": "transport", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV9transportAA9TransportOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -39653,143 +39969,299 @@ "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSg_SSSgA2OSSAoA0N0Otcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4fromADs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "children": [ + { + "kind": "TypeNominal", + "name": "EmbeddedTransportConfig", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.EmbeddedTransportConfig", + "usr": "s:24EmbeddedCheckoutProtocolAAO0A15TransportConfigV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -39798,121 +40270,75 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Transport?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAdB0A15TransportConfigVSgSg_SSSgSgA2rqrA0O0OSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ { "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", @@ -39945,274 +40371,169 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:availableInstruments:)", + "kind": "TypeDecl", + "name": "UCPCheckoutResponseSchema", + "printedName": "UCPCheckoutResponseSchema", "children": [ { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:availableInstruments:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "children": [ { "kind": "TypeNominal", @@ -40222,164 +40543,206 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" } ], "usr": "s:SD" } ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "services", + "printedName": "services", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8servicesSDySSSayAB07ServiceeF0VGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]??", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6statusAA0deF6StatusOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", @@ -40388,235 +40751,124 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "PaymentHandlerResponseSchemaAvailableInstrument", - "children": [ - { - "kind": "Var", - "name": "constraints", - "printedName": "constraints", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(constraints:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", "children": [ { "kind": "TypeNominal", @@ -40626,190 +40878,30 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" } ], "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(constraints:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchemaAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]", "children": [ { "kind": "TypeNominal", @@ -40819,249 +40911,178 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + } + ], + "usr": "s:Sa" } ], "usr": "s:SD" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSDySSSayAB07ServiceeF0VGGSgAA0deF6StatusOSgSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4with11constraints4typeACSDySSAA7JSONAnyCGSgSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4with11constraints4typeACSDySSAA7JSONAnyCGSgSg_SSSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", - "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ServiceResponseSchema", - "printedName": "ServiceResponseSchema", - "children": [ - { - "kind": "Var", - "name": "config", - "printedName": "config", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6configAA0A15TransportConfigVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6configAA0A15TransportConfigVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6configAA0A15TransportConfigVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6configAA0A15TransportConfigVSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV2idSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -41076,55 +41097,184 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV2idSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "UCPCheckoutResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "ServiceResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ServiceResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocolAAO21ServiceResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -41137,61 +41287,259 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6schemaSSSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionADSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAB07ServiceeF0VGGSgSgAA0deF6StatusOSgSgSSSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4specSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO12capabilitiesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO15paymentHandlersyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "services", + "printedName": "services", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8servicesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO6statusyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO7versionyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -41199,533 +41547,650 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4specSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7versionSSvp", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO25UCPCheckoutResponseSchemaV", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { - "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", + "kind": "TypeDecl", + "name": "Upgrade", + "printedName": "Upgrade", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8endpointSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8endpointSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "port", + "printedName": "port", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8endpointSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "transport", - "printedName": "transport", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV9transportAA9TransportOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV9transportAA9TransportOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV9transportAA9TransportOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV9transportAA9TransportOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAcA0A15TransportConfigVSg_SSSgA2NSSAnA0N0Otcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6config2id6schema4spec7version8endpoint9transportAcA0A15TransportConfigVSg_SSSgA2NSSAnA0N0Otcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ServiceResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.ServiceResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig??", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig?", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" - } - ], - "usr": "s:Sq" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV7fromURLAD10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(port:)", "children": [ + { + "kind": "TypeNominal", + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4portADSDySSAA7JSONAnyCGSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -41740,236 +42205,161 @@ } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Transport?", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAcA0A15TransportConfigVSgSg_SSSgSgA2qpqA0O0OSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV4with6config2id6schema4spec7version8endpoint9transportAcA0A15TransportConfigVSgSg_SSSgSgA2qpqA0O0OSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol21ServiceResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol21ServiceResponseSchemaV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedTransportConfig", - "children": [ - { - "kind": "Var", - "name": "colorScheme", - "printedName": "colorScheme", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "kind": "Function", + "name": "with", + "printedName": "with(port:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV11colorSchemeSayAA0a5ColorG0OGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV11colorSchemeSayAA0a5ColorG0OGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "Upgrade", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Upgrade", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV11colorSchemeSayAA0a5ColorG0OGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV11colorSchemeSayAA0a5ColorG0OGSgvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV4with4portADSDySSAA7JSONAnyCGSgSg_tF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO7UpgradeV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO7UpgradeV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { - "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "kind": "TypeDecl", + "name": "WindowOpenRequest", + "printedName": "WindowOpenRequest", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Var", + "name": "url", + "printedName": "url", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -41978,195 +42368,139 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV8delegateSaySSGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV8delegateSaySSGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV8delegateSaySSGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV8delegateSaySSGSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV_5usingADSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, { - "kind": "Var", - "name": "colorScheme", - "printedName": "colorScheme", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11colorSchemeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11colorSchemeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8delegateyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8delegateyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV7fromURLAD10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(url:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO" - } - ], - "usr": "s:Sq" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" }, { "kind": "TypeNominal", @@ -42176,88 +42510,150 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV3urlADSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "with", + "printedName": "with(url:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8RawValuea", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV4with3urlADSSSg_tF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "name": "parsedURL", + "printedName": "parsedURL", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Foundation.URL?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "accessors": [ { "kind": "Accessor", @@ -42267,44 +42663,111 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Foundation.URL?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "accessorKind": "get" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, + { + "kind": "Conformance", + "name": "EventPayload", + "printedName": "EventPayload", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "WindowOpenResult", + "printedName": "WindowOpenResult", + "children": [ { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "ucp", + "printedName": "ucp", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -42313,18 +42776,18 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucpAB017InstrumentsChangeF3UcpVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], "accessorKind": "get" } @@ -42332,21 +42795,33 @@ }, { "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "name": "continueURL", + "printedName": "continueURL", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -42355,375 +42830,266 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV11continueURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Var", + "name": "messages", + "printedName": "messages", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(colorScheme:delegate:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sa" + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV11colorScheme8delegateACSayAA0a5ColorG0OGSg_SaySSGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV11colorScheme8delegateACSayAA0a5ColorG0OGSg_SaySSGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV_5usingADSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4dataAD10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4fromADs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(colorScheme:delegate:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedTransportConfig", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedTransportConfig", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV" + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7fromURLAD10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(ucp:continueURL:messages:)", "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedColorScheme]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]??", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String]?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[Swift.String]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" @@ -42732,706 +43098,781 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV4with11colorScheme8delegateACSayAA0a5ColorH0OGSgSg_SaySSGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV4with11colorScheme8delegateACSayAA0a5ColorH0OGSgSg_SaySSGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0A15TransportConfigV", - "mangledName": "$s24EmbeddedCheckoutProtocol0A15TransportConfigV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedColorScheme", - "children": [ - { - "kind": "Var", - "name": "dark", - "printedName": "dark", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" - }, + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO4darkyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO4darkyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "light", - "printedName": "light", - "children": [ + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type) -> EmbeddedCheckoutProtocol.EmbeddedColorScheme", + "kind": "Function", + "name": "rejected", + "printedName": "rejected(reason:version:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme.Type", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO5lightyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO5lightyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme?", - "children": [ + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "EmbeddedColorScheme", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedColorScheme", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO" + "name": "String", + "printedName": "Swift.String", + "hasDefaultArg": true, + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV8rejected6reason7versionADSSSg_SStFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "success", + "printedName": "success(version:)", "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", + "hasDefaultArg": true, "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO8rawValueSSvg", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV7success7versionADSS_tFZ", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0A11ColorSchemeO", - "mangledName": "$s24EmbeddedCheckoutProtocol0A11ColorSchemeO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "static": true, + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "with", + "printedName": "with(ucp:continueURL:messages:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "children": [ + { + "kind": "TypeNominal", + "name": "InstrumentsChangeResultUcp", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", + "usr": "s:24EmbeddedCheckoutProtocolAAO26InstrumentsChangeResultUcpV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Transport", - "printedName": "Transport", - "children": [ - { - "kind": "Var", - "name": "a2A", - "printedName": "a2A", - "children": [ + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV4with3ucp11continueURL8messagesAdB017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO3ucpyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO3ucpyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "continueURL", + "printedName": "continueURL", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11continueURLyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11continueURLyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8messagesyA2FmF", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8messagesyA2FmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "embedded", - "printedName": "embedded", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueAFSgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "mcp", - "printedName": "mcp", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", - "children": [ + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueAFSgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "rest", - "printedName": "rest", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", - "children": [ + }, { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] }, { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Transport.Type", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO16WindowOpenResultV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Transport?", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO", - "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, + "usr": "s:24EmbeddedCheckoutProtocolAAO", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO", + "moduleName": "EmbeddedCheckoutProtocol", + "isEnumExhaustive": true, + "conformances": [ { "kind": "Conformance", "name": "Copyable", @@ -43450,159 +43891,296 @@ }, { "kind": "TypeDecl", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "UCPCheckoutResponseSchemaStatus", + "name": "EventLineItem", + "printedName": "EventLineItem", "children": [ { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Var", - "name": "success", - "printedName": "success", + "name": "quantity", + "printedName": "quantity", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ] + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(id:quantity:)", "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -43611,49 +44189,39 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "with", + "printedName": "with(id:quantity:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -43661,12 +44229,39 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ { "kind": "Conformance", "name": "Decodable", @@ -43706,131 +44301,86 @@ "kind": "Conformance", "name": "Escapable", "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Order", - "printedName": "Order", - "children": [ - { - "kind": "Var", - "name": "adjustments", - "printedName": "adjustments", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", - "children": [ - { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", - "children": [ - { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "EventPayload", + "printedName": "EventPayload", + "declKind": "Protocol", + "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "conformances": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Expectation", + "printedName": "Expectation", + "children": [ { "kind": "Var", - "name": "attribution", - "printedName": "attribution", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -43846,35 +44396,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -43886,19 +44422,19 @@ }, { "kind": "Var", - "name": "checkoutID", - "printedName": "checkoutID", + "name": "destination", + "printedName": "destination", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -43913,14 +44449,14 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -43932,30 +44468,13 @@ }, { "kind": "Var", - "name": "currency", - "printedName": "currency", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8currencySSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8currencySSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -43964,33 +44483,12 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8currencySSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8currencySSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44005,14 +44503,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44035,8 +44541,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44057,8 +44563,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44070,27 +44576,27 @@ }, { "kind": "Var", - "name": "label", - "printedName": "label", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44105,22 +44611,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44132,27 +44638,19 @@ }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "methodType", + "printedName": "methodType", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - } - ], - "usr": "s:Sa" + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -44167,22 +44665,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - } - ], - "usr": "s:Sa" + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -44193,490 +44683,438 @@ ] }, { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(description:destination:fulfillableOn:id:lineItems:methodType:)", "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + } ], - "accessorKind": "get" + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "totals", - "printedName": "totals", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - } - ], - "usr": "s:Sa" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Function", + "name": "with", + "printedName": "with(description:destination:fulfillableOn:id:lineItems:methodType:)", "children": [ { - "kind": "Var", - "name": "adjustments", - "printedName": "adjustments", + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "attribution", - "printedName": "attribution", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "checkoutID", - "printedName": "checkoutID", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "currency", - "printedName": "currency", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - } - ] + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.MethodType?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "label", - "printedName": "label", + "name": "description", + "printedName": "description", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -44684,36 +45122,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "destination", + "printedName": "destination", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -44721,36 +45159,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -44758,36 +45196,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "permalinkURL", - "printedName": "permalinkURL", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -44795,36 +45233,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -44832,36 +45270,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "methodType", + "printedName": "methodType", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ] } @@ -44869,61 +45307,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ], "usr": "s:Sq" @@ -44936,41 +45371,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -44988,8 +45426,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -45014,8 +45452,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45040,8 +45478,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -45061,8 +45499,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45079,8 +45517,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -45103,8 +45541,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -45121,8 +45559,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -45131,8 +45569,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -45223,91 +45661,385 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV", + "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ExpectationLineItem", + "printedName": "ExpectationLineItem", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", - "children": [ - { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:SD" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:quantity:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - }, + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(id:quantity:)", + "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ExpectationLineItem", + "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" }, { "kind": "TypeNominal", @@ -45321,75 +46053,218 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sa" - }, + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Extends", + "printedName": "Extends", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.Extends", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> EmbeddedCheckoutProtocol.Extends", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Extends.Type", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO6stringyACSScACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO6stringyACSScACmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "stringArray", + "printedName": "stringArray", + "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Extends.Type) -> ([Swift.String]) -> EmbeddedCheckoutProtocol.Extends", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String]) -> EmbeddedCheckoutProtocol.Extends", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ] + }, { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Extends.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + } + ] } - ], - "usr": "s:Sa" + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO11stringArrayyACSaySSGcACmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Extends", + "printedName": "EmbeddedCheckoutProtocol.Extends", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" }, { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, "init_kind": "Designated" }, { @@ -45410,64 +46285,223 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO", + "mangledName": "$s24EmbeddedCheckoutProtocol7ExtendsO", + "moduleName": "EmbeddedCheckoutProtocol", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Fulfillment", + "printedName": "Fulfillment", + "children": [ + { + "kind": "Var", + "name": "events", + "printedName": "events", "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Var", + "name": "expectations", + "printedName": "expectations", "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Constructor", @@ -45476,9 +46510,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", @@ -45495,8 +46529,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -45505,153 +46539,193 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(events:expectations:)", "children": [ { "kind": "TypeNominal", - "name": "Order", - "printedName": "EmbeddedCheckoutProtocol.Order", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", - "children": [ - { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - } - ], - "usr": "s:Sa" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : Swift.String]??", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : Swift.String]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : Swift.String]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:SD" + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment?", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", @@ -45664,75 +46738,55 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], + "name": "Encoding", + "printedName": "Swift.String.Encoding", "hasDefaultArg": true, - "usr": "s:Sq" - }, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(events:expectations:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" } ], "usr": "s:Sa" @@ -45747,51 +46801,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutTotal", - "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", - "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "children": [ + { + "kind": "TypeNominal", + "name": "Expectation", + "printedName": "EmbeddedCheckoutProtocol.Expectation", + "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -45799,71 +46831,16 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol5OrderV", - "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV", + "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -45912,8 +46889,8 @@ }, { "kind": "TypeDecl", - "name": "Adjustment", - "printedName": "Adjustment", + "name": "FulfillmentAvailableMethod", + "printedName": "FulfillmentAvailableMethod", "children": [ { "kind": "Var", @@ -45936,8 +46913,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -45966,8 +46943,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11descriptionSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11descriptionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -45979,30 +46956,13 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -46011,49 +46971,12 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - } - ], - "usr": "s:Sa" - } - ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46069,29 +46992,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV9lineItemsSayAA0D8LineItemVGSgvg", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV13fulfillableOnSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46103,19 +47018,27 @@ }, { "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46130,14 +47053,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10occurredAt10Foundation4DateVvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11lineItemIDSSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46149,19 +47080,19 @@ }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -46176,14 +47107,14 @@ "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6statusAA0D6StatusOvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4typeAA0dF4TypeOvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -46195,40 +47126,38 @@ }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -46238,65 +47167,307 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6totalsSayAA13LineItemTotalVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ "Transparent" ], "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } ] }, { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(description:fulfillableOn:lineItemIDS:type:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV11description13fulfillableOn11lineItemIDS4typeACSSSg_AHSaySSGAA0dF4TypeOtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV7fromURLAC10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -46305,17 +47476,126 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(description:fulfillableOn:lineItemIDS:type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentAvailableMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4with11description13fulfillableOn11lineItemIDS4typeACSSSgSg_AJSaySSGSgAA0dF4TypeOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV4with11description13fulfillableOn11lineItemIDS4typeACSSSgSg_AJSaySSGSgAA0dF4TypeOSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -46330,24 +47610,24 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -46355,36 +47635,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11descriptionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11descriptionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "fulfillableOn", + "printedName": "fulfillableOn", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -46392,36 +47672,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO13fulfillableOnyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -46429,36 +47709,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "occurredAt", - "printedName": "occurredAt", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" } ] } @@ -46466,176 +47746,550 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO10occurredAtyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Var", - "name": "status", - "printedName": "status", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" - }, + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "children": [ { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "intValue", + "printedName": "intValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6statusyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", + "mangledName": "$s24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FulfillmentDestination", + "printedName": "FulfillmentDestination", + "children": [ + { + "kind": "Var", + "name": "addressCountry", + "printedName": "addressCountry", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "totals", - "printedName": "totals", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO6totalsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountrySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "addressLocality", + "printedName": "addressLocality", + "children": [ { - "kind": "Var", - "name": "type", - "printedName": "type", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO4typeyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15addressLocalitySSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -46643,50 +48297,60 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Adjustment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13addressRegionSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -46695,71 +48359,60 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV15extendedAddressSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "firstName", + "printedName": "firstName", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -46768,16 +48421,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -46786,22 +48451,30 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] - }, + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV9firstNameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lastName", + "printedName": "lastName", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -46810,16 +48483,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -46828,46 +48513,60 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8lastNameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -46875,74 +48574,27 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV11phoneNumberSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(description:id:lineItems:occurredAt:status:totals:type:)", + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ - { - "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - }, { "kind": "TypeNominal", "name": "Optional", @@ -46956,69 +48608,117 @@ } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - }, - { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10postalCodeSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV13streetAddressSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ { "kind": "TypeNominal", "name": "String", @@ -47026,88 +48726,163 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV11description2id9lineItems10occurredAt6status6totals4typeACSSSg_SSSayAA0D8LineItemVGSg10Foundation4DateVAA0D6StatusOSayAA0nO5TotalVGSgSStcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Var", + "name": "address", + "printedName": "address", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4fromACs7Decoder_p_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7addressAA13PostalAddressVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Var", + "name": "name", + "printedName": "name", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4nameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Constructor", @@ -47116,9 +48891,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", @@ -47135,8 +48910,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -47145,61 +48920,82 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(fromURL:)", + "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", "children": [ { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(description:id:lineItems:occurredAt:status:totals:type:)", - "children": [ + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Adjustment", - "printedName": "EmbeddedCheckoutProtocol.Adjustment", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { @@ -47214,99 +49010,68 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]??", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.AdjustmentLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Foundation.Date?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]??", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { @@ -47321,22 +49086,26 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV4with11description2id9lineItems10occurredAt6status6totals4typeACSSSgSg_ALSayAA0D8LineItemVGSgSg10Foundation4DateVSgAA0D6StatusOSgSayAA0oP5TotalVGSgSgALtF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV14addressCountry0F8Locality0F6Region15extendedAddress9firstName04lastM011phoneNumber10postalCode06streetK02id0F04nameACSSSg_A8PSSAA06PostalK0VSgAPtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + }, { "kind": "TypeNominal", "name": "Data", @@ -47344,224 +49113,64 @@ "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV8jsonData10Foundation0F0VyKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV", - "mangledName": "$s24EmbeddedCheckoutProtocol10AdjustmentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "AdjustmentLineItem", - "printedName": "AdjustmentLineItem", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8quantitySivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(id:quantity:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV2id8quantityACSS_Sitcfc", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -47582,134 +49191,285 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4fromACs7Decoder_p_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Function", + "name": "with", + "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:id:address:name:)", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(id:quantity:)", - "children": [ + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "AdjustmentLineItem", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentLineItem", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV" + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -47729,930 +49489,861 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV4with2id8quantityACSSSg_SiSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "usr": "s:Sq" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV4with14addressCountry0G8Locality0G6Region15extendedAddress9firstName04lastN011phoneNumber10postalCode06streetL02id0G04nameACSSSgSg_A8rqA06PostalL0VSgSgARtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol18AdjustmentLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol18AdjustmentLineItemV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "AdjustmentStatus", - "printedName": "AdjustmentStatus", - "children": [ - { - "kind": "Var", - "name": "completed", - "printedName": "completed", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "kind": "Var", + "name": "addressCountry", + "printedName": "addressCountry", "children": [ { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "addressLocality", + "printedName": "addressLocality", + "children": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15addressLocalityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13addressRegionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO15extendedAddressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "firstName", + "printedName": "firstName", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO9firstNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "lastName", + "printedName": "lastName", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8lastNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO9completedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "failed", - "printedName": "failed", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11phoneNumberyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO6failedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "pending", - "printedName": "pending", - "children": [ + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO10postalCodeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AdjustmentStatus.Type) -> EmbeddedCheckoutProtocol.AdjustmentStatus", + "kind": "Var", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] } ] } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO7pendingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "AdjustmentStatus", - "printedName": "EmbeddedCheckoutProtocol.AdjustmentStatus", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO" - } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO13streetAddressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16AdjustmentStatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol16AdjustmentStatusO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Fulfillment", - "printedName": "Fulfillment", - "children": [ - { - "kind": "Var", - "name": "events", - "printedName": "events", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "kind": "Var", + "name": "address", + "printedName": "address", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + } + ] } - ], - "usr": "s:Sa" + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO7addressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "name", + "printedName": "name", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6eventsSayAA0D5EventVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "expectations", - "printedName": "expectations", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO4nameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - } - ], - "usr": "s:Sa" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV12expectationsSayAA11ExpectationVGSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(events:expectations:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO" } ], - "usr": "s:Sa" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6events12expectationsACSayAA0D5EventVGSg_SayAA11ExpectationVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(events:expectations:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Fulfillment", - "printedName": "EmbeddedCheckoutProtocol.Fulfillment", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]??", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentEvent]", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]??", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Expectation]", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV4with6events12expectationsACSayAA0D5EventVGSgSg_SayAA11ExpectationVGSgSgtF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV", - "mangledName": "$s24EmbeddedCheckoutProtocol11FulfillmentV", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV", + "mangledName": "$s24EmbeddedCheckoutProtocol22FulfillmentDestinationV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -49152,6 +50843,482 @@ } ] }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentEvent", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "EventLineItem", + "printedName": "EmbeddedCheckoutProtocol.EventLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, { "kind": "TypeDecl", "name": "CodingKeys", @@ -49456,7 +51623,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", @@ -49474,25 +51641,22 @@ }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", @@ -49516,16 +51680,19 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", @@ -49543,14 +51710,14 @@ }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -49782,503 +51949,27 @@ "mangledName": "$ss8SendableP" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7carrier11description2id9lineItems10occurredAt14trackingNumber0M3URL4typeACSSSg_ALSSSayAA0E8LineItemVG10Foundation4DateVA2LSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(carrier:description:id:lineItems:occurredAt:trackingNumber:trackingURL:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentEvent", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentEvent", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EventLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Date?", - "children": [ - { - "kind": "TypeNominal", - "name": "Date", - "printedName": "Foundation.Date", - "usr": "s:10Foundation4DateV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV4with7carrier11description2id9lineItems10occurredAt14trackingNumber0N3URL4typeACSSSgSg_AnMSayAA0E8LineItemVGSg10Foundation4DateVSgA2nMtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentEventV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", @@ -50332,8 +52023,8 @@ }, { "kind": "TypeDecl", - "name": "EventLineItem", - "printedName": "EventLineItem", + "name": "FulfillmentGroup", + "printedName": "FulfillmentGroup", "children": [ { "kind": "Var", @@ -50348,8 +52039,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50370,8 +52061,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50383,19 +52074,27 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -50410,14 +52109,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8quantitySivg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV11lineItemIDSSaySSGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -50428,83 +52135,290 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:quantity:)", + "kind": "Var", + "name": "options", + "printedName": "options", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - }, + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7optionsSayAA0D6OptionVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "selectedOptionID", + "printedName": "selectedOptionID", + "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV2id8quantityACSS_Sitcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV16selectedOptionIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -50515,9 +52429,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", @@ -50527,8 +52441,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -50537,33 +52451,25 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -50574,9 +52480,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", @@ -50586,28 +52492,34 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(id:quantity:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(id:lineItemIDS:options:selectedOptionID:)", "children": [ { "kind": "TypeNominal", - "name": "EventLineItem", - "printedName": "EmbeddedCheckoutProtocol.EventLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV" + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -50616,30 +52528,73 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + } + ], + "usr": "s:Sa" + } + ], "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" } ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV2id11lineItemIDS7options16selectedOptionIDACSS_SaySSGSayAA0dL0VGSgSSSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV4with2id8quantityACSSSg_SiSgtF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -50655,8 +52610,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -50690,73 +52645,24 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13EventLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol13EventLineItemV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Expectation", - "printedName": "Expectation", - "children": [ - { - "kind": "Var", - "name": "description", - "printedName": "description", + "kind": "Function", + "name": "with", + "printedName": "with(id:lineItemIDS:options:selectedOptionID:)", "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -50769,28 +52675,18 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -50799,282 +52695,73 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11descriptionSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "destination", - "printedName": "destination", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11destinationAA13PostalAddressVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentOption]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV13fulfillableOnSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV2idSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV9lineItemsSayAA0D8LineItemVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "methodType", - "printedName": "methodType", - "children": [ - { - "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV4with2id11lineItemIDS7options16selectedOptionIDACSSSg_SaySSGSgSayAA0dM0VGSgSgAISgtF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10methodTypeAA06MethodF0Ovg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -51083,104 +52770,30 @@ "children": [ { "kind": "Var", - "name": "description", - "printedName": "description", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11descriptionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "destination", - "printedName": "destination", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11destinationyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "fulfillableOn", - "printedName": "fulfillableOn", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -51188,36 +52801,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO13fulfillableOnyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -51225,36 +52838,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "lineItems", - "printedName": "lineItems", + "name": "options", + "printedName": "options", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -51262,36 +52875,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO9lineItemsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO7optionsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "methodType", - "printedName": "methodType", + "name": "selectedOptionID", + "printedName": "selectedOptionID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Expectation.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ] } @@ -51299,61 +52912,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO10methodTypeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO16selectedOptionIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" @@ -51366,41 +52976,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.Expectation.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -51418,8 +53031,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -51444,8 +53057,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51470,8 +53083,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -51491,8 +53104,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51509,8 +53122,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -51533,8 +53146,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -51551,8 +53164,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -51561,8 +53174,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -51653,413 +53266,11 @@ "mangledName": "$ss9EscapableP" } ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(description:destination:fulfillableOn:id:lineItems:methodType:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSg_AA13PostalAddressVAJSSSayAA0D8LineItemVGAA06MethodM0Otcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(description:destination:fulfillableOn:id:lineItems:methodType:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Expectation", - "printedName": "EmbeddedCheckoutProtocol.Expectation", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", - "children": [ - { - "kind": "TypeNominal", - "name": "PostalAddress", - "printedName": "EmbeddedCheckoutProtocol.PostalAddress", - "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.ExpectationLineItem]", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - } - ], - "usr": "s:Sa" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MethodType?", - "children": [ - { - "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV4with11description11destination13fulfillableOn2id9lineItems10methodTypeACSSSgSg_AA13PostalAddressVSgAlKSayAA0D8LineItemVGSgAA06MethodN0OSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11ExpectationV", - "mangledName": "$s24EmbeddedCheckoutProtocol11ExpectationV", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV", + "mangledName": "$s24EmbeddedCheckoutProtocol16FulfillmentGroupV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -52108,24 +53319,40 @@ }, { "kind": "TypeDecl", - "name": "ExpectationLineItem", - "printedName": "ExpectationLineItem", + "name": "FulfillmentMethod", + "printedName": "FulfillmentMethod", "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "destinations", + "printedName": "destinations", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52140,14 +53367,30 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinationsSayAA0D11DestinationVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52159,19 +53402,35 @@ }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "groups", + "printedName": "groups", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -52186,14 +53445,30 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8quantitySivg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6groupsSayAA0D5GroupVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -52204,182 +53479,118 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:quantity:)", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV2id8quantityACSS_Sitcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Var", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV11lineItemIDSSaySSGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "with", - "printedName": "with(id:quantity:)", + "kind": "Var", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", "children": [ - { - "kind": "TypeNominal", - "name": "ExpectationLineItem", - "printedName": "EmbeddedCheckoutProtocol.ExpectationLineItem", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV" - }, { "kind": "TypeNominal", "name": "Optional", @@ -52392,329 +53603,336 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV21selectedDestinationIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV4with2id8quantityACSSSg_SiSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV8jsonData10Foundation0H0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol19ExpectationLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol19ExpectationLineItemV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4typeAA0dE4TypeOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "MethodType", - "printedName": "MethodType", - "children": [ { "kind": "Var", - "name": "digital", - "printedName": "digital", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - } - ] + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "pickup", - "printedName": "pickup", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "shipping", - "printedName": "shipping", - "children": [ + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.MethodType?", - "children": [ - { - "kind": "TypeNominal", - "name": "MethodType", - "printedName": "EmbeddedCheckoutProtocol.MethodType", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" - } - ], - "usr": "s:Sq" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Constructor", + "name": "init", + "printedName": "init(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", "children": [ { "kind": "TypeNominal", @@ -52723,49 +53941,12 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO", - "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ + "usr": "s:Sa" + }, { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -52773,157 +53954,121 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgAA0dE4TypeOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dM0VGSg_SayAA0D5GroupVGSgSSSaySSGSSSgAA0dE4TypeOtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "OrderLineItem", - "printedName": "OrderLineItem", - "children": [ - { - "kind": "Var", - "name": "id", - "printedName": "id", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "item", - "printedName": "item", + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -52938,203 +54083,179 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(destinations:groups:id:lineItemIDS:selectedDestinationID:type:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "FulfillmentMethod", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentDestination]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentDestination", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentDestination", + "usr": "s:24EmbeddedCheckoutProtocol22FulfillmentDestinationV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "quantity", - "printedName": "quantity", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]??", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.FulfillmentGroup]", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentGroup", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentGroup", + "usr": "s:24EmbeddedCheckoutProtocol16FulfillmentGroupV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "totals", - "printedName": "totals", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "Optional", + "printedName": "[Swift.String]?", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAA0dE4TypeOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV4with12destinations6groups2id11lineItemIDS21selectedDestinationID4typeACSayAA0dN0VGSgSg_SayAA0D5GroupVGSgSgSSSgSaySSGSgAUSgAA0dE4TypeOSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -53143,30 +54264,30 @@ "children": [ { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "destinations", + "printedName": "destinations", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -53174,36 +54295,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO12destinationsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "item", - "printedName": "item", + "name": "groups", + "printedName": "groups", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -53211,36 +54332,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO6groupsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "parentID", - "printedName": "parentID", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -53248,36 +54369,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "quantity", - "printedName": "quantity", + "name": "lineItemIDS", + "printedName": "lineItemIDS", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -53285,36 +54406,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11lineItemIDSyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "selectedDestinationID", + "printedName": "selectedDestinationID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -53322,36 +54443,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO21selectedDestinationIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "totals", - "printedName": "totals", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ] } @@ -53359,61 +54480,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" @@ -53426,41 +54544,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -53478,8 +54599,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -53504,8 +54625,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53530,8 +54651,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -53551,8 +54672,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53569,8 +54690,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -53593,8 +54714,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -53611,8 +54732,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -53621,8 +54742,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -53713,224 +54834,330 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentMethodV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(id:item:parentID:quantity:status:totals:)", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FulfillmentMethodType", + "printedName": "FulfillmentMethodType", + "children": [ + { + "kind": "Var", + "name": "pickup", + "printedName": "pickup", "children": [ { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - }, - { - "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", - "children": [ + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + }, { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } + ] } - ], - "usr": "s:Sa" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO6pickupyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "shipping", + "printedName": "shipping", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentMethodType.Type) -> EmbeddedCheckoutProtocol.FulfillmentMethodType", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8shippingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType?", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentMethodType", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethodType", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "throwing": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "implicit": true }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO", + "mangledName": "$s24EmbeddedCheckoutProtocol21FulfillmentMethodTypeO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Function", - "name": "with", - "printedName": "with(id:item:parentID:quantity:status:totals:)", + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "FulfillmentOption", + "printedName": "FulfillmentOption", + "children": [ + { + "kind": "Var", + "name": "carrier", + "printedName": "carrier", "children": [ - { - "kind": "TypeNominal", - "name": "OrderLineItem", - "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" - }, { "kind": "TypeNominal", "name": "Optional", @@ -53943,28 +55170,85 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrierSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Item?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Item", - "printedName": "EmbeddedCheckoutProtocol.Item", - "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -53981,195 +55265,203 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity?", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV11descriptionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "earliestFulfillmentTime", + "printedName": "earliestFulfillmentTime", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "name": "Optional", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "LineItemTotal", - "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", - "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV08earliestD4Time10Foundation4DateVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "latestFulfillmentTime", + "printedName": "latestFulfillmentTime", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV", - "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV06latestD4Time10Foundation4DateVSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "LineItemQuantity", - "printedName": "LineItemQuantity", - "children": [ { "kind": "Var", - "name": "fulfilled", - "printedName": "fulfilled", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -54184,14 +55476,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -54203,27 +55495,27 @@ }, { "kind": "Var", - "name": "original", - "printedName": "original", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -54238,22 +55530,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6totalsSayAA13LineItemTotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -54265,24 +55557,38 @@ }, { "kind": "Var", - "name": "total", - "printedName": "total", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ + "HasInitialValue", "HasStorage" ], - "isLet": true, "hasStorage": true, "accessors": [ { @@ -54292,91 +55598,236 @@ "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fulfilled:original:total:)", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Foundation.Date?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7carrier11description08earliestD4Time2id06latestdI05title6totalsACSSSg_AK10Foundation4DateVSgSSAOSSSayAA13LineItemTotalVGtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -54385,9 +55836,9 @@ "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", @@ -54397,55 +55848,100 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV8jsonData10Foundation0G0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -54455,56 +55951,461 @@ "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Function", + "name": "with", + "printedName": "with(carrier:description:earliestFulfillmentTime:id:latestFulfillmentTime:title:totals:)", + "children": [ + { + "kind": "TypeNominal", + "name": "FulfillmentOption", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Date?", + "children": [ + { + "kind": "TypeNominal", + "name": "Date", + "printedName": "Foundation.Date", + "usr": "s:10Foundation4DateV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV4with7carrier11description08earliestD4Time2id06latestdJ05title6totalsACSSSgSg_AM10Foundation4DateVSgSgAlrLSayAA13LineItemTotalVGSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "kind": "Var", + "name": "carrier", + "printedName": "carrier", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO7carrieryA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "description", + "printedName": "description", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11descriptionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "earliestFulfillmentTime", + "printedName": "earliestFulfillmentTime", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO08earliestD4TimeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "latestFulfillmentTime", + "printedName": "latestFulfillmentTime", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO06latestD4TimeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(fulfilled:original:total:)", - "children": [ + "kind": "Var", + "name": "title", + "printedName": "title", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO5titleyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "LineItemQuantity", - "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type) -> EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Int", @@ -54512,84 +56413,86 @@ "usr": "s:Si" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int??", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.FulfillmentOption.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -54598,367 +56501,249 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV", - "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "LineItemStatus", - "printedName": "LineItemStatus", - "children": [ - { - "kind": "Var", - "name": "fulfilled", - "printedName": "fulfilled", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } - ] + ], + "usr": "s:Sq" } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "partial", - "printedName": "partial", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", - "children": [ - { - "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "processing", - "printedName": "processing", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "removed", - "printedName": "removed", - "children": [ + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } ] } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "LineItemStatus", - "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentOptionV", + "mangledName": "$s24EmbeddedCheckoutProtocol17FulfillmentOptionV", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, { "kind": "Conformance", "name": "Decodable", @@ -55005,160 +56790,24 @@ }, { "kind": "TypeDecl", - "name": "UCPOrderResponseSchema", - "printedName": "UCPOrderResponseSchema", + "name": "Item", + "printedName": "Item", "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -55173,44 +56822,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55222,49 +56841,27 @@ }, { "kind": "Var", - "name": "services", - "printedName": "services", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -55278,45 +56875,23 @@ "printedName": "Get()", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8imageURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55328,27 +56903,19 @@ }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "price", + "printedName": "price", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -55363,22 +56930,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5priceSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5priceSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55390,8 +56949,8 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeNominal", @@ -55401,8 +56960,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -55423,8 +56982,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV5titleSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV5titleSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55435,73 +56994,364 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(id:imageURL:price:title:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV2id8imageURL5price5titleACSS_SSSgSiSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV8jsonData10Foundation0F0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(id:imageURL:price:title:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV4with2id8imageURL5price5titleACSSSg_AISgSiSgAItF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", + "children": [ { "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -55509,36 +57359,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "services", - "printedName": "services", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -55546,36 +57396,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8imageURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "price", + "printedName": "price", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -55583,36 +57433,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5priceyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Item.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Item.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ] } @@ -55620,61 +57470,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO5titleyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -55687,41 +57534,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Item.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -55739,8 +57589,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -55765,8 +57615,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -55791,8 +57641,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -55812,8 +57662,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -55830,8 +57680,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -55854,8 +57704,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -55872,8 +57722,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -55882,8 +57732,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -55974,177 +57824,603 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol4ItemV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "JSONAny", + "printedName": "JSONAny", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Required" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "value", + "printedName": "value", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "Any" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC", + "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "JSONNull", + "printedName": "JSONNull", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullCACycfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullCACycfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Required" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + }, + { + "kind": "TypeNominal", + "name": "JSONNull", + "printedName": "EmbeddedCheckoutProtocol.JSONNull", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC2eeoiySbAC_ACtFZ", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC2eeoiySbAC_ACtFZ", + "moduleName": "EmbeddedCheckoutProtocol", + "static": true, + "declAttributes": [ + "Final" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC", + "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "Final" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "JSONRPCID", + "printedName": "JSONRPCID", + "children": [ + { + "kind": "Var", + "name": "string", + "printedName": "string", "children": [ { - "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", - "children": [ + ] + }, { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "int", + "printedName": "int", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ + ] + }, { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + } + ] } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "null", + "printedName": "null", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> EmbeddedCheckoutProtocol.JSONRPCID", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", @@ -56153,9 +58429,9 @@ "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", @@ -56165,350 +58441,197 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(integerLiteral:)", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(stringLiteral:)", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Function", - "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "name": "__derived_enum_equals", + "printedName": "__derived_enum_equals(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "UCPOrderResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO21__derived_enum_equalsySbAC_ACtFZ", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO21__derived_enum_equalsySbAC_ACtFZ", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "TypeAlias", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO34ExtendedGraphemeClusterLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO34ExtendedGraphemeClusterLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "StringLiteralType", + "printedName": "StringLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO17StringLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO17StringLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO24UnicodeScalarLiteralTypea", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO24UnicodeScalarLiteralTypea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true } ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", - "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO", + "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO", "moduleName": "EmbeddedCheckoutProtocol", + "isEnumExhaustive": true, "conformances": [ { "kind": "Conformance", @@ -56524,6 +58647,13 @@ "usr": "s:SE", "mangledName": "$sSE" }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "Sendable", @@ -56533,131 +58663,13 @@ }, { "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Service", - "printedName": "Service", - "children": [ - { - "kind": "Var", - "name": "config", - "printedName": "config", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", + "name": "ExpressibleByStringLiteral", + "printedName": "ExpressibleByStringLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "StringLiteralType", + "printedName": "StringLiteralType", "children": [ { "kind": "TypeNominal", @@ -56665,123 +58677,50 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV2idSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV2idSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:s26ExpressibleByStringLiteralP", + "mangledName": "$ss26ExpressibleByStringLiteralP" }, { - "kind": "Var", - "name": "schema", - "printedName": "schema", + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" }, { - "kind": "Var", - "name": "spec", - "printedName": "spec", + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByExtendedGraphemeClusterLiteral", + "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "ExtendedGraphemeClusterLiteralType", + "printedName": "ExtendedGraphemeClusterLiteralType", "children": [ { "kind": "TypeNominal", @@ -56789,78 +58728,21 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4specSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4specSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", + "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" }, { - "kind": "Var", - "name": "version", - "printedName": "version", + "kind": "Conformance", + "name": "ExpressibleByUnicodeScalarLiteral", + "printedName": "ExpressibleByUnicodeScalarLiteral", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeWitness", + "name": "UnicodeScalarLiteralType", + "printedName": "UnicodeScalarLiteralType", "children": [ { "kind": "TypeNominal", @@ -56868,42 +58750,48 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", + "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Line", + "printedName": "Line", + "children": [ { "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -56918,22 +58806,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amountSivg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -56945,19 +58825,19 @@ }, { "kind": "Var", - "name": "transport", - "printedName": "transport", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -56972,14 +58852,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV11displayTextSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -56992,83 +58872,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -57078,80 +58888,48 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(amount:displayText:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6amount11displayTextACSi_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -57161,9 +58939,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -57173,8 +58951,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57183,33 +58961,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -57220,9 +58991,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" }, { "kind": "TypeNominal", @@ -57232,8 +59003,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -57241,180 +59012,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Transport?", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -57430,107 +59048,17 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV", - "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ErrorResponse", - "printedName": "ErrorResponse", - "children": [ - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", @@ -57545,157 +59073,71 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV11continueURLSSSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "Function", + "name": "with", + "printedName": "with(amount:displayText:)", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV8messagesSayAA7MessageVGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV8messagesSayAA7MessageVGvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "Line", + "printedName": "EmbeddedCheckoutProtocol.Line", + "usr": "s:24EmbeddedCheckoutProtocol4LineV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV8messagesSayAA7MessageVGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV8messagesSayAA7MessageVGvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV3ucpAA0dE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV3ucpAA0dE3UcpVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV3ucpAA0dE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV3ucpAA0dE3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV4with6amount11displayTextACSiSg_SSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -57704,67 +59146,30 @@ "children": [ { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11continueURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ] } @@ -57772,36 +59177,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO6amountyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Line.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Line.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ] } @@ -57809,61 +59214,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11displayTextyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" @@ -57876,41 +59278,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Line.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -57928,8 +59333,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -57954,8 +59359,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -57980,8 +59385,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -58001,8 +59406,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -58019,8 +59424,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -58043,8 +59448,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -58061,8 +59466,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -58071,8 +59476,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol4LineV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -58163,107 +59568,354 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol4LineV", + "mangledName": "$s24EmbeddedCheckoutProtocol4LineV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "LineItem", + "printedName": "LineItem", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "item", + "printedName": "item", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4itemAA0E0Vvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parentID", + "printedName": "parentID", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8parentIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8quantitySivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(continueURL:messages:ucp:)", + "kind": "Var", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" - }, + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6totalsSayAA0dE5TotalVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV11continueURL8messages3ucpACSSSg_SayAA7MessageVGAA0dE3UcpVtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV11continueURL8messages3ucpACSSSg_SayAA7MessageVGAA0dE3UcpVtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -58274,9 +59926,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -58286,8 +59938,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58296,33 +59948,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -58333,9 +59978,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", @@ -58345,91 +59990,100 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(continueURL:messages:ucp:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(id:item:parentID:quantity:totals:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp?", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:Sa" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV2id4item8parentID8quantity6totalsACSS_AA0E0VSSSgSiSayAA0dE5TotalVGtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV4with11continueURL8messages3ucpACSSSgSg_SayAA7MessageVGSgAA0dE3UcpVSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV4with11continueURL8messages3ucpACSSSgSg_SayAA7MessageVGSgAA0dE3UcpVSgtF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -58445,8 +60099,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -58480,484 +60134,122 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV", - "mangledName": "$s24EmbeddedCheckoutProtocol13ErrorResponseV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" }, { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ErrorResponseUcp", - "printedName": "ErrorResponseUcp", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "kind": "Function", + "name": "with", + "printedName": "with(id:item:parentID:quantity:totals:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV12capabilitiesSDySSSayAA010CapabilityE6SchemaVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", - "children": [ + "name": "LineItem", + "printedName": "EmbeddedCheckoutProtocol.LineItem", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV15paymentHandlersSDySSSayAA014PaymentHandlerE6SchemaVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "services", - "printedName": "services", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "printedName": "EmbeddedCheckoutProtocol.Item?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV8servicesSDySSSayAA7ServiceVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "status", - "printedName": "status", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV6statusAA0D6StatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV6statusAA0D6StatusOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV6statusAA0D6StatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV6statusAA0D6StatusOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV4with2id4item8parentID8quantity6totalsACSSSg_AA0E0VSgAJSgSiSgSayAA0dE5TotalVGSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -58966,30 +60258,30 @@ "children": [ { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -58997,36 +60289,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO12capabilitiesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "item", + "printedName": "item", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -59034,36 +60326,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO15paymentHandlersyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO4itemyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "services", - "printedName": "services", + "name": "parentID", + "printedName": "parentID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -59071,36 +60363,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8servicesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8parentIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "quantity", + "printedName": "quantity", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -59108,36 +60400,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8quantityyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ] } @@ -59145,61 +60437,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO7versionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO6totalsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -59212,41 +60501,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -59264,8 +60556,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -59290,8 +60582,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59316,8 +60608,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -59337,8 +60629,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59355,8 +60647,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -59379,8 +60671,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -59397,8 +60689,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -59407,8 +60699,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -59499,193 +60791,246 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol8LineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol8LineItemV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "LineItemQuantity", + "printedName": "LineItemQuantity", + "children": [ + { + "kind": "Var", + "name": "fulfilled", + "printedName": "fulfilled", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" - }, + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilledSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "original", + "printedName": "original", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8originalSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAA0D6StatusOSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityE6SchemaVGGSg_SDySSSayAA014PaymentHandlereN0VGGSgSDySSSayAA7ServiceVGGSgAA0D6StatusOSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "total", + "printedName": "total", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV5totalSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -59696,9 +61041,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", @@ -59708,8 +61053,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -59718,33 +61063,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -59755,9 +61093,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", @@ -59767,195 +61105,80 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(fulfilled:original:total:)", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponseUcp", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponseUcp", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]??", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerResponseSchema", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", - "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Service]", - "children": [ - { - "kind": "TypeNominal", - "name": "Service", - "printedName": "EmbeddedCheckoutProtocol.Service", - "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV9fulfilled8original5totalACSi_SiSgSitcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus?", - "children": [ - { - "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA0D6StatusOSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityE6SchemaVGGSgSg_SDySSSayAA014PaymentHandlereO0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA0D6StatusOSgSSSgtF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -59971,8 +61194,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -60006,17 +61229,89 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(fulfilled:original:total:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV4with9fulfilled8original5totalACSiSg_AHSgAHtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16ErrorResponseUcpV", - "mangledName": "$s24EmbeddedCheckoutProtocol16ErrorResponseUcpV", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV", + "mangledName": "$s24EmbeddedCheckoutProtocol16LineItemQuantityV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -60054,46 +61349,157 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ErrorStatus", - "printedName": "ErrorStatus", - "children": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "LineItemStatus", + "printedName": "LineItemStatus", + "children": [ + { + "kind": "Var", + "name": "fulfilled", + "printedName": "fulfilled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO9fulfilledyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "partial", + "printedName": "partial", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7partialyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "processing", + "printedName": "processing", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO10processingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "removed", + "printedName": "removed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ErrorStatus.Type) -> EmbeddedCheckoutProtocol.ErrorStatus", + "printedName": "(EmbeddedCheckoutProtocol.LineItemStatus.Type) -> EmbeddedCheckoutProtocol.LineItemStatus", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus.Type", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ] } @@ -60101,8 +61507,8 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO5erroryA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO5erroryA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO7removedyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { @@ -60113,13 +61519,13 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus?", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", "children": [ { "kind": "TypeNominal", - "name": "ErrorStatus", - "printedName": "EmbeddedCheckoutProtocol.ErrorStatus", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], "usr": "s:Sq" @@ -60132,8 +61538,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueACSgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueACSgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60154,8 +61560,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -60172,8 +61578,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -60190,8 +61596,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60203,8 +61609,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ErrorStatusO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ErrorStatusO", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO", + "mangledName": "$s24EmbeddedCheckoutProtocol14LineItemStatusO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -60291,32 +61697,78 @@ }, { "kind": "TypeDecl", - "name": "InstrumentsChangeResult", - "printedName": "InstrumentsChangeResult", + "name": "LineItemTotal", + "printedName": "LineItemTotal", "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "amount", + "printedName": "amount", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amountSivg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkoutAA0deB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkoutAA0deB0VSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60332,21 +61784,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkoutAA0deB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkoutAA0deB0VSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV11displayTextSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60358,19 +61810,19 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV3ucpAA0deF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV3ucpAA0deF3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -60385,14 +61837,14 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV3ucpAA0deF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV3ucpAA0deF3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60403,10 +61855,55 @@ ] }, { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(amount:displayText:type:)", "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + }, { "kind": "TypeNominal", "name": "Optional", @@ -60420,127 +61917,249 @@ } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV11continueURLSSSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6amount11displayText4typeACSi_SSSgSStcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV7fromURLAC10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "Function", + "name": "with", + "printedName": "with(amount:displayText:type:)", "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV4with6amount11displayText4typeACSiSg_SSSgSgAItF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -60549,67 +62168,30 @@ "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8checkoutyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8checkoutyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "amount", + "printedName": "amount", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ] } @@ -60617,36 +62199,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO6amountyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "displayText", + "printedName": "displayText", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ] } @@ -60654,36 +62236,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11displayTextyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type) -> EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ] } @@ -60691,61 +62273,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ], "usr": "s:Sq" @@ -60758,41 +62337,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -60810,8 +62392,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -60836,8 +62418,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -60862,8 +62444,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -60883,8 +62465,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -60901,8 +62483,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -60925,8 +62507,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -60943,8 +62525,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -60953,8 +62535,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -61045,387 +62627,11 @@ "mangledName": "$ss9EscapableP" } ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkout3ucp11continueURL8messagesAcA0deB0VSg_AA0deF3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8checkout3ucp11continueURL8messagesAcA0deB0VSg_AA0deF3UcpVSSSgSayAA7MessageVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(checkout:ucp:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResult", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAcA0deB0VSgSg_AA0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV4with8checkout3ucp11continueURL8messagesAcA0deB0VSgSg_AA0deF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol23InstrumentsChangeResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol23InstrumentsChangeResultV", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV", + "mangledName": "$s24EmbeddedCheckoutProtocol13LineItemTotalV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -61469,44 +62675,37 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "InstrumentsChangeCheckout", - "printedName": "InstrumentsChangeCheckout", + "name": "Link", + "printedName": "Link", "children": [ { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "title", + "printedName": "title", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAA0dE7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAA0dE7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -61522,21 +62721,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAA0dE7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAA0dE7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5titleSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -61547,85 +62746,127 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(payment:)", + "kind": "Var", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAcA0dE7PaymentVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7paymentAcA0dE7PaymentVSg_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Var", + "name": "url", + "printedName": "url", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V6encode2toys7Encoder_p_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV3urlSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV3urlSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -61636,9 +62877,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -61648,8 +62889,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61658,33 +62899,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -61695,9 +62929,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", @@ -61707,53 +62941,80 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(payment:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(title:type:url:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V" + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment??", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV5title4type3urlACSSSg_S2Stcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV5title4type3urlACSSSg_S2Stcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4with7paymentAcA0dE7PaymentVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V4with7paymentAcA0dE7PaymentVSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -61769,8 +63030,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -61804,17 +63065,89 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(title:type:url:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Link", + "printedName": "EmbeddedCheckoutProtocol.Link", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV4with5title4type3urlACSSSgSg_A2HtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol017InstrumentsChangeB0V", - "mangledName": "$s24EmbeddedCheckoutProtocol017InstrumentsChangeB0V", + "usr": "s:24EmbeddedCheckoutProtocol4LinkV", + "mangledName": "$s24EmbeddedCheckoutProtocol4LinkV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -61863,40 +63196,32 @@ }, { "kind": "TypeDecl", - "name": "InstrumentsChangePayment", - "printedName": "InstrumentsChangePayment", + "name": "Message", + "printedName": "Message", "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "code", + "printedName": "code", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -61912,29 +63237,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instrumentsSayAA08SelectedF10InstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4codeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -61946,13 +63263,30 @@ }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "content", + "printedName": "content", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -61961,12 +63295,41 @@ "usr": "s:SS" } ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7contentSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "contentType", + "printedName": "contentType", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" + } + ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -61982,21 +63345,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV20selectedInstrumentIDSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV11contentTypeAA07ContentF0OSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -62007,190 +63370,184 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "path", + "printedName": "path", "children": [ { - "kind": "Var", - "name": "instruments", - "printedName": "instruments", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11instrumentsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO20selectedInstrumentIDyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4pathSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "severity", + "printedName": "severity", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Severity?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8severityAA8SeverityOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeNominal", + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4typeAA0D4TypeOvg", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "imageURL", + "printedName": "imageURL", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -62199,71 +63556,60 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.Int?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8imageURLSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "presentation", + "printedName": "presentation", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -62272,16 +63618,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -62290,22 +63648,30 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] - }, + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV12presentationSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -62314,64 +63680,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -62379,92 +63709,96 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV3urlSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(instruments:selectedInstrumentID:)", + "printedName": "init(code:content:contentType:path:severity:type:imageURL:presentation:url:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", + "children": [ + { + "kind": "TypeNominal", + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } ], "usr": "s:Sq" @@ -62482,63 +63816,74 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instruments20selectedInstrumentIDACSayAA08SelectedfI0VGSg_SSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV11instruments20selectedInstrumentIDACSayAA08SelectedfI0VGSg_SSSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ + }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity?", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + }, { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4code7content0F4Type4path8severity4type8imageURL12presentation3urlACSSSg_SSAA07ContentG0OSgAmA8SeverityOSgAA0dG0OA3Mtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -62548,9 +63893,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -62560,8 +63905,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62570,33 +63915,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -62607,9 +63945,9 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" }, { "kind": "TypeNominal", @@ -62619,84 +63957,36 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(instruments:selectedInstrumentID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangePayment", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangePayment", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV7fromURLAC10Foundation0F0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDACSayAA08SelectedfJ0VGSgSg_SSSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV4with11instruments20selectedInstrumentIDACSayAA08SelectedfJ0VGSgSg_SSSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -62712,8 +64002,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -62747,509 +64037,402 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocol24InstrumentsChangePaymentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "InstrumentsChangeResultUcp", - "printedName": "InstrumentsChangeResultUcp", - "children": [ - { - "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "kind": "Function", + "name": "with", + "printedName": "with(code:content:contentType:path:severity:type:imageURL:presentation:url:)", "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - } - ], - "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAA17CapabilityElementVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAA17CapabilityElementVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.ContentType??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]?", + "printedName": "EmbeddedCheckoutProtocol.ContentType?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "ContentType", + "printedName": "EmbeddedCheckoutProtocol.ContentType", + "usr": "s:24EmbeddedCheckoutProtocol11ContentTypeO" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAA17CapabilityElementVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilitiesSDySSSayAA17CapabilityElementVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - } - ], - "usr": "s:Sa" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAA21PaymentHandlerElementVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAA21PaymentHandlerElementVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "printedName": "EmbeddedCheckoutProtocol.Severity?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAA21PaymentHandlerElementVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV15paymentHandlersSDySSSayAA21PaymentHandlerElementVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.MessageType?", + "children": [ + { + "kind": "TypeNominal", + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "services", - "printedName": "services", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedService]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8servicesSDySSSayAA0A7ServiceVGGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8servicesSDySSSayAA0A7ServiceVGGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedService]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8servicesSDySSSayAA0A7ServiceVGGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8servicesSDySSSayAA0A7ServiceVGGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV4with4code7content0G4Type4path8severity4type8imageURL12presentation3urlACSSSgSg_AnA07ContentH0OSgSgAoA8SeverityOSgSgAA0dH0OSgA3OtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "status", - "printedName": "status", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Var", + "name": "code", + "printedName": "code", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4codeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "content", + "printedName": "content", "children": [ { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + } + ] + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6statusAA31UCPCheckoutResponseSchemaStatusOvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO7contentyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "contentType", + "printedName": "contentType", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + } + ] + } + ] + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7versionSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11contentTypeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "path", + "printedName": "path", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" + } + ] + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7versionSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4pathyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", - "name": "capabilities", - "printedName": "capabilities", + "name": "severity", + "printedName": "severity", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -63257,36 +64440,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO12capabilitiesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8severityyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "paymentHandlers", - "printedName": "paymentHandlers", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -63294,36 +64477,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO15paymentHandlersyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "services", - "printedName": "services", + "name": "imageURL", + "printedName": "imageURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -63331,36 +64514,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8servicesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8imageURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "status", - "printedName": "status", + "name": "presentation", + "printedName": "presentation", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -63368,36 +64551,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO6statusyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO12presentationyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "url", + "printedName": "url", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.Message.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Message.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ] } @@ -63405,61 +64588,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO7versionyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO3urlyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" @@ -63472,41 +64652,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.Message.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -63524,8 +64707,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -63550,8 +64733,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -63576,8 +64759,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -63597,8 +64780,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -63615,8 +64798,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -63639,8 +64822,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -63657,8 +64840,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -63667,8 +64850,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -63759,494 +64942,249 @@ "mangledName": "$ss9EscapableP" } ] - }, + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV", + "mangledName": "$s24EmbeddedCheckoutProtocol7MessageV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(capabilities:paymentHandlers:services:status:version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedService]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA17CapabilityElementVGGSg_SDySSSayAA014PaymentHandlerO0VGGSgSDySSSayAA0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA17CapabilityElementVGGSg_SDySSSayAA014PaymentHandlerO0VGGSgSDySSSayAA0A7ServiceVGGSgAA31UCPCheckoutResponseSchemaStatusOSStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7fromURLAC10Foundation0I0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7fromURLAC10Foundation0I0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "MessageType", + "printedName": "MessageType", + "children": [ { - "kind": "Function", - "name": "with", - "printedName": "with(capabilities:paymentHandlers:services:status:version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityElement]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.CapabilityElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "kind": "Var", + "name": "error", + "printedName": "error", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]??", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?", + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerElement]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerElement]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } - ], - "usr": "s:Sq" + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO5erroryA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "info", + "printedName": "info", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]??", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]?", + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.EmbeddedService]]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.EmbeddedService]", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:SD" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } - ], - "usr": "s:Sq" + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO4infoyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "warning", + "printedName": "warning", + "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MessageType.Type) -> EmbeddedCheckoutProtocol.MessageType", "children": [ { "kind": "TypeNominal", - "name": "UCPCheckoutResponseSchemaStatus", - "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", - "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MessageType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" + } + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO7warningyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.MessageType?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "MessageType", + "printedName": "EmbeddedCheckoutProtocol.MessageType", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO" } ], - "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA17CapabilityElementVGGSgSg_SDySSSayAA014PaymentHandlerP0VGGSgSgSDySSSayAA0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA17CapabilityElementVGGSgSg_SDySSSayAA014PaymentHandlerP0VGGSgSgSDySSSayAA0A7ServiceVGGSgSgAA31UCPCheckoutResponseSchemaStatusOSgSSSgtF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV8jsonData10Foundation0I0VyKF", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "implicit": true }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -64255,57 +65193,62 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol11MessageTypeO", + "mangledName": "$s24EmbeddedCheckoutProtocol11MessageTypeO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Function", - "name": "success", - "printedName": "success(version:)", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7success7versionACSS_tFZ", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV7success7versionACSS_tFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV", - "mangledName": "$s24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Decodable", @@ -64352,289 +65295,178 @@ }, { "kind": "TypeDecl", - "name": "CapabilityElement", - "printedName": "CapabilityElement", + "name": "MethodType", + "printedName": "MethodType", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "digital", + "printedName": "digital", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6configSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO7digitalyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "pickup", + "printedName": "pickup", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV2idSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV2idSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO6pickupyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "shipping", + "printedName": "shipping", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.MethodType.Type) -> EmbeddedCheckoutProtocol.MethodType", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.MethodType.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } - ], - "usr": "s:Sq" + ] } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6schemaSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8shippingyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Var", - "name": "spec", - "printedName": "spec", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.MethodType?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "MethodType", + "printedName": "EmbeddedCheckoutProtocol.MethodType", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4specSSSgvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "HasStorage" + "Inlinable" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4specSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -64644,14 +65476,10 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -64666,40 +65494,125 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], "accessorKind": "get" } ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol10MethodTypeO", + "mangledName": "$s24EmbeddedCheckoutProtocol10MethodTypeO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Var", - "name": "extends", - "printedName": "extends", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sq" + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "NotificationDescriptor", + "printedName": "NotificationDescriptor", + "children": [ + { + "kind": "Var", + "name": "method", + "printedName": "method", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7extendsAA7ExtendsOSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7extendsAA7ExtendsOSgvp", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -64714,23 +65627,16 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7extendsAA7ExtendsOSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7extendsAA7ExtendsOSgvg", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV6methodSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -64742,83 +65648,25 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(config:id:schema:spec:version:extends:)", + "printedName": "init(method:decode:)", "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + "name": "GenericTypeParam", + "printedName": "Payload" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Handler" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" }, { "kind": "TypeNominal", @@ -64827,283 +65675,148 @@ "usr": "s:SS" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.Data) throws -> Payload", "children": [ { "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSg_SSSgA2NSSAA7ExtendsOSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + ] } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorVA2A0D7MessageVyxGRs_rlE6method6decodeACyxAFGSS_x10Foundation4DataVYbKctcfc", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": ">", "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:extends:)", + "name": "map", + "printedName": "map(_:)", "children": [ { "kind": "TypeNominal", - "name": "CapabilityElement", - "printedName": "EmbeddedCheckoutProtocol.CapabilityElement", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Mapped" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Handler) -> Mapped", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "GenericTypeParam", + "printedName": "Mapped" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + ] + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV3mapyACyxqd__Gqd__q_YbclF", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV", + "mangledName": "$s24EmbeddedCheckoutProtocol22NotificationDescriptorV", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "NotificationMessage", + "printedName": "NotificationMessage", + "children": [ + { + "kind": "Var", + "name": "jsonrpc", + "printedName": "jsonrpc", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -65112,115 +65825,162 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "method", + "printedName": "method", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends??", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Extends?", - "children": [ - { - "kind": "TypeNominal", - "name": "Extends", - "printedName": "EmbeddedCheckoutProtocol.Extends", - "usr": "s:24EmbeddedCheckoutProtocol7ExtendsO" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV4with6config2id6schema4spec7version7extendsACSDySSAA7JSONAnyCGSgSg_SSSgSgA2qpA7ExtendsOSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "params", + "printedName": "params", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV8jsonData10Foundation0G0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvp", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(jsonrpc:method:params:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "NotificationMessage", + "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", + "name": "String", + "printedName": "Swift.String", "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "genericSig": "", + "init_kind": "Designated" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17CapabilityElementV", - "mangledName": "$s24EmbeddedCheckoutProtocol17CapabilityElementV", + "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV", + "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Sendable", @@ -65253,23 +66013,101 @@ }, { "kind": "TypeDecl", - "name": "PaymentHandlerElement", - "printedName": "PaymentHandlerElement", + "name": "Order", + "printedName": "Order", "children": [ { "kind": "Var", - "name": "config", - "printedName": "config", + "name": "adjustments", + "printedName": "adjustments", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustmentsSayAA10AdjustmentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "attribution", + "printedName": "attribution", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", @@ -65279,9 +66117,9 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:SD" @@ -65291,8 +66129,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65308,12 +66146,12 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", @@ -65323,9 +66161,9 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:SD" @@ -65335,8 +66173,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6configSDySSAA7JSONAnyCGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11attributionSDyS2SGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65348,8 +66186,8 @@ }, { "kind": "Var", - "name": "id", - "printedName": "id", + "name": "checkoutID", + "printedName": "checkoutID", "children": [ { "kind": "TypeNominal", @@ -65359,8 +66197,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV2idSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV2idSSvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65381,8 +66219,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV2idSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV2idSSvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10checkoutIDSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65394,13 +66232,30 @@ }, { "kind": "Var", - "name": "schema", - "printedName": "schema", + "name": "currency", + "printedName": "currency", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8currencySSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8currencySSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -65409,12 +66264,79 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8currencySSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8currencySSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", + "children": [ + { + "kind": "TypeNominal", + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11fulfillmentAA11FulfillmentVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6schemaSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65429,22 +66351,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6schemaSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65456,8 +66370,8 @@ }, { "kind": "Var", - "name": "spec", - "printedName": "spec", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeNominal", @@ -65475,8 +66389,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4specSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65505,8 +66419,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4specSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV5labelSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65518,19 +66432,27 @@ }, { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "lineItems", + "printedName": "lineItems", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65545,14 +66467,22 @@ "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV9lineItemsSayAA0D8LineItemVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65564,24 +66494,24 @@ }, { "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", + "name": "messages", + "printedName": "messages", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" @@ -65591,8 +66521,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV20availableInstrumentsSayAA0dE19AvailableInstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV20availableInstrumentsSayAA0dE19AvailableInstrumentVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -65608,18 +66538,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" @@ -65629,8 +66559,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV20availableInstrumentsSayAA0dE19AvailableInstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV20availableInstrumentsSayAA0dE19AvailableInstrumentVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8messagesSayAA7MessageVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -65641,251 +66571,32 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { - "kind": "Var", - "name": "config", - "printedName": "config", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO6configyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO6configyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO2idyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO2idyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO6schemayA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO6schemayA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO4specyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO4specyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO7versionyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO7versionyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "availableInstruments", - "printedName": "availableInstruments", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO20availableInstrumentsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -65893,351 +66604,201 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV12permalinkURLSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } + "Transparent" ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "totals", + "printedName": "totals", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } - ] + ], + "usr": "s:Sa" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } - ] + ], + "usr": "s:Sa" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6totalsSayAA0B5TotalVGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "ucp", + "printedName": "ucp", + "children": [ { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, + "kind": "TypeNominal", + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV3ucpAA22UCPOrderResponseSchemaVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(config:id:schema:spec:version:availableInstruments:)", + "printedName": "init(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", @@ -66247,9 +66808,9 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:SD" @@ -66263,6 +66824,24 @@ "printedName": "Swift.String", "usr": "s:SS" }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", "name": "Optional", @@ -66279,77 +66858,98 @@ }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "usr": "s:Sa" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", + "printedName": "[EmbeddedCheckoutProtocol.Message]", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" } ], "usr": "s:Sa" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeNominal", + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0dE19AvailableInstrumentVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0dE19AvailableInstrumentVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSg_SDyS2SGSgS2SAA11FulfillmentVS2SSgSayAA0D8LineItemVGSayAA7MessageVGSgSSSayAA0B5TotalVGAA22UCPOrderResponseSchemaVtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -66358,9 +66958,9 @@ "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", @@ -66370,8 +66970,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -66380,113 +66980,165 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV7fromURLAC10Foundation0H0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(config:id:schema:spec:version:availableInstruments:)", + "printedName": "with(adjustments:attribution:checkoutID:currency:fulfillment:id:label:lineItems:messages:permalinkURL:totals:ucp:)", "children": [ { "kind": "TypeNominal", - "name": "PaymentHandlerElement", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerElement", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV" + "name": "Order", + "printedName": "EmbeddedCheckoutProtocol.Order", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Adjustment]", + "children": [ + { + "kind": "TypeNominal", + "name": "Adjustment", + "printedName": "EmbeddedCheckoutProtocol.Adjustment", + "usr": "s:24EmbeddedCheckoutProtocol10AdjustmentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : Swift.String]?", "children": [ { "kind": "TypeNominal", "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "printedName": "[Swift.String : Swift.String]", "children": [ { "kind": "TypeNominal", @@ -66496,9 +67148,9 @@ }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:SD" @@ -66525,6 +67177,51 @@ "hasDefaultArg": true, "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment?", + "children": [ + { + "kind": "TypeNominal", + "name": "Fulfillment", + "printedName": "EmbeddedCheckoutProtocol.Fulfillment", + "usr": "s:24EmbeddedCheckoutProtocol11FulfillmentV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -66542,7 +67239,30 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.OrderLineItem]", + "children": [ + { + "kind": "TypeNominal", + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + } + ], + "usr": "s:Sa" } ], "hasDefaultArg": true, @@ -66551,18 +67271,26 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "[EmbeddedCheckoutProtocol.Message]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.Message]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Message]", + "children": [ + { + "kind": "TypeNominal", + "name": "Message", + "printedName": "EmbeddedCheckoutProtocol.Message", + "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" @@ -66589,756 +67317,604 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]??", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CheckoutTotal]", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" - } - ], - "usr": "s:Sa" + "name": "CheckoutTotal", + "printedName": "EmbeddedCheckoutProtocol.CheckoutTotal", + "usr": "s:24EmbeddedCheckoutProtocol0B5TotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0dE19AvailableInstrumentVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0dE19AvailableInstrumentVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "usr": "s:Sq" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV4with11adjustments11attribution10checkoutID8currency11fulfillment2id5label9lineItems8messages12permalinkURL6totals3ucpACSayAA10AdjustmentVGSgSg_SDyS2SGSgSgSSSgAyA11FulfillmentVSgA2YSgSayAA0D8LineItemVGSgSayAA7MessageVGSgSgAYSayAA0B5TotalVGSgAA22UCPOrderResponseSchemaVSgtF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, - "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol21PaymentHandlerElementV", - "mangledName": "$s24EmbeddedCheckoutProtocol21PaymentHandlerElementV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "PaymentHandlerAvailableInstrument", - "children": [ - { - "kind": "Var", - "name": "constraints", - "printedName": "constraints", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "adjustments", + "printedName": "adjustments", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11adjustmentsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "attribution", + "printedName": "attribution", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11attributionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "checkoutID", + "printedName": "checkoutID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "type", - "printedName": "type", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO10checkoutIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4typeSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4typeSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Var", + "name": "currency", + "printedName": "currency", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8currencyyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "fulfillment", + "printedName": "fulfillment", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4typeSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4typeSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11fulfillmentyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] + } ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(constraints:type:)", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" + "kind": "Var", + "name": "label", + "printedName": "label", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO5labelyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "lineItems", + "printedName": "lineItems", "children": [ { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO9lineItemsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "messages", + "printedName": "messages", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" }, { "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] } - ], - "usr": "s:SD" + ] } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV7fromURLAC10Foundation0I0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV7fromURLAC10Foundation0I0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(constraints:type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "PaymentHandlerAvailableInstrument", - "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8messagesyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "Var", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } - ], - "usr": "s:SD" + ] } - ], - "usr": "s:Sq" + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO12permalinkURLyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "totals", + "printedName": "totals", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4with11constraints4typeACSDySSAA7JSONAnyCGSgSg_SSSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV4with11constraints4typeACSDySSAA7JSONAnyCGSgSg_SSSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV8jsonData10Foundation0I0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO6totalsyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "ucp", + "printedName": "ucp", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Order.CodingKeys.Type) -> EmbeddedCheckoutProtocol.Order.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ] + } + ] } ], - "usr": "s:Sq" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO3ucpyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV", - "mangledName": "$s24EmbeddedCheckoutProtocol33PaymentHandlerAvailableInstrumentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "EmbeddedService", - "printedName": "EmbeddedService", - "children": [ - { - "kind": "Var", - "name": "config", - "printedName": "config", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ], - "usr": "s:SD" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6configSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6configSDySSAA7JSONAnyCGSgvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.Order.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -67347,60 +67923,71 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV2idSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV2idSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV2idSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV2idSSSgvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "schema", - "printedName": "schema", - "children": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -67409,28 +67996,16 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6schemaSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6schemaSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -67439,30 +68014,22 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6schemaSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6schemaSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "spec", - "printedName": "spec", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", @@ -67471,28 +68038,64 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4specSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4specSSSgvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -67500,26 +68103,122 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4specSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4specSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol5OrderV", + "mangledName": "$s24EmbeddedCheckoutProtocol5OrderV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OrderConfirmation", + "printedName": "OrderConfirmation", + "children": [ { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -67529,8 +68228,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV7versionSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV7versionSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -67551,8 +68250,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV7versionSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV7versionSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2idSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -67564,8 +68263,8 @@ }, { "kind": "Var", - "name": "endpoint", - "printedName": "endpoint", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeNominal", @@ -67583,8 +68282,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV8endpointSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV8endpointSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -67613,8 +68312,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV8endpointSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV8endpointSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV5labelSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -67626,19 +68325,19 @@ }, { "kind": "Var", - "name": "transport", - "printedName": "transport", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV9transportAA9TransportOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV9transportAA9TransportOvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -67653,14 +68352,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV9transportAA9TransportOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV9transportAA9TransportOvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV12permalinkURLSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -67673,165 +68372,33 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -67842,9 +68409,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", @@ -67854,8 +68421,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -67864,33 +68431,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -67901,9 +68461,9 @@ "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", @@ -67913,129 +68473,29 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(id:label:permalinkURL:)", "children": [ { "kind": "TypeNominal", - "name": "EmbeddedService", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedService", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", @@ -68049,53 +68509,44 @@ "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV2id5label12permalinkURLACSS_SSSgSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Transport?", - "children": [ - { - "kind": "TypeNominal", - "name": "Transport", - "printedName": "EmbeddedCheckoutProtocol.Transport", - "usr": "s:24EmbeddedCheckoutProtocol9TransportO" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -68111,8 +68562,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -68146,181 +68597,24 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0A7ServiceV", - "mangledName": "$s24EmbeddedCheckoutProtocol0A7ServiceV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CredentialResult", - "printedName": "CredentialResult", - "children": [ - { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8checkoutAA0dB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8checkoutAA0dB0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8checkoutAA0dB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8checkoutAA0dB0VSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] }, { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "Function", + "name": "with", + "printedName": "with(id:label:permalinkURL:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV3ucpAA017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV3ucpAA017InstrumentsChangeE3UcpVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV3ucpAA017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV3ucpAA017InstrumentsChangeE3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "children": [ + "name": "OrderConfirmation", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV" + }, { "kind": "TypeNominal", "name": "Optional", @@ -68333,23 +68627,13 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV11continueURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -68366,95 +68650,31 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8messagesSayAA7MessageVGSgvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV4with2id5label12permalinkURLACSSSg_AHSgAHtF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -68463,67 +68683,30 @@ "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8checkoutyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8checkoutyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -68531,36 +68714,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "label", + "printedName": "label", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -68568,36 +68751,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO5labelyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "permalinkURL", + "printedName": "permalinkURL", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ] } @@ -68605,61 +68788,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO12permalinkURLyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], "usr": "s:Sq" @@ -68672,41 +68852,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderConfirmation.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -68724,8 +68907,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -68750,8 +68933,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68776,8 +68959,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -68797,8 +68980,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68815,8 +68998,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -68839,8 +69022,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -68857,8 +69040,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -68867,8 +69050,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -68959,270 +69142,188 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol17OrderConfirmationV", + "mangledName": "$s24EmbeddedCheckoutProtocol17OrderConfirmationV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8checkout3ucp11continueURL8messagesAcA0dB0VSg_AA017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8checkout3ucp11continueURL8messagesAcA0dB0VSg_AA017InstrumentsChangeE3UcpVSSSgSayAA7MessageVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OrderLineItem", + "printedName": "OrderLineItem", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ - { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Var", + "name": "item", + "printedName": "item", "children": [ { "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV7fromURLAC10Foundation0G0V_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(checkout:ucp:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialResult", - "printedName": "EmbeddedCheckoutProtocol.CredentialResult", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV" - }, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" - } - ], - "usr": "s:Sq" + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4itemAA0F0Vvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "parentID", + "printedName": "parentID", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -69239,188 +69340,133 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8parentIDSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "quantity", + "printedName": "quantity", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8quantityAA0eF8QuantityVvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV4with8checkout3ucp11continueURL8messagesAcA0dB0VSgSg_AA017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV4with8checkout3ucp11continueURL8messagesAcA0dB0VSgSg_AA017InstrumentsChangeE3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV8jsonData10Foundation0G0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6statusAA0eF6StatusOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16CredentialResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol16CredentialResultV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + ] }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CredentialCheckout", - "printedName": "CredentialCheckout", - "children": [ { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V7paymentAA7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V7paymentAA7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -69435,22 +69481,22 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V7paymentAA7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V7paymentAA7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6totalsSayAA0eF5TotalVGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -69463,59 +69509,61 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(payment:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V7paymentAcA7PaymentVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V7paymentAcA7PaymentVSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -69524,9 +69572,9 @@ "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -69536,8 +69584,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -69546,24 +69594,24 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69572,13 +69620,13 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(id:item:parentID:quantity:status:totals:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" }, { "kind": "TypeNominal", @@ -69588,86 +69636,80 @@ }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + }, { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" + }, + { + "kind": "TypeNominal", + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", + "children": [ + { + "kind": "TypeNominal", + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" + } + ], + "usr": "s:Sa" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV2id4item8parentID8quantity6status6totalsACSS_AA0F0VSSSgAA0eF8QuantityVAA0eF6StatusOSayAA0eF5TotalVGtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, "init_kind": "Designated" }, { "kind": "Function", - "name": "with", - "printedName": "with(payment:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "CredentialCheckout", - "printedName": "EmbeddedCheckoutProtocol.CredentialCheckout", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Payment?", - "children": [ - { - "kind": "TypeNominal", - "name": "Payment", - "printedName": "EmbeddedCheckoutProtocol.Payment", - "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V4with7paymentAcA7PaymentVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V4with7paymentAcA7PaymentVSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -69683,8 +69725,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV8jsonData10Foundation0H0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -69718,347 +69760,243 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol010CredentialB0V", - "mangledName": "$s24EmbeddedCheckoutProtocol010CredentialB0V", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "AddressChangeResult", - "printedName": "AddressChangeResult", - "children": [ - { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "kind": "Function", + "name": "with", + "printedName": "with(id:item:parentID:quantity:status:totals:)", "children": [ + { + "kind": "TypeNominal", + "name": "OrderLineItem", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8checkoutAA0deB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8checkoutAA0deB0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Item?", + "children": [ + { + "kind": "TypeNominal", + "name": "Item", + "printedName": "EmbeddedCheckoutProtocol.Item", + "usr": "s:24EmbeddedCheckoutProtocol4ItemV" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8checkoutAA0deB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8checkoutAA0deB0VSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV3ucpAA011InstrumentseF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV3ucpAA011InstrumentseF3UcpVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "LineItemQuantity", + "printedName": "EmbeddedCheckoutProtocol.LineItemQuantity", + "usr": "s:24EmbeddedCheckoutProtocol16LineItemQuantityV" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV3ucpAA011InstrumentseF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV3ucpAA011InstrumentseF3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemStatus", + "printedName": "EmbeddedCheckoutProtocol.LineItemStatus", + "usr": "s:24EmbeddedCheckoutProtocol14LineItemStatusO" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV11continueURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.LineItemTotal]", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LineItemTotal", + "printedName": "EmbeddedCheckoutProtocol.LineItemTotal", + "usr": "s:24EmbeddedCheckoutProtocol13LineItemTotalV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV4with2id4item8parentID8quantity6status6totalsACSSSg_AA0F0VSgAKSgAA0eF8QuantityVSgAA0eF6StatusOSgSayAA0eF5TotalVGSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "messages", - "printedName": "messages", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + } + ] } - ], - "usr": "s:Sa" + ] } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "item", + "printedName": "item", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } - ], - "usr": "s:Sa" + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", - "children": [ + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO4itemyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "parentID", + "printedName": "parentID", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -70066,36 +70004,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8checkoutyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8checkoutyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8parentIDyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "quantity", + "printedName": "quantity", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -70103,36 +70041,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8quantityyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "status", + "printedName": "status", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -70140,36 +70078,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6statusyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "totals", + "printedName": "totals", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type) -> EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ] } @@ -70177,61 +70115,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO6totalsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" @@ -70244,41 +70179,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.OrderLineItem.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -70296,8 +70234,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -70322,8 +70260,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -70348,8 +70286,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -70369,8 +70307,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -70387,8 +70325,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -70411,8 +70349,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -70429,8 +70367,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -70439,8 +70377,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -70531,129 +70469,170 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol13OrderLineItemV", + "mangledName": "$s24EmbeddedCheckoutProtocol13OrderLineItemV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:ucp:continueURL:messages:)", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Payment", + "printedName": "Payment", + "children": [ + { + "kind": "Var", + "name": "instruments", + "printedName": "instruments", "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsSayAA08SelectedD10InstrumentVGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8checkout3ucp11continueURL8messagesAcA0deB0VSg_AA011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8checkout3ucp11continueURL8messagesAcA0deB0VSg_AA011InstrumentseF3UcpVSSSgSayAA7MessageVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + ] }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -70664,9 +70643,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", @@ -70676,8 +70655,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70686,33 +70665,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -70723,9 +70695,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", @@ -70735,122 +70707,76 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV7fromURLAC10Foundation0H0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Function", - "name": "with", - "printedName": "with(checkout:ucp:continueURL:messages:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(instruments:)", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeResult", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeResult", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "hasDefaultArg": true, "usr": "s:Sq" } ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV11instrumentsACSayAA08SelectedD10InstrumentVGSg_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAcA0deB0VSgSg_AA011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV4with8checkout3ucp11continueURL8messagesAcA0deB0VSgSg_AA011InstrumentseF3UcpVSgSSSgSgSayAA7MessageVGSgSgtF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -70866,8 +70792,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV8jsonData10Foundation0H0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -70901,17 +70827,67 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(instruments:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Payment", + "printedName": "EmbeddedCheckoutProtocol.Payment", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV4with11instrumentsACSayAA08SelectedD10InstrumentVGSgSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV4with11instrumentsACSayAA08SelectedD10InstrumentVGSgSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol19AddressChangeResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol19AddressChangeResultV", + "usr": "s:24EmbeddedCheckoutProtocol7PaymentV", + "mangledName": "$s24EmbeddedCheckoutProtocol7PaymentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -70955,44 +70931,29 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "AddressChangeCheckout", - "printedName": "AddressChangeCheckout", + "name": "PaymentCredential", + "printedName": "PaymentCredential", "children": [ { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAA0B16FulfillmentClassVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAA0B16FulfillmentClassVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -71007,22 +70968,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAA0B16FulfillmentClassVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAA0B16FulfillmentClassVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71033,85 +70986,150 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fulfillment:)", + "kind": "Var", + "name": "additionalProperties", + "printedName": "additionalProperties", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAcA0B16FulfillmentClassVSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V11fulfillmentAcA0B16FulfillmentClassVSg_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvp", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -71122,9 +71140,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -71134,8 +71152,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -71144,33 +71162,25 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, @@ -71181,9 +71191,9 @@ "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" }, { "kind": "TypeNominal", @@ -71193,53 +71203,59 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V7fromURLAC10Foundation0G0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4typeACSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, { "kind": "Function", - "name": "with", - "printedName": "with(fulfillment:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "AddressChangeCheckout", - "printedName": "EmbeddedCheckoutProtocol.AddressChangeCheckout", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V4with11fulfillmentAcA0B16FulfillmentClassVSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V4with11fulfillmentAcA0B16FulfillmentClassVSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -71255,8 +71271,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V8jsonData10Foundation0G0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -71290,223 +71306,46 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol013AddressChangeB0V", - "mangledName": "$s24EmbeddedCheckoutProtocol013AddressChangeB0V", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutFulfillmentClass", - "printedName": "CheckoutFulfillmentClass", - "children": [ - { - "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethodsSayAA0D15AvailableMethodVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "methods", - "printedName": "methods", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Function", + "name": "with", + "printedName": "with(type:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV7methodsSayAA0D6MethodVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV4with4typeACSSSg_tF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -71515,67 +71354,30 @@ "children": [ { "kind": "Var", - "name": "availableMethods", - "printedName": "availableMethods", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO16availableMethodsyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "methods", - "printedName": "methods", + "name": "type", + "printedName": "type", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type) -> EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ] } @@ -71583,61 +71385,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO7methodsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO7methodsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO4typeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" @@ -71650,41 +71449,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -71702,8 +71504,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -71728,8 +71530,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71754,8 +71556,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -71775,8 +71577,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71793,8 +71595,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -71817,8 +71619,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -71835,8 +71637,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -71845,437 +71647,103 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(availableMethods:methods:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV16availableMethods7methodsACSayAA0D15AvailableMethodVGSg_SayAA0dJ0VGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(availableMethods:methods:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentAvailableMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentAvailableMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentAvailableMethod", - "usr": "s:24EmbeddedCheckoutProtocol26FulfillmentAvailableMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.FulfillmentMethod]", - "children": [ - { - "kind": "TypeNominal", - "name": "FulfillmentMethod", - "printedName": "EmbeddedCheckoutProtocol.FulfillmentMethod", - "usr": "s:24EmbeddedCheckoutProtocol17FulfillmentMethodV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV4with16availableMethods7methodsACSayAA0D15AvailableMethodVGSgSg_SayAA0dK0VGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV", - "mangledName": "$s24EmbeddedCheckoutProtocol0B16FulfillmentClassV", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV", + "mangledName": "$s24EmbeddedCheckoutProtocol17PaymentCredentialV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -72324,32 +71792,46 @@ }, { "kind": "TypeDecl", - "name": "ReadyRequest", - "printedName": "ReadyRequest", + "name": "PaymentHandlerResponseSchema", + "printedName": "PaymentHandlerResponseSchema", "children": [ { "kind": "Var", - "name": "auth", - "printedName": "auth", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4authAA4AuthVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4authAA4AuthVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72365,21 +71847,35 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4authAA4AuthVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4authAA4AuthVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6configSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72391,13 +71887,30 @@ }, { "kind": "Var", - "name": "delegate", - "printedName": "delegate", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -72406,12 +71919,41 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "schema", + "printedName": "schema", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV8delegateSaySSGvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV8delegateSaySSGvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72426,8 +71968,8 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -72436,12 +71978,12 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV8delegateSaySSGvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV8delegateSaySSGvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6schemaSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72452,34 +71994,14 @@ ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(auth:delegate:)", + "kind": "Var", + "name": "spec", + "printedName": "spec", "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth?", - "children": [ - { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -72488,194 +72010,28 @@ "usr": "s:SS" } ], - "usr": "s:Sa" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4auth8delegateAcA4AuthVSg_SaySSGtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4auth8delegateAcA4AuthVSg_SaySSGtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } + "declAttributes": [ + "HasStorage" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(auth:delegate:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyRequest", - "printedName": "EmbeddedCheckoutProtocol.ReadyRequest", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Auth?", - "children": [ - { - "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[Swift.String]", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -72684,49 +72040,47 @@ "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4specSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV4with4auth8delegateAcA4AuthVSgSg_SaySSGSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV4with4auth8delegateAcA4AuthVSgSg_SaySSGSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV8jsonData10Foundation0G0VyKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -72734,110 +72088,50 @@ "printedName": "Swift.String", "usr": "s:SS" } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyRequestV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7versionSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Auth", - "printedName": "Auth", - "children": [ { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "availableInstruments", + "printedName": "availableInstruments", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4typeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4typeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -72853,21 +72147,29 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + } + ], + "usr": "s:Sa" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4typeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4typeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV20availableInstrumentsSayAA0defG19AvailableInstrumentVGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -72880,13 +72182,80 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(type:)", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:availableInstruments:)", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", @@ -72901,63 +72270,54 @@ } ], "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4typeACSSSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4typeACSSSg_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSg_S2SSgANSSSayAA0defG19AvailableInstrumentVGSgtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, "init_kind": "Designated" }, { @@ -72967,9 +72327,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -72979,8 +72339,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -72989,33 +72349,26 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(_:using:)", + "printedName": "init(from:)", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, "throwing": true, "init_kind": "Designated" }, @@ -73026,9 +72379,9 @@ "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" }, { "kind": "TypeNominal", @@ -73038,8 +72391,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV7fromURLAC10Foundation0F0V_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV7fromURLAC10Foundation0I0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73047,44 +72400,27 @@ }, { "kind": "Function", - "name": "with", - "printedName": "with(type:)", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "Auth", - "printedName": "EmbeddedCheckoutProtocol.Auth", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV4with4typeACSSSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV4with4typeACSSSgSg_tF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, + "implicit": true, + "throwing": true, "funcSelfKind": "NonMutating" }, { @@ -73100,8 +72436,8 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV8jsonData10Foundation0F0VyKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV8jsonData10Foundation0I0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, @@ -73135,305 +72471,61 @@ } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol4AuthV", - "mangledName": "$s24EmbeddedCheckoutProtocol4AuthV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ReadyResult", - "printedName": "ReadyResult", - "children": [ - { - "kind": "Var", - "name": "checkout", - "printedName": "checkout", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8checkoutAA0dB0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8checkoutAA0dB0VSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout?", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8checkoutAA0dB0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8checkoutAA0dB0VSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "credential", - "printedName": "credential", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10credentialSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10credentialSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10credentialSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10credentialSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] }, { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "Function", + "name": "with", + "printedName": "with(config:id:schema:spec:version:availableInstruments:)", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV3ucpAA017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV3ucpAA017InstrumentsChangeE3UcpVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV3ucpAA017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV3ucpAA017InstrumentsChangeE3UcpVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "upgrade", - "printedName": "upgrade", - "children": [ + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade?", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV7upgradeAA7UpgradeVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV7upgradeAA7UpgradeVSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV7upgradeAA7UpgradeVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV7upgradeAA7UpgradeVSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", @@ -73446,23 +72538,13 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV11continueURLSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -73479,76 +72561,67 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV11continueURLSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8messagesSayAA7MessageVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]?", "children": [ { "kind": "TypeNominal", "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" } ], "usr": "s:Sa" @@ -73557,17 +72630,16 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8messagesSayAA7MessageVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV4with6config2id6schema4spec7version20availableInstrumentsACSDySSAA7JSONAnyCGSgSg_SSSgAPSgAqPSayAA0defG19AvailableInstrumentVGSgSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -73576,30 +72648,30 @@ "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73607,36 +72679,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8checkoutyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8checkoutyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6configyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "credential", - "printedName": "credential", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73644,36 +72716,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO10credentialyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO10credentialyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO2idyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "schema", + "printedName": "schema", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73681,36 +72753,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO3ucpyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO6schemayA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "upgrade", - "printedName": "upgrade", + "name": "spec", + "printedName": "spec", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73718,36 +72790,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO7upgradeyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO7upgradeyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO4specyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73755,36 +72827,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11continueURLyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO7versionyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "availableInstruments", + "printedName": "availableInstruments", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ] } @@ -73792,61 +72864,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8messagesyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO20availableInstrumentsyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" @@ -73859,41 +72928,44 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(intValue:)", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueAESgSi_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "init_kind": "Designated" @@ -73911,8 +72983,8 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8RawValuea", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, @@ -73937,8 +73009,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueSiSgvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -73963,8 +73035,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8intValueSiSgvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8intValueSiSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -73984,8 +73056,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -74002,8 +73074,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO8rawValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74026,8 +73098,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueSSvp", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessors": [ @@ -74044,8 +73116,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO11stringValueSSvg", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO11stringValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "accessorKind": "get" @@ -74054,8 +73126,8 @@ } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10CodingKeysO", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", "enumRawTypeName": "String", "isEnumExhaustive": true, @@ -74146,36 +73218,178 @@ "mangledName": "$ss9EscapableP" } ] + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:credential:ucp:upgrade:continueURL:messages:)", + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "PaymentHandlerResponseSchemaAvailableInstrument", + "children": [ + { + "kind": "Var", + "name": "constraints", + "printedName": "constraints", "children": [ - { - "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" - }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraintsSDySSAA7JSONAnyCGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -74184,95 +73398,128 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4typeSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade?", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(constraints:type:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sa" + "usr": "s:SD" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAcA0dB0VSg_SSSgAA017InstrumentsChangeE3UcpVAA7UpgradeVSgAMSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8checkout10credential3ucp7upgrade11continueURL8messagesAcA0dB0VSg_SSSgAA017InstrumentsChangeE3UcpVAA7UpgradeVSgAMSayAA7MessageVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV11constraints4typeACSDySSAA7JSONAnyCGSg_SStcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -74281,9 +73528,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", @@ -74293,8 +73540,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -74303,114 +73550,149 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV7fromURLAC10Foundation0K0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV8jsonData10Foundation0K0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV7fromURLAC10Foundation0G0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(checkout:credential:ucp:upgrade:continueURL:messages:)", + "printedName": "with(constraints:type:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyResult", - "printedName": "EmbeddedCheckoutProtocol.ReadyResult", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV" + "name": "PaymentHandlerResponseSchemaAvailableInstrument", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchemaAvailableInstrument", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout??", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" @@ -74422,7 +73704,115 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4with11constraints4typeACSDySSAA7JSONAnyCGSgSg_SSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV4with11constraints4typeACSDySSAA7JSONAnyCGSgSg_SSSgtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", + "mangledName": "$s24EmbeddedCheckoutProtocol47PaymentHandlerResponseSchemaAvailableInstrumentV", + "moduleName": "EmbeddedCheckoutProtocol", + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PostalAddress", + "printedName": "PostalAddress", + "children": [ + { + "kind": "Var", + "name": "addressCountry", + "printedName": "addressCountry", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -74439,51 +73829,238 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountrySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "addressLocality", + "printedName": "addressLocality", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV15addressLocalitySSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade??", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.Upgrade?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV13addressRegionSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV08extendedE0SSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "firstName", + "printedName": "firstName", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String??", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -74500,72 +74077,84 @@ "usr": "s:Sq" } ], - "hasDefaultArg": true, + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV9firstNameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "lastName", + "printedName": "lastName", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], "usr": "s:Sq" - }, + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAcA0dB0VSgSg_SSSgSgAA017InstrumentsChangeE3UcpVSgAA7UpgradeVSgSgAPSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV4with8checkout10credential3ucp7upgrade11continueURL8messagesAcA0dB0VSgSg_SSSgSgAA017InstrumentsChangeE3UcpVSgAA7UpgradeVSgSgAPSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8lastNameSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeNominal", @@ -74580,108 +74169,73 @@ } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11ReadyResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol11ReadyResultV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV11phoneNumberSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ReadyCheckout", - "printedName": "ReadyCheckout", - "children": [ { "kind": "Var", - "name": "fulfillment", - "printedName": "fulfillment", + "name": "postalCode", + "printedName": "postalCode", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V11fulfillmentAA0B16FulfillmentClassVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V11fulfillmentAA0B16FulfillmentClassVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74697,21 +74251,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V11fulfillmentAA0B16FulfillmentClassVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V11fulfillmentAA0B16FulfillmentClassVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10postalCodeSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74723,27 +74277,27 @@ }, { "kind": "Var", - "name": "payment", - "printedName": "payment", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V7paymentAA0D7PaymentVSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V7paymentAA0D7PaymentVSgvp", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -74759,21 +74313,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V7paymentAA0D7PaymentVSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V7paymentAA0D7PaymentVSgvg", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV06streetE0SSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -74786,24 +74340,57 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(fulfillment:payment:)", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -74811,48 +74398,147 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V11fulfillment7paymentAcA0B16FulfillmentClassVSg_AA0D7PaymentVSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V11fulfillment7paymentAcA0B16FulfillmentClassVSg_AA0D7PaymentVSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV14addressCountry0F8Locality0F6Region08extendedE09firstName04lastL011phoneNumber10postalCode06streetE0ACSSSg_A8Mtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV14addressCountry0F8Locality0F6Region08extendedE09firstName04lastL011phoneNumber10postalCode06streetE0ACSSSg_A8Mtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -74861,9 +74547,9 @@ "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", @@ -74873,8 +74559,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -74883,114 +74569,181 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV7fromURLAC10Foundation0G0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV8jsonData10Foundation0G0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V7fromURLAC10Foundation0F0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(fulfillment:payment:)", + "printedName": "with(addressCountry:addressLocality:addressRegion:extendedAddress:firstName:lastName:phoneNumber:postalCode:streetAddress:)", "children": [ { "kind": "TypeNominal", - "name": "ReadyCheckout", - "printedName": "EmbeddedCheckoutProtocol.ReadyCheckout", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutFulfillmentClass", - "printedName": "EmbeddedCheckoutProtocol.CheckoutFulfillmentClass", - "usr": "s:24EmbeddedCheckoutProtocol0B16FulfillmentClassV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -75002,18 +74755,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -75021,237 +74774,103 @@ ], "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V4with11fulfillment7paymentAcA0B16FulfillmentClassVSgSg_AA0D7PaymentVSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V4with11fulfillment7paymentAcA0B16FulfillmentClassVSgSg_AA0D7PaymentVSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol05ReadyB0V", - "mangledName": "$s24EmbeddedCheckoutProtocol05ReadyB0V", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ReadyPayment", - "printedName": "ReadyPayment", - "children": [ - { - "kind": "Var", - "name": "instruments", - "printedName": "instruments", - "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV11instrumentsSayAA08SelectedE10InstrumentVGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV20selectedInstrumentIDSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV20selectedInstrumentIDSSSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", @@ -75268,17 +74887,16 @@ "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV20selectedInstrumentIDSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV20selectedInstrumentIDSSSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV4with14addressCountry0G8Locality0G6Region08extendedE09firstName04lastM011phoneNumber10postalCode06streetE0ACSSSgSg_A8OtF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -75287,30 +74905,289 @@ "children": [ { "kind": "Var", - "name": "instruments", - "printedName": "instruments", + "name": "addressCountry", + "printedName": "addressCountry", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO14addressCountryyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "addressLocality", + "printedName": "addressLocality", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO15addressLocalityyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "addressRegion", + "printedName": "addressRegion", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO13addressRegionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "extendedAddress", + "printedName": "extendedAddress", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO08extendedE0yA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "firstName", + "printedName": "firstName", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO9firstNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "lastName", + "printedName": "lastName", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8lastNameyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11phoneNumberyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "postalCode", + "printedName": "postalCode", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -75318,36 +75195,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11instrumentsyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11instrumentsyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO10postalCodeyA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "selectedInstrumentID", - "printedName": "selectedInstrumentID", + "name": "streetAddress", + "printedName": "streetAddress", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type) -> EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", + "printedName": "(EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type) -> EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys.Type", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys.Type", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ] } @@ -75355,61 +75232,58 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO20selectedInstrumentIDyA2EmF", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO06streetE0yA2EmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(rawValue:)", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ], "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueAESgSi_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "declAttributes": [ - "Inlinable" - ], "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringValue:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ], "usr": "s:Sq" @@ -75422,586 +75296,52 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueAESgSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } + "declAttributes": [ + "Inlinable" ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueAESgSi_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, "init_kind": "Designated" }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10CodingKeysO", - "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(instruments:selectedInstrumentID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV11instruments20selectedInstrumentIDACSayAA08SelectedeH0VGSg_SSSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV11instruments20selectedInstrumentIDACSayAA08SelectedeH0VGSg_SSSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(instruments:selectedInstrumentID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "ReadyPayment", - "printedName": "EmbeddedCheckoutProtocol.ReadyPayment", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]??", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.SelectedPaymentInstrument]", - "children": [ - { - "kind": "TypeNominal", - "name": "SelectedPaymentInstrument", - "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", - "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + { + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV4with11instruments20selectedInstrumentIDACSayAA08SelectedeI0VGSgSg_SSSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV4with11instruments20selectedInstrumentIDACSayAA08SelectedeI0VGSgSg_SSSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -76010,466 +75350,247 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol12ReadyPaymentV", - "mangledName": "$s24EmbeddedCheckoutProtocol12ReadyPaymentV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Upgrade", - "printedName": "Upgrade", - "children": [ - { - "kind": "Var", - "name": "port", - "printedName": "port", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4portSDySSAA7JSONAnyCGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4portSDySSAA7JSONAnyCGSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:SD" + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4portSDySSAA7JSONAnyCGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4portSDySSAA7JSONAnyCGSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(port:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:SD" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4portACSDySSAA7JSONAnyCGSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4portACSDySSAA7JSONAnyCGSg_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV7fromURLAC10Foundation0F0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV7fromURLAC10Foundation0F0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(port:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Upgrade", - "printedName": "EmbeddedCheckoutProtocol.Upgrade", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Dictionary", - "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - } - ], - "usr": "s:SD" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV4with4portACSDySSAA7JSONAnyCGSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV4with4portACSDySSAA7JSONAnyCGSgSg_tF", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV8jsonData10Foundation0F0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV8jsonData10Foundation0F0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:Sq" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol7UpgradeV", - "mangledName": "$s24EmbeddedCheckoutProtocol7UpgradeV", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV", + "mangledName": "$s24EmbeddedCheckoutProtocol13PostalAddressV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -76518,13 +75639,60 @@ }, { "kind": "TypeDecl", - "name": "AuthRequest", - "printedName": "AuthRequest", + "name": "RequestDescriptor", + "printedName": "RequestDescriptor", "children": [ { "kind": "Var", - "name": "type", - "printedName": "type", + "name": "method", + "printedName": "method", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV6methodSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "delegation", + "printedName": "delegation", "children": [ { "kind": "TypeNominal", @@ -76542,8 +75710,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4typeSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4typeSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -76572,9 +75740,10 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4typeSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4typeSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV10delegationSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "implicit": true, "declAttributes": [ "Transparent" @@ -76586,13 +75755,36 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(type:)", + "printedName": "init(method:delegation:decode:)", "children": [ { "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Result" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", @@ -76606,268 +75798,374 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.Data) throws -> Payload", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ] } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4typeACSSSg_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4typeACSSSg_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorVA2A0D7MessageVyxGRs_rlE6method10delegation6decodeACyxAFq0_GSS_SSSgx10Foundation4DataVYbKctcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorVA2A0D7MessageVyxGRs_rlE6method10delegation6decodeACyxAFq0_GSS_SSSgx10Foundation4DataVYbKctcfc", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": ", Result : EmbeddedCheckoutProtocol.ResponsePayload>", + "isFromExtension": true, "init_kind": "Designated" }, { "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "name": "map", + "printedName": "map(_:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Mapped" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Result" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" }, { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Handler) -> Mapped", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Mapped" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Handler" + } + ] } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV3mapyACyxqd__q0_Gqd__q_YbclF", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV3mapyACyxqd__q0_Gqd__q_YbclF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, + "genericSig": "", "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV", + "mangledName": "$s24EmbeddedCheckoutProtocol17RequestDescriptorV", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "RequestMessage", + "printedName": "RequestMessage", + "children": [ + { + "kind": "Var", + "name": "jsonrpc", + "printedName": "jsonrpc", "children": [ { "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4dataAC10Foundation4DataV_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Var", + "name": "method", + "printedName": "method", "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV7fromURLAC10Foundation0G0V_tKcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvp", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(type:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthRequest", - "printedName": "EmbeddedCheckoutProtocol.AuthRequest", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV" - }, + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV4with4typeACSSSgSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV4with4typeACSSSgSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", + "kind": "Var", + "name": "params", + "printedName": "params", "children": [ { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "GenericTypeParam", + "printedName": "Payload" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvp", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvg", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvg", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + ] }, { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(jsonrpc:method:id:params:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "name": "RequestMessage", + "printedName": "EmbeddedCheckoutProtocol.RequestMessage", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" }, { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", + "name": "String", + "printedName": "Swift.String", "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONRPCID", + "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", + "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + }, + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Payload" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpc6method2id6paramsACyxGSS_SSAA9JSONRPCIDOxtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpc6method2id6paramsACyxGSS_SSAA9JSONRPCIDOxtcfc", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" + "genericSig": "", + "init_kind": "Designated" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol11AuthRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocol11AuthRequestV", + "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV", + "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV", "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Sendable", @@ -76895,44 +76193,84 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "ResponsePayload", + "printedName": "ResponsePayload", + "declKind": "Protocol", + "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", + "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP", + "moduleName": "EmbeddedCheckoutProtocol", + "genericSig": "", + "conformances": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" } ] }, { "kind": "TypeDecl", - "name": "AuthResult", - "printedName": "AuthResult", + "name": "SelectedPaymentInstrument", + "printedName": "SelectedPaymentInstrument", "children": [ { "kind": "Var", - "name": "credential", - "printedName": "credential", + "name": "billingAddress", + "printedName": "billingAddress", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10credentialSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10credentialSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -76948,21 +76286,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10credentialSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10credentialSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddressAA06PostalH0VSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -76974,19 +76312,27 @@ }, { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "credential", + "printedName": "credential", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV3ucpAA017InstrumentsChangeE3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV3ucpAA017InstrumentsChangeE3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -77001,14 +76347,22 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV3ucpAA017InstrumentsChangeE3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV3ucpAA017InstrumentsChangeE3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10credentialAA0E10CredentialVSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -77020,27 +76374,41 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "display", + "printedName": "display", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -77056,21 +76424,35 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7displaySDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -77082,35 +76464,19 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "handlerID", + "printedName": "handlerID", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -77125,30 +76491,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV9handlerIDSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -77159,177 +76509,78 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "id", + "printedName": "id", "children": [ { - "kind": "Var", - "name": "credential", - "printedName": "credential", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO10credentialyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO10credentialyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO3ucpyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - } - ] - } - ] - } + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV2idSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11continueURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8messagesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -77337,201 +76588,464 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueAESgSS_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4typeSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "selected", + "printedName": "selected", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "usr": "s:Sq" - }, + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8selectedSbSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "additionalProperties", + "printedName": "additionalProperties", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:SD" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.AuthResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "usr": "s:SD" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ + "name": "Void", + "printedName": "()" + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "usr": "s:Sq" + "usr": "s:SD" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueSiSgvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV20additionalPropertiesSDySSAA7JSONAnyCGvs", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(billingAddress:credential:display:handlerID:id:type:selected:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" } - ] + ], + "usr": "s:Sq" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + "usr": "s:SD" } - ] + ], + "usr": "s:Sq" }, { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Bool?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalH0VSg_AA0E10CredentialVSgSDySSAA7JSONAnyCGSgS3SSbSgtcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4dataAC10Foundation4DataV_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4fromACs7Decoder_p_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV7fromURLAC10Foundation0H0V_tKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -77540,138 +77054,117 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10CodingKeysO", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "with", + "printedName": "with(billingAddress:credential:display:handlerID:id:type:selected:)", + "children": [ { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "kind": "TypeNominal", + "name": "SelectedPaymentInstrument", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV" }, { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress?", + "children": [ + { + "kind": "TypeNominal", + "name": "PostalAddress", + "printedName": "EmbeddedCheckoutProtocol.PostalAddress", + "usr": "s:24EmbeddedCheckoutProtocol13PostalAddressV" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential??", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "PaymentCredential", + "printedName": "EmbeddedCheckoutProtocol.PaymentCredential", + "usr": "s:24EmbeddedCheckoutProtocol17PaymentCredentialV" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "hasDefaultArg": true, + "usr": "s:Sq" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(credential:ucp:continueURL:messages:)", - "children": [ { "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -77685,13 +77178,23 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -77705,314 +77208,392 @@ "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.Bool??", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", + "name": "Optional", + "printedName": "Swift.Bool?", "children": [ { "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10credential3ucp11continueURL8messagesACSSSg_AA017InstrumentsChangeE3UcpVAHSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10credential3ucp11continueURL8messagesACSSSg_AA017InstrumentsChangeE3UcpVAHSayAA7MessageVGSgtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV6encode2toys7Encoder_p_tKF", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV4with14billingAddress10credential7display9handlerID2id4type8selectedAcA06PostalI0VSgSg_AA0E10CredentialVSgSgSDySSAA7JSONAnyCGSgSgSSSgA2YSbSgSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, + "isFromExtension": true, "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "kind": "Var", + "name": "billingAddress", + "printedName": "billingAddress", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO14billingAddressyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO14billingAddressyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "kind": "Var", + "name": "credential", + "printedName": "credential", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO10credentialyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "kind": "Var", + "name": "display", + "printedName": "display", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO7displayyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO7displayyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Var", + "name": "handlerID", + "printedName": "handlerID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO9handlerIDyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO9handlerIDyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO2idyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO2idyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV7fromURLAC10Foundation0G0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV7fromURLAC10Foundation0G0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(credential:ucp:continueURL:messages:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AuthResult", - "printedName": "EmbeddedCheckoutProtocol.AuthResult", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV" + "kind": "Var", + "name": "type", + "printedName": "type", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO4typeyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO4typeyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Var", + "name": "selected", + "printedName": "selected", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type) -> EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8selectedyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8selectedyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", - "children": [ + }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String??", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.SelectedPaymentInstrument.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO" } ], "usr": "s:Sq" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV4with10credential3ucp11continueURL8messagesACSSSgSg_AA017InstrumentsChangeE3UcpVSgAJSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV4with10credential3ucp11continueURL8messagesACSSSgSg_AA017InstrumentsChangeE3UcpVSgAJSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV8jsonData10Foundation0G0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV8jsonData10Foundation0G0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ + }, { "kind": "TypeNominal", "name": "String", @@ -78020,112 +77601,17 @@ "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueAESgSS_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" }, { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol10AuthResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol10AuthResultV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "WindowOpenRequest", - "printedName": "WindowOpenRequest", - "children": [ - { - "kind": "Var", - "name": "url", - "printedName": "url", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV3urlSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV3urlSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -78134,241 +77620,71 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV3urlSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV3urlSSvg", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(url:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV3urlACSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV3urlACSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(data:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV4dataAC10Foundation4DataV_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV7fromURLAC10Foundation0H0V_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "with", - "printedName": "with(url:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" + "implicit": true }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV4with3urlACSSSg_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV4with3urlACSSSg_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -78377,83 +77693,174 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Var", - "name": "parsedURL", - "printedName": "parsedURL", - "children": [ + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.URL?", + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV9parsedURL10Foundation0H0VSgvp", + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV10CodingKeysO", "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "accessors": [ + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.URL?", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV9parsedURL10Foundation0H0VSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "accessorKind": "get" + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV", - "mangledName": "$s24EmbeddedCheckoutProtocol17WindowOpenRequestV", + "usr": "s:24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV", + "mangledName": "$s24EmbeddedCheckoutProtocol25SelectedPaymentInstrumentV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -78497,36 +77904,51 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" } ] }, { "kind": "TypeDecl", - "name": "WindowOpenResult", - "printedName": "WindowOpenResult", + "name": "Service", + "printedName": "Service", "children": [ { "kind": "Var", - "name": "ucp", - "printedName": "ucp", + "name": "config", + "printedName": "config", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV3ucpAA017InstrumentsChangeF3UcpVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV3ucpAA017InstrumentsChangeF3UcpVvp", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -78541,14 +77963,36 @@ "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV3ucpAA017InstrumentsChangeF3UcpVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV3ucpAA017InstrumentsChangeF3UcpVvg", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6configSDySSAA7JSONAnyCGSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -78560,8 +78004,8 @@ }, { "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", + "name": "id", + "printedName": "id", "children": [ { "kind": "TypeNominal", @@ -78579,8 +78023,8 @@ } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV11continueURLSSSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV11continueURLSSSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV2idSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV2idSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -78609,8 +78053,8 @@ } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV11continueURLSSSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV11continueURLSSSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV2idSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV2idSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -78622,35 +78066,27 @@ }, { "kind": "Var", - "name": "messages", - "printedName": "messages", + "name": "schema", + "printedName": "schema", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV8messagesSayAA7MessageVGSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV8messagesSayAA7MessageVGSgvp", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -78666,29 +78102,21 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV8messagesSayAA7MessageVGSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV8messagesSayAA7MessageVGSgvg", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6schemaSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -78699,176 +78127,15 @@ ] }, { - "kind": "TypeDecl", - "name": "CodingKeys", - "printedName": "CodingKeys", + "kind": "Var", + "name": "spec", + "printedName": "spec", "children": [ { - "kind": "Var", - "name": "ucp", - "printedName": "ucp", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO3ucpyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO3ucpyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "continueURL", - "printedName": "continueURL", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11continueURLyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11continueURLyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Var", - "name": "messages", - "printedName": "messages", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type) -> EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8messagesyA2EmF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8messagesyA2EmF", - "moduleName": "EmbeddedCheckoutProtocol" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(stringValue:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", - "children": [ - { - "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" - } - ], - "usr": "s:Sq" - }, { "kind": "TypeNominal", "name": "String", @@ -78876,123 +78143,77 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueAESgSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueAESgSS_tcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "init_kind": "Designated" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4specSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4specSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(intValue:)", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "CodingKeys", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult.CodingKeys", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueAESgSi_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueAESgSi_tcfc", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4specSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4specSSSgvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8RawValuea", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8RawValuea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Var", - "name": "intValue", - "printedName": "intValue", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } + "declAttributes": [ + "Transparent" ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueSiSgvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueSiSgvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueSiSgvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8intValueSiSgvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" - } - ] - }, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -79001,40 +78222,27 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO8rawValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] - }, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "endpoint", + "printedName": "endpoint", + "children": [ { - "kind": "Var", - "name": "stringValue", - "printedName": "stringValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -79043,16 +78251,28 @@ "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessors": [ + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -79061,126 +78281,166 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO11stringValueSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8endpointSSSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "transport", + "printedName": "transport", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], - "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10CodingKeysO", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvp", "moduleName": "EmbeddedCheckoutProtocol", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvg", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV9transportAA9TransportOvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(_:using:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(config:id:schema:spec:version:endpoint:transport:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", "children": [ { "kind": "TypeNominal", "name": "String", "printedName": "Swift.String", "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" } - ] + ], + "usr": "s:SD" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CodingKey", - "printedName": "CodingKey", - "usr": "s:s9CodingKeyP", - "mangledName": "$ss9CodingKeyP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "usr": "s:Sq" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(ucp:continueURL:messages:)", - "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -79196,59 +78456,64 @@ ], "usr": "s:Sq" }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV3ucp11continueURL8messagesAcA017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV3ucp11continueURL8messagesAcA017InstrumentsChangeF3UcpV_SSSgSayAA7MessageVGSgtcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSg_SSSgA2OSSAoA9TransportOtcfc", "moduleName": "EmbeddedCheckoutProtocol", "init_kind": "Designated" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, + "isFromExtension": true, "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { "kind": "Constructor", @@ -79257,9 +78522,9 @@ "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", @@ -79269,8 +78534,8 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "throwing": true, @@ -79279,109 +78544,175 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(data:)", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV4dataAC10Foundation4DataV_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV4dataAC10Foundation4DataV_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV7fromURLAC10Foundation0F0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(_:using:)", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV6encode2toys7Encoder_p_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ { "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV8jsonData10Foundation0F0VyKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(fromURL:)", + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV7fromURLAC10Foundation0H0V_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV7fromURLAC10Foundation0H0V_tKcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", "moduleName": "EmbeddedCheckoutProtocol", "isFromExtension": true, "throwing": true, - "init_kind": "Designated" + "funcSelfKind": "NonMutating" }, { "kind": "Function", "name": "with", - "printedName": "with(ucp:continueURL:messages:)", + "printedName": "with(config:id:schema:spec:version:endpoint:transport:)", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp?", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]??", "children": [ { "kind": "TypeNominal", - "name": "InstrumentsChangeResultUcp", - "printedName": "EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp", - "usr": "s:24EmbeddedCheckoutProtocol26InstrumentsChangeResultUcpV" + "name": "Optional", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : EmbeddedCheckoutProtocol.JSONAny]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "JSONAny", + "printedName": "EmbeddedCheckoutProtocol.JSONAny", + "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -79413,26 +78744,18 @@ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]??", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "[EmbeddedCheckoutProtocol.Message]?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[EmbeddedCheckoutProtocol.Message]", - "children": [ - { - "kind": "TypeNominal", - "name": "Message", - "printedName": "EmbeddedCheckoutProtocol.Message", - "usr": "s:24EmbeddedCheckoutProtocol7MessageV" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" @@ -79440,40 +78763,7 @@ ], "hasDefaultArg": true, "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV4with3ucp11continueURL8messagesAcA017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV4with3ucp11continueURL8messagesAcA017InstrumentsChangeF3UcpVSg_SSSgSgSayAA7MessageVGSgSgtF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonData", - "printedName": "jsonData()", - "children": [ - { - "kind": "TypeNominal", - "name": "Data", - "printedName": "Foundation.Data", - "usr": "s:10Foundation4DataV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV8jsonData10Foundation0H0VyKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV8jsonData10Foundation0H0VyKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "jsonString", - "printedName": "jsonString(encoding:)", - "children": [ + }, { "kind": "TypeNominal", "name": "Optional", @@ -79486,72 +78776,27 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Encoding", - "printedName": "Swift.String.Encoding", - "hasDefaultArg": true, - "usr": "s:SS10FoundationE8EncodingV" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "success", - "printedName": "success(version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", "hasDefaultArg": true, - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV7success7versionACSS_tFZ", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV7success7versionACSS_tFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "isFromExtension": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "rejected", - "printedName": "rejected(reason:version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "usr": "s:Sq" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.String??", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "hasDefaultArg": true, @@ -79559,24 +78804,31 @@ }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Transport?", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], "hasDefaultArg": true, - "usr": "s:SS" + "usr": "s:Sq" } ], "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV8rejected6reason7versionACSSSg_SStFZ", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV8rejected6reason7versionACSSSg_SStFZ", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV4with6config2id6schema4spec7version8endpoint9transportACSDySSAA7JSONAnyCGSgSg_SSSgSgA2rqrA9TransportOSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "static": true, "isFromExtension": true, "funcSelfKind": "NonMutating" } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV", - "mangledName": "$s24EmbeddedCheckoutProtocol16WindowOpenResultV", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV", + "mangledName": "$s24EmbeddedCheckoutProtocol7ServiceV", "moduleName": "EmbeddedCheckoutProtocol", "conformances": [ { @@ -79620,290 +78872,233 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "ResponsePayload", - "printedName": "ResponsePayload", - "usr": "s:24EmbeddedCheckoutProtocol15ResponsePayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol15ResponsePayloadP" } ] }, { "kind": "TypeDecl", - "name": "JSONNull", - "printedName": "JSONNull", + "name": "Severity", + "printedName": "Severity", "children": [ { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "recoverable", + "printedName": "recoverable", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" - }, - { - "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC2eeoiySbAC_ACtFZ", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC2eeoiySbAC_ACtFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "declAttributes": [ - "Final" - ], - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO11recoverableyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "hash", - "printedName": "hash(into:)", + "kind": "Var", + "name": "requiresBuyerInput", + "printedName": "requiresBuyerInput", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Hasher", - "printedName": "Swift.Hasher", - "paramValueOwnership": "InOut", - "usr": "s:s6HasherV" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4hash4intoys6HasherVz_tF", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" - ], - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO18requiresBuyerInputyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Var", + "name": "requiresBuyerReview", + "printedName": "requiresBuyerReview", "children": [ { - "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullCACycfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullCACycfc", - "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO19requiresBuyerReviewyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Var", + "name": "unrecoverable", + "printedName": "unrecoverable", "children": [ { - "kind": "TypeNominal", - "name": "JSONNull", - "printedName": "EmbeddedCheckoutProtocol.JSONNull", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Severity.Type) -> EmbeddedCheckoutProtocol.Severity", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Severity.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Required" - ], - "throwing": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO13unrecoverableyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Severity?", + "children": [ + { + "kind": "TypeNominal", + "name": "Severity", + "printedName": "EmbeddedCheckoutProtocol.Severity", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC6encode2toys7Encoder_p_tKF", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "Final" + "Inlinable" ], - "throwing": true, - "funcSelfKind": "NonMutating" + "init_kind": "Designated" }, { - "kind": "Var", - "name": "hashValue", - "printedName": "hashValue", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivp", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivp", + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Final" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC9hashValueSivg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Class", - "usr": "s:24EmbeddedCheckoutProtocol8JSONNullC", - "mangledName": "$s24EmbeddedCheckoutProtocol8JSONNullC", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "implicit": true }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "JSONAny", - "printedName": "JSONAny", - "children": [ { "kind": "Var", - "name": "value", - "printedName": "value", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "Any" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvp", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" - ], + "implicit": true, "accessors": [ { "kind": "Accessor", @@ -79912,85 +79107,67 @@ "children": [ { "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "Any" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC5valueypvg", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO8rawValueSSvg", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "declAttributes": [ - "Final" + "Inlinable" ], "accessorKind": "get" } ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol8SeverityO", + "mangledName": "$s24EmbeddedCheckoutProtocol8SeverityO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONAny", - "printedName": "EmbeddedCheckoutProtocol.JSONAny", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC" - }, - { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Required" - ], - "throwing": true, - "init_kind": "Designated" + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:24EmbeddedCheckoutProtocol7JSONAnyC", - "mangledName": "$s24EmbeddedCheckoutProtocol7JSONAnyC", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "Final" - ], - "conformances": [ + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Decodable", @@ -80037,48 +79214,35 @@ }, { "kind": "TypeDecl", - "name": "JSONRPCID", - "printedName": "JSONRPCID", + "name": "Transport", + "printedName": "Transport", "children": [ { "kind": "Var", - "name": "string", - "printedName": "string", + "name": "a2A", + "printedName": "a2A", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> EmbeddedCheckoutProtocol.JSONRPCID", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ] } @@ -80086,49 +79250,73 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6stringyACSScACmF", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3a2AyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "int", - "printedName": "int", + "name": "embedded", + "printedName": "embedded", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> (Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.Int64) -> EmbeddedCheckoutProtocol.JSONRPCID", + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, - { - "kind": "TypeNominal", - "name": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8embeddedyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "mcp", + "printedName": "mcp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ] } @@ -80136,36 +79324,36 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO3intyACs5Int64VcACmF", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO3mcpyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Var", - "name": "null", - "printedName": "null", + "name": "rest", + "printedName": "rest", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(EmbeddedCheckoutProtocol.JSONRPCID.Type) -> EmbeddedCheckoutProtocol.JSONRPCID", + "printedName": "(EmbeddedCheckoutProtocol.Transport.Type) -> EmbeddedCheckoutProtocol.Transport", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID.Type", + "printedName": "EmbeddedCheckoutProtocol.Transport.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" } ] } @@ -80173,20 +79361,28 @@ } ], "declKind": "EnumElement", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4nullyA2CmF", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO4restyA2CmF", "moduleName": "EmbeddedCheckoutProtocol" }, { "kind": "Constructor", "name": "init", - "printedName": "init(stringLiteral:)", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.Transport?", + "children": [ + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "EmbeddedCheckoutProtocol.Transport", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO" + } + ], + "usr": "s:Sq" }, { "kind": "TypeNominal", @@ -80196,89 +79392,261 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO13stringLiteralACSS_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(integerLiteral:)", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ { "kind": "TypeNominal", - "name": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO14integerLiteralACs5Int64V_tcfc", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "init_kind": "Designated" + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol9TransportO", + "mangledName": "$s24EmbeddedCheckoutProtocol9TransportO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "UCPCheckoutResponseSchemaStatus", + "children": [ + { + "kind": "Var", + "name": "error", + "printedName": "error", + "children": [ { - "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO5erroryA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "success", + "printedName": "success", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO7successyA2CmF", + "moduleName": "EmbeddedCheckoutProtocol" }, { - "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" }, - { - "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" - } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO6encode2toys7Encoder_p_tKF", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", - "children": [ { "kind": "TypeNominal", "name": "String", @@ -80286,34 +79654,20 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO34ExtendedGraphemeClusterLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO34ExtendedGraphemeClusterLiteralTypea", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueACSgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "TypeAlias", - "name": "IntegerLiteralType", - "printedName": "IntegerLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" - } + "implicit": true, + "declAttributes": [ + "Inlinable" ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO18IntegerLiteralTypea", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true + "init_kind": "Designated" }, { "kind": "TypeAlias", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", @@ -80323,15 +79677,15 @@ } ], "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO17StringLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO17StringLiteralTypea", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8RawValuea", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true }, { - "kind": "TypeAlias", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", @@ -80340,54 +79694,80 @@ "usr": "s:SS" } ], - "declKind": "TypeAlias", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO24UnicodeScalarLiteralTypea", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO24UnicodeScalarLiteralTypea", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true - }, - { - "kind": "Function", - "name": "__derived_enum_equals", - "printedName": "__derived_enum_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - }, + "implicit": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" } - ], - "declKind": "Func", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO21__derived_enum_equalsySbAC_ACtFZ", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO21__derived_enum_equalsySbAC_ACtFZ", - "moduleName": "EmbeddedCheckoutProtocol", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" + ] } ], "declKind": "Enum", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO", - "mangledName": "$s24EmbeddedCheckoutProtocol9JSONRPCIDO", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO", + "mangledName": "$s24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO", "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", "isEnumExhaustive": true, "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, { "kind": "Conformance", "name": "Decodable", @@ -80402,13 +79782,6 @@ "usr": "s:SE", "mangledName": "$sSE" }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, { "kind": "Conformance", "name": "Sendable", @@ -80418,135 +79791,427 @@ }, { "kind": "Conformance", - "name": "ExpressibleByStringLiteral", - "printedName": "ExpressibleByStringLiteral", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "UCPOrderResponseSchema", + "printedName": "UCPOrderResponseSchema", + "children": [ + { + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", "children": [ { - "kind": "TypeWitness", - "name": "StringLiteralType", - "printedName": "StringLiteralType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilitiesSDySSSayAA010CapabilityeF0VGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV15paymentHandlersSDySSSayAA014PaymentHandlereF0VGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "services", + "printedName": "services", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Service]", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Service]", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8servicesSDySSSayAA7ServiceVGGSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:s26ExpressibleByStringLiteralP", - "mangledName": "$ss26ExpressibleByStringLiteralP" + ] }, { - "kind": "Conformance", - "name": "ExpressibleByIntegerLiteral", - "printedName": "ExpressibleByIntegerLiteral", + "kind": "Var", + "name": "status", + "printedName": "status", "children": [ { - "kind": "TypeWitness", - "name": "IntegerLiteralType", - "printedName": "IntegerLiteralType", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", "children": [ { "kind": "TypeNominal", - "name": "Int64", - "printedName": "Swift.Int64", - "usr": "s:s5Int64V" + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:s27ExpressibleByIntegerLiteralP", - "mangledName": "$ss27ExpressibleByIntegerLiteralP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "ExpressibleByExtendedGraphemeClusterLiteral", - "printedName": "ExpressibleByExtendedGraphemeClusterLiteral", - "children": [ - { - "kind": "TypeWitness", - "name": "ExtendedGraphemeClusterLiteralType", - "printedName": "ExtendedGraphemeClusterLiteralType", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvp", + "moduleName": "EmbeddedCheckoutProtocol", + "declAttributes": [ + "HasStorage" ], - "usr": "s:s43ExpressibleByExtendedGraphemeClusterLiteralP", - "mangledName": "$ss43ExpressibleByExtendedGraphemeClusterLiteralP" - }, - { - "kind": "Conformance", - "name": "ExpressibleByUnicodeScalarLiteral", - "printedName": "ExpressibleByUnicodeScalarLiteral", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeWitness", - "name": "UnicodeScalarLiteralType", - "printedName": "UnicodeScalarLiteralType", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6statusAA011UCPCheckouteF6StatusOSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:s33ExpressibleByUnicodeScalarLiteralP", - "mangledName": "$ss33ExpressibleByUnicodeScalarLiteralP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + ] }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "JSONRPCCheckoutParams", - "printedName": "JSONRPCCheckoutParams", - "children": [ { "kind": "Var", - "name": "checkout", - "printedName": "checkout", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAA0B0Vvp", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAA0B0Vvp", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvp", "moduleName": "EmbeddedCheckoutProtocol", "declAttributes": [ "HasStorage" @@ -80561,14 +80226,14 @@ "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAA0B0Vvg", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAA0B0Vvg", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7versionSSvg", "moduleName": "EmbeddedCheckoutProtocol", "implicit": true, "declAttributes": [ @@ -80581,175 +80246,206 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:)", + "printedName": "init(_:using:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAcA0B0V_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV8checkoutAcA0B0V_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV_5usingACSS_SS10FoundationE8EncodingVtKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(from:)", + "printedName": "init(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" - } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV4fromACs7Decoder_p_tKcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "throwing": true, - "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV", - "mangledName": "$s24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "JSONRPCErrorParams", - "printedName": "JSONRPCErrorParams", - "children": [ - { - "kind": "Var", - "name": "error", - "printedName": "error", - "children": [ + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAA13ErrorResponseVvp", - "mangledName": "$s24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAA13ErrorResponseVvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", "children": [ { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Service]", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAA13ErrorResponseVvg", - "mangledName": "$s24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAA13ErrorResponseVvg", - "moduleName": "EmbeddedCheckoutProtocol", - "implicit": true, - "declAttributes": [ - "Transparent" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSg_SDySSSayAA014PaymentHandlereF0VGGSgSDySSSayAA7ServiceVGGSgAA011UCPCheckouteF6StatusOSgSStcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "init_kind": "Designated" }, { "kind": "Constructor", "name": "init", - "printedName": "init(error:)", + "printedName": "init(data:)", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAcA13ErrorResponseV_tcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV5errorAcA13ErrorResponseV_tcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4dataAC10Foundation4DataV_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, "init_kind": "Designated" }, { @@ -80759,9 +80455,9 @@ "children": [ { "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" }, { "kind": "TypeNominal", @@ -80771,140 +80467,93 @@ } ], "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV4fromACs7Decoder_p_tKcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV4fromACs7Decoder_p_tKcfc", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4fromACs7Decoder_p_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, "throwing": true, "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV", - "mangledName": "$s24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV", - "moduleName": "EmbeddedCheckoutProtocol", - "conformances": [ - { - "kind": "Conformance", - "name": "EventPayload", - "printedName": "EventPayload", - "usr": "s:24EmbeddedCheckoutProtocol12EventPayloadP", - "mangledName": "$s24EmbeddedCheckoutProtocol12EventPayloadP" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "NotificationMessage", - "printedName": "NotificationMessage", - "children": [ - { - "kind": "Var", - "name": "jsonrpc", - "printedName": "jsonrpc", + "kind": "Constructor", + "name": "init", + "printedName": "init(fromURL:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvp", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV7fromURLAC10Foundation0H0V_tKcfc", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpcSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "throwing": true, + "init_kind": "Designated" }, { - "kind": "Var", - "name": "method", - "printedName": "method", + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" } ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvp", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV6encode2toys7Encoder_p_tKF", "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonData", + "printedName": "jsonData()", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV8jsonData10Foundation0H0VyKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "jsonString", + "printedName": "jsonString(encoding:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -80913,177 +80562,458 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6methodSSvg", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Encoding", + "printedName": "Swift.String.Encoding", + "hasDefaultArg": true, + "usr": "s:SS10FoundationE8EncodingV" } - ] + ], + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10jsonString8encodingSSSgSS10FoundationE8EncodingV_tKF", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "params", - "printedName": "params", + "kind": "Function", + "name": "with", + "printedName": "with(capabilities:paymentHandlers:services:status:version:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvp", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "UCPOrderResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]??", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.CapabilityResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.CapabilityResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "CapabilityResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.CapabilityResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol24CapabilityResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV6paramsxvg", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(jsonrpc:method:params:)", - "children": [ + "hasDefaultArg": true, + "usr": "s:Sq" + }, { "kind": "TypeNominal", - "name": "NotificationMessage", - "printedName": "EmbeddedCheckoutProtocol.NotificationMessage", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]??", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema]", + "children": [ + { + "kind": "TypeNominal", + "name": "PaymentHandlerResponseSchema", + "printedName": "EmbeddedCheckoutProtocol.PaymentHandlerResponseSchema", + "usr": "s:24EmbeddedCheckoutProtocol28PaymentHandlerResponseSchemaV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" } ], - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV" + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : [EmbeddedCheckoutProtocol.Service]]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[EmbeddedCheckoutProtocol.Service]", + "children": [ + { + "kind": "TypeNominal", + "name": "Service", + "printedName": "EmbeddedCheckoutProtocol.Service", + "usr": "s:24EmbeddedCheckoutProtocol7ServiceV" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:SD" + } + ], + "usr": "s:Sq" + } + ], "hasDefaultArg": true, - "usr": "s:SS" + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus??", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus?", + "children": [ + { + "kind": "TypeNominal", + "name": "UCPCheckoutResponseSchemaStatus", + "printedName": "EmbeddedCheckoutProtocol.UCPCheckoutResponseSchemaStatus", + "usr": "s:24EmbeddedCheckoutProtocol31UCPCheckoutResponseSchemaStatusO" + } + ], + "usr": "s:Sq" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV7jsonrpc6method6paramsACyxGSS_SSxtcfc", + "declKind": "Func", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV4with12capabilities15paymentHandlers8services6status7versionACSDySSSayAA010CapabilityeF0VGGSgSg_SDySSSayAA014PaymentHandlereF0VGGSgSgSDySSSayAA7ServiceVGGSgSgAA011UCPCheckouteF6StatusOSgSgSSSgtF", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol19NotificationMessageV", - "mangledName": "$s24EmbeddedCheckoutProtocol19NotificationMessageV", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "RequestMessage", - "printedName": "RequestMessage", - "children": [ - { - "kind": "Var", - "name": "jsonrpc", - "printedName": "jsonrpc", + "kind": "TypeDecl", + "name": "CodingKeys", + "printedName": "CodingKeys", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO12capabilitiesyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "paymentHandlers", + "printedName": "paymentHandlers", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO15paymentHandlersyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "services", + "printedName": "services", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8servicesyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO6statusyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO6statusyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Var", + "name": "version", + "printedName": "version", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type) -> EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO7versionyA2EmF", + "moduleName": "EmbeddedCheckoutProtocol" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(intValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueAESgSi_tcfc", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -81091,46 +81021,35 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpcSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, "declAttributes": [ - "Transparent" + "Inlinable" ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "method", - "printedName": "method", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Constructor", + "name": "init", + "printedName": "init(stringValue:)", "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys?", + "children": [ + { + "kind": "TypeNominal", + "name": "CodingKeys", + "printedName": "EmbeddedCheckoutProtocol.UCPOrderResponseSchema.CodingKeys", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO" + } + ], + "usr": "s:Sq" + }, { "kind": "TypeNominal", "name": "String", @@ -81138,168 +81057,282 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6methodSSvg", + "declKind": "Constructor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueAESgSS_tcfc", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "id", - "printedName": "id", - "children": [ + "init_kind": "Designated" + }, { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8RawValuea", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "intValue", + "printedName": "intValue", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV2idAA9JSONRPCIDOvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvp", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "params", - "printedName": "params", - "children": [ - { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" - } - ], - "declKind": "Var", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvp", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvp", - "moduleName": "EmbeddedCheckoutProtocol", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8intValueSiSgvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvg", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV6paramsxvg", + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvp", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "implicit": true, - "declAttributes": [ - "Transparent" + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO8rawValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stringValue", + "printedName": "stringValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } ], - "accessorKind": "get" + "declKind": "Var", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvp", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO11stringValueSSvg", + "moduleName": "EmbeddedCheckoutProtocol", + "implicit": true, + "accessorKind": "get" + } + ] } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(jsonrpc:method:id:params:)", - "children": [ + ], + "declKind": "Enum", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV10CodingKeysO", + "moduleName": "EmbeddedCheckoutProtocol", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "RequestMessage", - "printedName": "EmbeddedCheckoutProtocol.RequestMessage", + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] } ], - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "hasDefaultArg": true, - "usr": "s:SS" + "kind": "Conformance", + "name": "CodingKey", + "printedName": "CodingKey", + "usr": "s:s9CodingKeyP", + "mangledName": "$ss9CodingKeyP" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "JSONRPCID", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCID", - "usr": "s:24EmbeddedCheckoutProtocol9JSONRPCIDO" + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" }, { - "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Payload" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Constructor", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpc6method2id6paramsACyxGSS_SSAA9JSONRPCIDOxtcfc", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV7jsonrpc6method2id6paramsACyxGSS_SSAA9JSONRPCIDOxtcfc", - "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", - "init_kind": "Designated" + ] } ], "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocol14RequestMessageV", - "mangledName": "$s24EmbeddedCheckoutProtocol14RequestMessageV", + "usr": "s:24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", + "mangledName": "$s24EmbeddedCheckoutProtocol22UCPOrderResponseSchemaV", "moduleName": "EmbeddedCheckoutProtocol", - "genericSig": "", "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, { "kind": "Conformance", "name": "Sendable", @@ -81333,4 +81366,4 @@ ], "json_format_version": 8 } -} \ No newline at end of file +} diff --git a/platforms/swift/api/ShopifyAcceleratedCheckouts.json b/platforms/swift/api/ShopifyAcceleratedCheckouts.json index c3cd12ff1..ec9fd614e 100644 --- a/platforms/swift/api/ShopifyAcceleratedCheckouts.json +++ b/platforms/swift/api/ShopifyAcceleratedCheckouts.json @@ -111,26 +111,40 @@ }, { "kind": "TypeDecl", - "name": "ShopifyAcceleratedCheckouts", - "printedName": "ShopifyAcceleratedCheckouts", + "name": "AcceleratedCheckoutButtons", + "printedName": "AcceleratedCheckoutButtons", "children": [ { "kind": "Var", - "name": "logLevel", - "printedName": "logLevel", + "name": "wallets", + "printedName": "wallets", "children": [ { "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" + "name": "Array", + "printedName": "[ShopifyAcceleratedCheckouts.Wallet]", + "children": [ + { + "kind": "TypeNominal", + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + } + ], + "usr": "s:Sa" } ], "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvpZ", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvpZ", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvp", "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, + "declAttributes": [ + "HasInitialValue", + "Preconcurrency", + "HasStorage", + "Custom" + ], + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -139,16 +153,27 @@ "children": [ { "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" + "name": "Array", + "printedName": "[ShopifyAcceleratedCheckouts.Wallet]", + "children": [ + { + "kind": "TypeNominal", + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvgZ", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvgZ", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvg", "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" }, { @@ -163,1314 +188,1522 @@ }, { "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" + "name": "Array", + "printedName": "[ShopifyAcceleratedCheckouts.Wallet]", + "children": [ + { + "kind": "TypeNominal", + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + } + ], + "usr": "s:Sa" } ], "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvsZ", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvsZ", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvs", "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "set" } ] }, { - "kind": "TypeDecl", - "name": "Configuration", - "printedName": "Configuration", + "kind": "Constructor", + "name": "init", + "printedName": "init(cartID:)", "children": [ { - "kind": "Var", - "name": "storefrontDomain", - "printedName": "storefrontDomain", + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV6cartIDACSS_tcfc", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV6cartIDACSS_tcfc", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(variantID:quantity:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Constructor", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV9variantID8quantityACSS_Sitcfc", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV9variantID8quantityACSS_Sitcfc", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "applePayButtonStyle", + "printedName": "applePayButtonStyle(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeNominal", + "name": "PKPaymentButtonStyle", + "printedName": "PassKit.PKPaymentButtonStyle", + "usr": "c:@E@PKPaymentButtonStyle" + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV19applePayButtonStyleyACSo09PKPaymenthI0VF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV19applePayButtonStyleyACSo09PKPaymenthI0VF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "applePayButtonType", + "printedName": "applePayButtonType(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeNominal", + "name": "PKPaymentButtonType", + "printedName": "PassKit.PKPaymentButtonType", + "usr": "c:@E@PKPaymentButtonType" + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV18applePayButtonTypeyACSo09PKPaymenthI0VF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV18applePayButtonTypeyACSo09PKPaymenthI0VF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "connect", + "printedName": "connect(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutCommunicationProtocol", + "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7connectyAC0aD3Kit0D21CommunicationProtocol_pSgF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7connectyAC0aD3Kit0D21CommunicationProtocol_pSgF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "cornerRadius", + "printedName": "cornerRadius(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeNominal", + "name": "CGFloat", + "printedName": "CoreGraphics.CGFloat", + "usr": "s:14CoreFoundation7CGFloatV" + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV12cornerRadiusyAC14CoreFoundation7CGFloatVF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV12cornerRadiusyAC12CoreGraphics7CGFloatVF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onDismiss", + "printedName": "onDismiss(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", "name": "Void", "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvs", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvs", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + ] + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" } ] + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV9onDismissyACyycF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV9onDismissyACyycF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onFail", + "printedName": "onFail(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" }, { - "kind": "Var", - "name": "storefrontAccessToken", - "printedName": "storefrontAccessToken", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ] + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV6onFailyACy0aD3Kit0D5ErrorVcF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV6onFailyACy0aD3Kit0D5ErrorVcF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onRenderStateChange", + "printedName": "onRenderStateChange(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", "name": "Void", "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvs", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvs", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + ] + }, + { + "kind": "TypeNominal", + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" } ] + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV19onRenderStateChangeyACyAA0gH0OcF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV19onRenderStateChangeyACyAA0gH0OcF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "wallets", + "printedName": "wallets(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "AcceleratedCheckoutButtons", + "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" }, { - "kind": "Var", - "name": "customer", - "printedName": "customer", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyAcceleratedCheckouts.Wallet]", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer?", - "children": [ - { - "kind": "TypeNominal", - "name": "Customer", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" - } - ], - "usr": "s:Sq" + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer?", - "children": [ - { - "kind": "TypeNominal", - "name": "Customer", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, + "usr": "s:Sa" + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsyACSayAA6WalletOGF", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsyACSayAA6WalletOGF", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeAlias", + "name": "Body", + "printedName": "Body", + "children": [ + { + "kind": "TypeNominal", + "name": "OpaqueTypeArchetype", + "printedName": "some SwiftUI.View", + "children": [ { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer?", - "children": [ - { - "kind": "TypeNominal", - "name": "Customer", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvs", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvs", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" + "kind": "TypeNominal", + "name": "View", + "printedName": "SwiftUI.View", + "usr": "s:7SwiftUI4ViewP" } ] - }, + } + ], + "declKind": "TypeAlias", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4Bodya", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4Bodya", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "intro_iOS": "16.0", + "declAttributes": [ + "Available" + ] + }, + { + "kind": "Var", + "name": "body", + "printedName": "body", + "children": [ { - "kind": "Constructor", - "name": "init", - "printedName": "init(storefrontDomain:storefrontAccessToken:customer:)", + "kind": "TypeNominal", + "name": "OpaqueTypeArchetype", + "printedName": "some SwiftUI.View", "children": [ { "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "View", + "printedName": "SwiftUI.View", + "usr": "s:7SwiftUI4ViewP" + } + ] + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4bodyQrvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4bodyQrvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer?", + "name": "OpaqueTypeArchetype", + "printedName": "some SwiftUI.View", "children": [ { "kind": "TypeNominal", - "name": "Customer", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" + "name": "View", + "printedName": "SwiftUI.View", + "usr": "s:7SwiftUI4ViewP" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomain0E11AccessToken8customerADSS_SSAB8CustomerVSgtcfc", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomain0E11AccessToken8customerADSS_SSAB8CustomerVSgtcfc", + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4bodyQrvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4bodyQrvg", "moduleName": "ShopifyAcceleratedCheckouts", - "init_kind": "Designated" - }, + "accessorKind": "get" + } + ] + } + ], + "declKind": "Struct", + "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV", + "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV", + "moduleName": "ShopifyAcceleratedCheckouts", + "intro_iOS": "16.0", + "declAttributes": [ + "Preconcurrency", + "Available", + "Custom" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "View", + "printedName": "View", + "children": [ { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", + "kind": "TypeWitness", + "name": "Body", + "printedName": "Body", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" - }, - { - "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" + "name": "OpaqueTypeArchetype", + "printedName": "some SwiftUI.View", + "children": [ + { + "kind": "TypeNominal", + "name": "View", + "printedName": "SwiftUI.View", + "usr": "s:7SwiftUI4ViewP" + } + ] } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV23__derived_struct_equalsySbAD_ADtFZ", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV23__derived_struct_equalsySbAD_ADtFZ", - "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" + ] } ], - "declKind": "Struct", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV", + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Bundle", + "printedName": "Bundle", + "children": [ + { + "kind": "Var", + "name": "acceleratedCheckouts", + "printedName": "acceleratedCheckouts", + "children": [ + { + "kind": "TypeNominal", + "name": "Bundle", + "printedName": "Foundation.Bundle", + "usr": "c:objc(cs)NSBundle" + } + ], + "declKind": "Var", + "usr": "s:So8NSBundleC27ShopifyAcceleratedCheckoutsE011acceleratedD0ABvpZ", + "mangledName": "$sSo8NSBundleC27ShopifyAcceleratedCheckoutsE011acceleratedD0ABvpZ", "moduleName": "ShopifyAcceleratedCheckouts", + "static": true, + "isInternal": true, + "declAttributes": [ + "Final" + ], "isFromExtension": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, + "accessors": [ { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bundle", + "printedName": "Foundation.Bundle", + "usr": "c:objc(cs)NSBundle" + } + ], + "declKind": "Accessor", + "usr": "s:So8NSBundleC27ShopifyAcceleratedCheckoutsE011acceleratedD0ABvgZ", + "mangledName": "$sSo8NSBundleC27ShopifyAcceleratedCheckoutsE011acceleratedD0ABvgZ", + "moduleName": "ShopifyAcceleratedCheckouts", + "static": true, + "isInternal": true, + "declAttributes": [ + "Final" + ], + "isFromExtension": true, + "accessorKind": "get" } ] + } + ], + "declKind": "Class", + "usr": "c:objc(cs)NSBundle", + "moduleName": "Foundation", + "isOpen": true, + "objc_name": "NSBundle", + "declAttributes": [ + "ObjC", + "SynthesizedProtocol", + "NonSendable", + "Sendable", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "TypeDecl", - "name": "Customer", - "printedName": "Customer", + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "NSObjectProtocol", + "printedName": "NSObjectProtocol", + "usr": "c:objc(pl)NSObject" + }, + { + "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": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "EnvironmentValues", + "printedName": "EnvironmentValues", + "children": [ + { + "kind": "Var", + "name": "shopifyAcceleratedCheckoutsConfiguration", + "printedName": "shopifyAcceleratedCheckoutsConfiguration", "children": [ { - "kind": "Var", - "name": "email", - "printedName": "email", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration?", + "children": [ + { + "kind": "TypeNominal", + "name": "Configuration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvp", + "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Configuration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV5emailSSSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV5emailSSSgvp", + "declKind": "Accessor", + "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvg", + "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvg", "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV5emailSSSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV5emailSSSgvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "accessorKind": "get" }, { - "kind": "Var", - "name": "phoneNumber", - "printedName": "phoneNumber", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Configuration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV11phoneNumberSSSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV11phoneNumberSSSgvp", + "declKind": "Accessor", + "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvs", + "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvs", "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "isFromExtension": true, + "accessorKind": "set" + } + ] + }, + { + "kind": "Var", + "name": "shopifyApplePayConfiguration", + "printedName": "shopifyApplePayConfiguration", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV11phoneNumberSSSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV11phoneNumberSSSgvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "ApplePayConfiguration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" } - ] - }, + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvp", + "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "isFromExtension": true, + "accessors": [ { - "kind": "Var", - "name": "customerAccessToken", - "printedName": "customerAccessToken", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ApplePayConfiguration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV19customerAccessTokenSSSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV19customerAccessTokenSSSgvp", + "declKind": "Accessor", + "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvg", + "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvg", "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV19customerAccessTokenSSSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV19customerAccessTokenSSSgvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "accessorKind": "get" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(email:phoneNumber:customerAccessToken:)", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Customer", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ApplePayConfiguration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" } ], - "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV5email11phoneNumber19customerAccessTokenADSSSg_A2Htcfc", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV5email11phoneNumber19customerAccessTokenADSSSg_A2Htcfc", + "declKind": "Accessor", + "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvs", + "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvs", "moduleName": "ShopifyAcceleratedCheckouts", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "Customer", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" - }, - { - "kind": "TypeNominal", - "name": "Customer", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV23__derived_struct_equalsySbAD_ADtFZ", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV23__derived_struct_equalsySbAD_ADtFZ", - "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV", - "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "isFromExtension": true, + "accessorKind": "set" } ] + } + ], + "declKind": "Struct", + "usr": "s:7SwiftUI17EnvironmentValuesV", + "mangledName": "$s7SwiftUI17EnvironmentValuesV", + "moduleName": "SwiftUICore", + "intro_Macosx": "10.15", + "intro_iOS": "13.0", + "intro_tvOS": "13.0", + "intro_watchOS": "6.0", + "declAttributes": [ + "OriginallyDefinedIn", + "OriginallyDefinedIn", + "OriginallyDefinedIn", + "OriginallyDefinedIn", + "Available", + "Available", + "Available", + "Available" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" }, { - "kind": "TypeDecl", - "name": "RequiredContactFields", - "printedName": "RequiredContactFields", + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "EventHandlers", + "printedName": "EventHandlers", + "children": [ + { + "kind": "Var", + "name": "checkoutDidFail", + "printedName": "checkoutDidFail", "children": [ { - "kind": "Var", - "name": "email", - "printedName": "email", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields.Type) -> ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", "children": [ { - "kind": "TypeNominal", - "name": "RequiredContactFields", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields.Type", + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", - "name": "RequiredContactFields", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + "name": "Void", + "printedName": "()" } ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" } ] } ], - "declKind": "EnumElement", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO5emailyA2DmF", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO5emailyA2DmF", - "moduleName": "ShopifyAcceleratedCheckouts" - }, + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "Var", - "name": "phone", - "printedName": "phone", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields.Type) -> ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "RequiredContactFields", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields.Type", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, { "kind": "TypeNominal", - "name": "RequiredContactFields", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" } ] } - ] + ], + "usr": "s:Sq" } ], - "declKind": "EnumElement", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO5phoneyA2DmF", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO5phoneyA2DmF", - "moduleName": "ShopifyAcceleratedCheckouts" + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields?", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "RequiredContactFields", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ] } ], "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueADSgSS_tcfc", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueADSgSS_tcfc", + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvs", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, "declAttributes": [ - "Inlinable" + "Transparent" ], - "init_kind": "Designated" - }, + "accessorKind": "set" + } + ] + }, + { + "kind": "Var", + "name": "checkoutDidDismiss", + "printedName": "checkoutDidDismiss", + "children": [ { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(() -> Swift.Void)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "(() -> Swift.Void)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "usr": "s:Sq" } ], - "declKind": "TypeAlias", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8RawValuea", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8RawValuea", + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvg", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, - "intro_iOS": "16.0", "declAttributes": [ - "Available" - ] + "Transparent" + ], + "accessorKind": "get" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(() -> Swift.Void)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueSSvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueSSvp", + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvs", "moduleName": "ShopifyAcceleratedCheckouts", "implicit": true, - "accessors": [ + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "Var", + "name": "renderStateDidChange", + "printedName": "renderStateDidChange", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueSSvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueSSvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" + ] } - ] - } + ], + "usr": "s:Sq" + } ], - "declKind": "Enum", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO", + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvp", "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + } + ] } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "ApplePayConfiguration", - "printedName": "ApplePayConfiguration", - "children": [ - { - "kind": "Var", - "name": "merchantIdentifier", - "printedName": "merchantIdentifier", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ], + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifierSSvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifierSSvp", + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvg", "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifierSSvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifierSSvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "accessorKind": "get" }, { - "kind": "Var", - "name": "contactFields", - "printedName": "contactFields", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields]", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "RequiredContactFields", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + } + ] } ], - "usr": "s:Sa" + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV13contactFieldsSayAB015RequiredContactH0OGvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV13contactFieldsSayAB015RequiredContactH0OGvp", + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvs", "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, "declAttributes": [ - "HasStorage" + "Transparent" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "accessorKind": "set" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(checkoutDidFail:checkoutDidDismiss:renderStateDidChange:)", + "children": [ + { + "kind": "TypeNominal", + "name": "EventHandlers", + "printedName": "ShopifyAcceleratedCheckouts.EventHandlers", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields]", + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", - "name": "RequiredContactFields", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + "name": "Void", + "printedName": "()" } - ], - "usr": "s:Sa" + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV13contactFieldsSayAB015RequiredContactH0OGvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV13contactFieldsSayAB015RequiredContactH0OGvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "supportedShippingCountries", - "printedName": "supportedShippingCountries", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(() -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Set?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> Swift.Void", "children": [ { - "kind": "TypeNominal", - "name": "Set", - "printedName": "Swift.Set", + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" } - ], - "usr": "s:Sh" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV26supportedShippingCountriesShySSGSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV26supportedShippingCountriesShySSGSgvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + ] + }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Set?", - "children": [ - { - "kind": "TypeNominal", - "name": "Set", - "printedName": "Swift.Set", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sh" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV26supportedShippingCountriesShySSGSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV26supportedShippingCountriesShySSGSgvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(merchantIdentifier:contactFields:supportedShippingCountries:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "ApplePayConfiguration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields]", - "children": [ - { - "kind": "TypeNominal", - "name": "RequiredContactFields", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" - } - ], - "usr": "s:Sa" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Set?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", "children": [ { - "kind": "TypeNominal", - "name": "Set", - "printedName": "Swift.Set", + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" } - ], - "usr": "s:Sh" + ] + }, + { + "kind": "TypeNominal", + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifier13contactFields26supportedShippingCountriesADSS_SayAB015RequiredContactJ0OGShySSGSgtcfc", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifier13contactFields26supportedShippingCountriesADSS_SayAB015RequiredContactJ0OGShySSGSgtcfc", - "moduleName": "ShopifyAcceleratedCheckouts", - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "ApplePayConfiguration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" - }, - { - "kind": "TypeNominal", - "name": "ApplePayConfiguration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" + ] } ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV23__derived_struct_equalsySbAD_ADtFZ", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV23__derived_struct_equalsySbAD_ADtFZ", - "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Struct", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV", + "declKind": "Constructor", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFail0fG7Dismiss011renderStateG6ChangeACy0A11CheckoutKit0M5ErrorVcSg_yycSgyAA06RenderK0OcSgtcfc", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFail0fG7Dismiss011renderStateG6ChangeACy0A11CheckoutKit0M5ErrorVcSg_yycSgyAA06RenderK0OcSgtcfc", "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] + "init_kind": "Designated" } ], - "declKind": "Enum", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO", - "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO", + "declKind": "Struct", + "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV", + "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV", "moduleName": "ShopifyAcceleratedCheckouts", - "isEnumExhaustive": true, "conformances": [ { "kind": "Conformance", @@ -1490,182 +1723,46 @@ }, { "kind": "TypeDecl", - "name": "RenderState", - "printedName": "RenderState", - "children": [ + "name": "PKPaymentAuthorizationController", + "printedName": "PKPaymentAuthorizationController", + "declKind": "Class", + "usr": "c:objc(cs)PKPaymentAuthorizationController", + "moduleName": "PassKit", + "isOpen": true, + "intro_iOS": "10.0", + "objc_name": "PKPaymentAuthorizationController", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ { - "kind": "Var", - "name": "loading", - "printedName": "loading", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState.Type) -> ShopifyAcceleratedCheckouts.RenderState", - "children": [ - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyAcceleratedCheckouts.RenderState.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO7loadingyA2CmF", - "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO7loadingyA2CmF", - "moduleName": "ShopifyAcceleratedCheckouts" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Var", - "name": "rendered", - "printedName": "rendered", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState.Type) -> ShopifyAcceleratedCheckouts.RenderState", - "children": [ - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyAcceleratedCheckouts.RenderState.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO8renderedyA2CmF", - "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO8renderedyA2CmF", - "moduleName": "ShopifyAcceleratedCheckouts" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "Var", - "name": "error", - "printedName": "error", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState.Type) -> (Swift.String) -> ShopifyAcceleratedCheckouts.RenderState", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(Swift.String) -> ShopifyAcceleratedCheckouts.RenderState", - "children": [ - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - }, - { - "kind": "TypeNominal", - "name": "Tuple", - "printedName": "(reason: Swift.String)", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ] - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyAcceleratedCheckouts.RenderState.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO5erroryACSS_tcACmF", - "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO5erroryACSS_tcACmF", - "moduleName": "ShopifyAcceleratedCheckouts" + "kind": "Conformance", + "name": "NSObjectProtocol", + "printedName": "NSObjectProtocol", + "usr": "c:objc(pl)NSObject" }, - { - "kind": "Function", - "name": "__derived_enum_equals", - "printedName": "__derived_enum_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - }, - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO21__derived_enum_equalsySbAC_ACtFZ", - "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO21__derived_enum_equalsySbAC_ACtFZ", - "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO", - "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO", - "moduleName": "ShopifyAcceleratedCheckouts", - "isEnumExhaustive": true, - "conformances": [ { "kind": "Conformance", "name": "Equatable", @@ -1675,622 +1772,216 @@ }, { "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" } ] }, { "kind": "TypeDecl", - "name": "AcceleratedCheckoutButtons", - "printedName": "AcceleratedCheckoutButtons", - "children": [ - { - "kind": "Var", - "name": "wallets", - "printedName": "wallets", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyAcceleratedCheckouts.Wallet]", - "children": [ - { - "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasInitialValue", - "Preconcurrency", - "HasStorage", - "Custom" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyAcceleratedCheckouts.Wallet]", - "children": [ - { - "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyAcceleratedCheckouts.Wallet]", - "children": [ - { - "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvs", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsSayAA6WalletOGvs", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] + "name": "PKPaymentAuthorizationResult", + "printedName": "PKPaymentAuthorizationResult", + "declKind": "Class", + "usr": "c:objc(cs)PKPaymentAuthorizationResult", + "moduleName": "PassKit", + "isOpen": true, + "intro_iOS": "11.0", + "objc_name": "PKPaymentAuthorizationResult", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)NSObject", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(cartID:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV6cartIDACSS_tcfc", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV6cartIDACSS_tcfc", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "init_kind": "Designated" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(variantID:quantity:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV9variantID8quantityACSS_Sitcfc", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV9variantID8quantityACSS_Sitcfc", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "init_kind": "Designated" + "kind": "Conformance", + "name": "NSObjectProtocol", + "printedName": "NSObjectProtocol", + "usr": "c:objc(pl)NSObject" }, { - "kind": "Var", - "name": "body", - "printedName": "body", - "children": [ - { - "kind": "TypeNominal", - "name": "OpaqueTypeArchetype", - "printedName": "some SwiftUI.View", - "children": [ - { - "kind": "TypeNominal", - "name": "View", - "printedName": "SwiftUI.View", - "usr": "s:7SwiftUI4ViewP" - } - ] - } - ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4bodyQrvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4bodyQrvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "OpaqueTypeArchetype", - "printedName": "some SwiftUI.View", - "children": [ - { - "kind": "TypeNominal", - "name": "View", - "printedName": "SwiftUI.View", - "usr": "s:7SwiftUI4ViewP" - } - ] - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4bodyQrvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4bodyQrvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "accessorKind": "get" - } - ] + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "TypeAlias", - "name": "Body", - "printedName": "Body", - "children": [ - { - "kind": "TypeNominal", - "name": "OpaqueTypeArchetype", - "printedName": "some SwiftUI.View", - "children": [ - { - "kind": "TypeNominal", - "name": "View", - "printedName": "SwiftUI.View", - "usr": "s:7SwiftUI4ViewP" - } - ] - } - ], - "declKind": "TypeAlias", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4Bodya", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV4Bodya", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "intro_iOS": "16.0", - "declAttributes": [ - "Available" - ] + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { - "kind": "Function", - "name": "applePayButtonType", - "printedName": "applePayButtonType(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeNominal", - "name": "PKPaymentButtonType", - "printedName": "PassKit.PKPaymentButtonType", - "usr": "c:@E@PKPaymentButtonType" - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV18applePayButtonTypeyACSo09PKPaymenthI0VF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV18applePayButtonTypeyACSo09PKPaymenthI0VF", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" }, { - "kind": "Function", - "name": "applePayButtonStyle", - "printedName": "applePayButtonStyle(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeNominal", - "name": "PKPaymentButtonStyle", - "printedName": "PassKit.PKPaymentButtonStyle", - "usr": "c:@E@PKPaymentButtonStyle" - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV19applePayButtonStyleyACSo09PKPaymenthI0VF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV19applePayButtonStyleyACSo09PKPaymenthI0VF", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" }, { - "kind": "Function", - "name": "wallets", - "printedName": "wallets(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyAcceleratedCheckouts.Wallet]", - "children": [ - { - "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsyACSayAA6WalletOGF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7walletsyACSayAA6WalletOGF", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PKPaymentRequestPaymentMethodUpdate", + "printedName": "PKPaymentRequestPaymentMethodUpdate", + "declKind": "Class", + "usr": "c:objc(cs)PKPaymentRequestPaymentMethodUpdate", + "moduleName": "PassKit", + "isOpen": true, + "intro_iOS": "11.0", + "objc_name": "PKPaymentRequestPaymentMethodUpdate", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)PKPaymentRequestUpdate", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "PassKit.PKPaymentRequestUpdate", + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "Function", - "name": "cornerRadius", - "printedName": "cornerRadius(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeNominal", - "name": "CGFloat", - "printedName": "CoreGraphics.CGFloat", - "usr": "s:14CoreFoundation7CGFloatV" - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV12cornerRadiusyAC14CoreFoundation7CGFloatVF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV12cornerRadiusyAC12CoreGraphics7CGFloatVF", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "Function", - "name": "onFail", - "printedName": "onFail(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" - } - ] - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV6onFailyACy0aD3Kit0D5ErrorVcF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV6onFailyACy0aD3Kit0D5ErrorVcF", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "NSObjectProtocol", + "printedName": "NSObjectProtocol", + "usr": "c:objc(pl)NSObject" }, { - "kind": "Function", - "name": "onDismiss", - "printedName": "onDismiss(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "() -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV9onDismissyACyycF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV9onDismissyACyycF", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { - "kind": "Function", - "name": "onRenderStateChange", - "printedName": "onRenderStateChange(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - } - ] - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV19onRenderStateChangeyACyAA0gH0OcF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV19onRenderStateChangeyACyAA0gH0OcF", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, - { - "kind": "Function", - "name": "connect", - "printedName": "connect(_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "AcceleratedCheckoutButtons", - "printedName": "ShopifyAcceleratedCheckouts.AcceleratedCheckoutButtons", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7connectyAC0aD3Kit0D21CommunicationProtocol_pSgF", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV7connectyAC0aD3Kit0D21CommunicationProtocol_pSgF", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV", - "mangledName": "$s27ShopifyAcceleratedCheckouts0B15CheckoutButtonsV", - "moduleName": "ShopifyAcceleratedCheckouts", - "intro_iOS": "16.0", - "declAttributes": [ - "Preconcurrency", - "Available", - "Custom" - ], - "conformances": [ { "kind": "Conformance", - "name": "View", - "printedName": "View", - "children": [ - { - "kind": "TypeWitness", - "name": "Body", - "printedName": "Body", - "children": [ - { - "kind": "TypeNominal", - "name": "OpaqueTypeArchetype", - "printedName": "some SwiftUI.View", - "children": [ - { - "kind": "TypeNominal", - "name": "View", - "printedName": "SwiftUI.View", - "usr": "s:7SwiftUI4ViewP" - } - ] - } - ] - } - ], - "usr": "s:7SwiftUI4ViewP", - "mangledName": "$s7SwiftUI4ViewP" + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" }, { "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "PKPaymentRequestShippingContactUpdate", + "printedName": "PKPaymentRequestShippingContactUpdate", + "declKind": "Class", + "usr": "c:objc(cs)PKPaymentRequestShippingContactUpdate", + "moduleName": "PassKit", + "isOpen": true, + "intro_iOS": "11.0", + "objc_name": "PKPaymentRequestShippingContactUpdate", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)PKPaymentRequestUpdate", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "PassKit.PKPaymentRequestUpdate", + "ObjectiveC.NSObject" + ], + "conformances": [ { "kind": "Conformance", "name": "Copyable", @@ -2307,44 +1998,158 @@ }, { "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "NSObjectProtocol", + "printedName": "NSObjectProtocol", + "usr": "c:objc(pl)NSObject" + }, + { + "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": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" } ] }, { "kind": "TypeDecl", - "name": "Wallet", - "printedName": "Wallet", - "children": [ - { - "kind": "Var", - "name": "applePay", - "printedName": "applePay", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.Wallet.Type) -> ShopifyAcceleratedCheckouts.Wallet", - "children": [ - { - "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" - }, - { - "kind": "TypeNominal", + "name": "PKPaymentRequestShippingMethodUpdate", + "printedName": "PKPaymentRequestShippingMethodUpdate", + "declKind": "Class", + "usr": "c:objc(cs)PKPaymentRequestShippingMethodUpdate", + "moduleName": "PassKit", + "isOpen": true, + "intro_iOS": "11.0", + "objc_name": "PKPaymentRequestShippingMethodUpdate", + "declAttributes": [ + "Available", + "ObjC", + "Dynamic" + ], + "superclassUsr": "c:objc(cs)PKPaymentRequestUpdate", + "isExternal": true, + "inheritsConvenienceInitializers": true, + "superclassNames": [ + "PassKit.PKPaymentRequestUpdate", + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "NSObjectProtocol", + "printedName": "NSObjectProtocol", + "usr": "c:objc(pl)NSObject" + }, + { + "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": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "RenderState", + "printedName": "RenderState", + "children": [ + { + "kind": "Var", + "name": "loading", + "printedName": "loading", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.RenderState.Type) -> ShopifyAcceleratedCheckouts.RenderState", + "children": [ + { + "kind": "TypeNominal", + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + }, + { + "kind": "TypeNominal", "name": "Metatype", - "printedName": "ShopifyAcceleratedCheckouts.Wallet.Type", + "printedName": "ShopifyAcceleratedCheckouts.RenderState.Type", "children": [ { "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" } ] } @@ -2352,36 +2157,36 @@ } ], "declKind": "EnumElement", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8applePayyA2CmF", - "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8applePayyA2CmF", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO7loadingyA2CmF", + "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO7loadingyA2CmF", "moduleName": "ShopifyAcceleratedCheckouts" }, { "kind": "Var", - "name": "shopPay", - "printedName": "shopPay", + "name": "rendered", + "printedName": "rendered", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.Wallet.Type) -> ShopifyAcceleratedCheckouts.Wallet", + "printedName": "(ShopifyAcceleratedCheckouts.RenderState.Type) -> ShopifyAcceleratedCheckouts.RenderState", "children": [ { "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "ShopifyAcceleratedCheckouts.Wallet.Type", + "printedName": "ShopifyAcceleratedCheckouts.RenderState.Type", "children": [ { "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" } ] } @@ -2389,112 +2194,107 @@ } ], "declKind": "EnumElement", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO7shopPayyA2CmF", - "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO7shopPayyA2CmF", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO8renderedyA2CmF", + "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO8renderedyA2CmF", "moduleName": "ShopifyAcceleratedCheckouts" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Var", + "name": "error", + "printedName": "error", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.Wallet?", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.RenderState.Type) -> (Swift.String) -> ShopifyAcceleratedCheckouts.RenderState", "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> ShopifyAcceleratedCheckouts.RenderState", + "children": [ + { + "kind": "TypeNominal", + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + }, + { + "kind": "TypeNominal", + "name": "Tuple", + "printedName": "(reason: Swift.String)", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ] + }, { "kind": "TypeNominal", - "name": "Wallet", - "printedName": "ShopifyAcceleratedCheckouts.Wallet", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + "name": "Metatype", + "printedName": "ShopifyAcceleratedCheckouts.RenderState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + } + ] } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + ] } ], - "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8rawValueACSgSS_tcfc", - "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8rawValueACSgSS_tcfc", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "declKind": "EnumElement", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO5erroryACSS_tcACmF", + "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO5erroryACSS_tcACmF", + "moduleName": "ShopifyAcceleratedCheckouts" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", + "kind": "Function", + "name": "__derived_enum_equals", + "printedName": "__derived_enum_equals(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8RawValuea", - "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8RawValuea", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", - "children": [ + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + }, + { + "kind": "TypeNominal", + "name": "RenderState", + "printedName": "ShopifyAcceleratedCheckouts.RenderState", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" } ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8rawValueSSvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8rawValueSSvp", + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO21__derived_enum_equalsySbAC_ACtFZ", + "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO21__derived_enum_equalsySbAC_ACtFZ", "moduleName": "ShopifyAcceleratedCheckouts", + "static": true, "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8rawValueSSvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8rawValueSSvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" } ], "declKind": "Enum", - "usr": "s:27ShopifyAcceleratedCheckouts6WalletO", - "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO", + "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO", + "mangledName": "$s27ShopifyAcceleratedCheckouts11RenderStateO", "moduleName": "ShopifyAcceleratedCheckouts", - "enumRawTypeName": "String", "isEnumExhaustive": true, "conformances": [ { @@ -2504,35 +2304,6 @@ "usr": "s:SQ", "mangledName": "$sSQ" }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", - "children": [ - { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] - } - ], - "usr": "s:SY", - "mangledName": "$sSY" - }, { "kind": "Conformance", "name": "Copyable", @@ -2551,1331 +2322,1366 @@ }, { "kind": "TypeDecl", - "name": "EventHandlers", - "printedName": "EventHandlers", + "name": "ShopifyAcceleratedCheckouts", + "printedName": "ShopifyAcceleratedCheckouts", "children": [ { - "kind": "Var", - "name": "checkoutDidFail", - "printedName": "checkoutDidFail", + "kind": "TypeDecl", + "name": "ApplePayConfiguration", + "printedName": "ApplePayConfiguration", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "kind": "Var", + "name": "merchantIdentifier", + "printedName": "merchantIdentifier", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifierSSvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifierSSvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifierSSvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifierSSvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "contactFields", + "printedName": "contactFields", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "name": "Array", + "printedName": "[ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields]", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" - } - ] + "kind": "TypeNominal", + "name": "RequiredContactFields", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" } ], - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvg", + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV13contactFieldsSayAB015RequiredContactH0OGvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV13contactFieldsSayAB015RequiredContactH0OGvp", "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields]", "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "RequiredContactFields", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" } - ] + ], + "usr": "s:Sa" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV13contactFieldsSayAB015RequiredContactH0OGvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV13contactFieldsSayAB015RequiredContactH0OGvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvs", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFaily0A11CheckoutKit0I5ErrorVcSgvs", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Var", - "name": "checkoutDidDismiss", - "printedName": "checkoutDidDismiss", - "children": [ + ] + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(() -> Swift.Void)?", + "kind": "Var", + "name": "supportedShippingCountries", + "printedName": "supportedShippingCountries", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "() -> Swift.Void", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Set?", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", + "kind": "TypeNominal", + "name": "Set", + "printedName": "Swift.Set", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - }, - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + ], + "usr": "s:Sh" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV26supportedShippingCountriesShySSGSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV26supportedShippingCountriesShySSGSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(() -> Swift.Void)?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "() -> Swift.Void", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Set?", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", + "kind": "TypeNominal", + "name": "Set", + "printedName": "Swift.Set", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] - }, - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + ], + "usr": "s:Sh" } - ] + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV26supportedShippingCountriesShySSGSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV26supportedShippingCountriesShySSGSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvg", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Constructor", + "name": "init", + "printedName": "init(merchantIdentifier:contactFields:supportedShippingCountries:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "ApplePayConfiguration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields]", + "children": [ + { + "kind": "TypeNominal", + "name": "RequiredContactFields", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + } + ], + "usr": "s:Sa" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "(() -> Swift.Void)?", + "printedName": "Swift.Set?", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "() -> Swift.Void", + "kind": "TypeNominal", + "name": "Set", + "printedName": "Swift.Set", "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "usr": "s:Sh" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvs", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV18checkoutDidDismissyycSgvs", + "declKind": "Constructor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifier13contactFields26supportedShippingCountriesADSS_SayAB015RequiredContactJ0OGShySSGSgtcfc", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV18merchantIdentifier13contactFields26supportedShippingCountriesADSS_SayAB015RequiredContactJ0OGShySSGSgtcfc", + "moduleName": "ShopifyAcceleratedCheckouts", + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ApplePayConfiguration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" + }, + { + "kind": "TypeNominal", + "name": "ApplePayConfiguration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV23__derived_struct_equalsySbAD_ADtFZ", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV23__derived_struct_equalsySbAD_ADtFZ", "moduleName": "ShopifyAcceleratedCheckouts", + "static": true, "implicit": true, "declAttributes": [ - "Transparent" + "Implements" ], - "accessorKind": "set" + "funcSelfKind": "NonMutating" } - ] - }, - { - "kind": "Var", - "name": "renderStateDidChange", - "printedName": "renderStateDidChange", - "children": [ + ], + "declKind": "Struct", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV", + "moduleName": "ShopifyAcceleratedCheckouts", + "isFromExtension": true, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - } - ] - } - ], - "usr": "s:Sq" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } - ], - "declKind": "Var", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvp", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "hasStorage": true, - "accessors": [ + ] + }, + { + "kind": "TypeDecl", + "name": "Configuration", + "printedName": "Configuration", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "storefrontDomain", + "printedName": "storefrontDomain", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - } - ] - } - ], - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvg", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvg", + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvp", "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, "declAttributes": [ - "Transparent" + "HasStorage" ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" - } - ] + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvs", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV20renderStateDidChangeyAA06RenderG0OcSgvs", - "moduleName": "ShopifyAcceleratedCheckouts", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "set" - } - ] - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkoutDidFail:checkoutDidDismiss:renderStateDidChange:)", - "children": [ - { - "kind": "TypeNominal", - "name": "EventHandlers", - "printedName": "ShopifyAcceleratedCheckouts.EventHandlers", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.CheckoutError) -> Swift.Void)?", - "children": [ + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { - "kind": "TypeNameAlias", + "kind": "TypeNominal", "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] + "printedName": "()" }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvs", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomainSSvs", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(() -> Swift.Void)?", + "kind": "Var", + "name": "storefrontAccessToken", + "printedName": "storefrontAccessToken", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "() -> Swift.Void", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasStorage" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ { "kind": "TypeNominal", "name": "Void", "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvs", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV21storefrontAccessTokenSSvs", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void)?", + "kind": "Var", + "name": "customer", + "printedName": "customer", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyAcceleratedCheckouts.RenderState) -> Swift.Void", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer?", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", + "kind": "TypeNominal", + "name": "Customer", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer?", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Customer", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" } - ] + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "RenderState", - "printedName": "ShopifyAcceleratedCheckouts.RenderState", - "usr": "s:27ShopifyAcceleratedCheckouts11RenderStateO" + "name": "Optional", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer?", + "children": [ + { + "kind": "TypeNominal", + "name": "Customer", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" + } + ], + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvs", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV8customerAB8CustomerVSgvs", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "set" } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Constructor", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFail0fG7Dismiss011renderStateG6ChangeACy0A11CheckoutKit0M5ErrorVcSg_yycSgyAA06RenderK0OcSgtcfc", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV15checkoutDidFail0fG7Dismiss011renderStateG6ChangeACy0A11CheckoutKit0M5ErrorVcSg_yycSgyAA06RenderK0OcSgtcfc", - "moduleName": "ShopifyAcceleratedCheckouts", - "init_kind": "Designated" - } - ], - "declKind": "Struct", - "usr": "s:27ShopifyAcceleratedCheckouts13EventHandlersV", - "mangledName": "$s27ShopifyAcceleratedCheckouts13EventHandlersV", - "moduleName": "ShopifyAcceleratedCheckouts", - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Bundle", - "printedName": "Bundle", - "children": [ - { - "kind": "Var", - "name": "acceleratedCheckouts", - "printedName": "acceleratedCheckouts", - "children": [ - { - "kind": "TypeNominal", - "name": "Bundle", - "printedName": "Foundation.Bundle", - "usr": "c:objc(cs)NSBundle" - } - ], - "declKind": "Var", - "usr": "s:So8NSBundleC27ShopifyAcceleratedCheckoutsE011acceleratedD0ABvpZ", - "mangledName": "$sSo8NSBundleC27ShopifyAcceleratedCheckoutsE011acceleratedD0ABvpZ", - "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, - "isInternal": true, - "declAttributes": [ - "Final" - ], - "isFromExtension": true, - "accessors": [ + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bundle", - "printedName": "Foundation.Bundle", - "usr": "c:objc(cs)NSBundle" - } - ], - "declKind": "Accessor", - "usr": "s:So8NSBundleC27ShopifyAcceleratedCheckoutsE011acceleratedD0ABvgZ", - "mangledName": "$sSo8NSBundleC27ShopifyAcceleratedCheckoutsE011acceleratedD0ABvgZ", - "moduleName": "ShopifyAcceleratedCheckouts", - "static": true, - "isInternal": true, - "declAttributes": [ - "Final" - ], - "isFromExtension": true, - "accessorKind": "get" - } - ] - } - ], - "declKind": "Class", - "usr": "c:objc(cs)NSBundle", - "moduleName": "Foundation", - "isOpen": true, - "objc_name": "NSBundle", - "declAttributes": [ - "ObjC", - "SynthesizedProtocol", - "NonSendable", - "Sendable", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)NSObject", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "NSObjectProtocol", - "printedName": "NSObjectProtocol", - "usr": "c:objc(pl)NSObject" - }, - { - "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": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "EnvironmentValues", - "printedName": "EnvironmentValues", - "children": [ - { - "kind": "Var", - "name": "shopifyAcceleratedCheckoutsConfiguration", - "printedName": "shopifyAcceleratedCheckoutsConfiguration", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration?", + "kind": "Constructor", + "name": "init", + "printedName": "init(storefrontDomain:storefrontAccessToken:customer:)", "children": [ { "kind": "TypeNominal", "name": "Configuration", "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvp", - "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration?", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer?", "children": [ { "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" + "name": "Customer", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvg", - "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvg", + "declKind": "Constructor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomain0E11AccessToken8customerADSS_SSAB8CustomerVSgtcfc", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV16storefrontDomain0E11AccessToken8customerADSS_SSAB8CustomerVSgtcfc", "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "accessorKind": "get" + "init_kind": "Designated" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration?", - "children": [ - { - "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" - } - ], - "usr": "s:Sq" + "name": "Configuration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" + }, + { + "kind": "TypeNominal", + "name": "Configuration", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Configuration", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV" } ], - "declKind": "Accessor", - "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvs", - "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE07shopifyfG13ConfigurationA2DO0I0VSgvs", + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV23__derived_struct_equalsySbAD_ADtFZ", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV23__derived_struct_equalsySbAD_ADtFZ", "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "accessorKind": "set" + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO13ConfigurationV", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO13ConfigurationV", + "moduleName": "ShopifyAcceleratedCheckouts", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { - "kind": "Var", - "name": "shopifyApplePayConfiguration", - "printedName": "shopifyApplePayConfiguration", + "kind": "TypeDecl", + "name": "Customer", + "printedName": "Customer", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration?", + "kind": "Var", + "name": "email", + "printedName": "email", "children": [ { "kind": "TypeNominal", - "name": "ApplePayConfiguration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], - "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvp", - "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvp", - "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "accessors": [ + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV5emailSSSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV5emailSSSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV5emailSSSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV5emailSSSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Var", + "name": "phoneNumber", + "printedName": "phoneNumber", "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "ApplePayConfiguration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvg", - "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvg", + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV11phoneNumberSSSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV11phoneNumberSSSgvp", "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "accessorKind": "get" + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV11phoneNumberSSSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV11phoneNumberSSSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Var", + "name": "customerAccessToken", + "printedName": "customerAccessToken", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV19customerAccessTokenSSSgvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV19customerAccessTokenSSSgvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "declAttributes": [ + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV19customerAccessTokenSSSgvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV19customerAccessTokenSSSgvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(email:phoneNumber:customerAccessToken:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Customer", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration?", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "ApplePayConfiguration", - "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.ApplePayConfiguration", - "usr": "s:27ShopifyAcceleratedCheckoutsAAO21ApplePayConfigurationV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], + "hasDefaultArg": true, "usr": "s:Sq" } ], - "declKind": "Accessor", - "usr": "s:7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvs", - "mangledName": "$s7SwiftUI17EnvironmentValuesV27ShopifyAcceleratedCheckoutsE28shopifyApplePayConfigurationA2DO0ijK0VSgvs", + "declKind": "Constructor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV5email11phoneNumber19customerAccessTokenADSSSg_A2Htcfc", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV5email11phoneNumber19customerAccessTokenADSSSg_A2Htcfc", "moduleName": "ShopifyAcceleratedCheckouts", - "isFromExtension": true, - "accessorKind": "set" - } - ] - } - ], - "declKind": "Struct", - "usr": "s:7SwiftUI17EnvironmentValuesV", - "mangledName": "$s7SwiftUI17EnvironmentValuesV", - "moduleName": "SwiftUICore", - "intro_Macosx": "10.15", - "intro_iOS": "13.0", - "intro_tvOS": "13.0", - "intro_watchOS": "6.0", - "declAttributes": [ - "OriginallyDefinedIn", - "OriginallyDefinedIn", - "OriginallyDefinedIn", - "OriginallyDefinedIn", - "Available", - "Available", - "Available", - "Available" - ], - "isExternal": true, - "conformances": [ - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PKPaymentAuthorizationController", - "printedName": "PKPaymentAuthorizationController", - "declKind": "Class", - "usr": "c:objc(cs)PKPaymentAuthorizationController", - "moduleName": "PassKit", - "isOpen": true, - "intro_iOS": "10.0", - "objc_name": "PKPaymentAuthorizationController", - "declAttributes": [ - "Available", - "ObjC", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)NSObject", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "NSObjectProtocol", - "printedName": "NSObjectProtocol", - "usr": "c:objc(pl)NSObject" - }, - { - "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": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PKPaymentRequestShippingContactUpdate", - "printedName": "PKPaymentRequestShippingContactUpdate", - "declKind": "Class", - "usr": "c:objc(cs)PKPaymentRequestShippingContactUpdate", - "moduleName": "PassKit", - "isOpen": true, - "intro_iOS": "11.0", - "objc_name": "PKPaymentRequestShippingContactUpdate", - "declAttributes": [ - "Available", - "ObjC", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)PKPaymentRequestUpdate", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "PassKit.PKPaymentRequestUpdate", - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "NSObjectProtocol", - "printedName": "NSObjectProtocol", - "usr": "c:objc(pl)NSObject" - }, - { - "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": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PKPaymentRequestPaymentMethodUpdate", - "printedName": "PKPaymentRequestPaymentMethodUpdate", - "declKind": "Class", - "usr": "c:objc(cs)PKPaymentRequestPaymentMethodUpdate", - "moduleName": "PassKit", - "isOpen": true, - "intro_iOS": "11.0", - "objc_name": "PKPaymentRequestPaymentMethodUpdate", - "declAttributes": [ - "Available", - "ObjC", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)PKPaymentRequestUpdate", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "PassKit.PKPaymentRequestUpdate", - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "NSObjectProtocol", - "printedName": "NSObjectProtocol", - "usr": "c:objc(pl)NSObject" - }, - { - "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": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "PKPaymentAuthorizationResult", - "printedName": "PKPaymentAuthorizationResult", - "declKind": "Class", - "usr": "c:objc(cs)PKPaymentAuthorizationResult", - "moduleName": "PassKit", - "isOpen": true, - "intro_iOS": "11.0", - "objc_name": "PKPaymentAuthorizationResult", - "declAttributes": [ - "Available", - "ObjC", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)NSObject", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "ObjectiveC.NSObject" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "NSObjectProtocol", - "printedName": "NSObjectProtocol", - "usr": "c:objc(pl)NSObject" - }, - { - "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" + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Customer", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" + }, + { + "kind": "TypeNominal", + "name": "Customer", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.Customer", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV" + } + ], + "declKind": "Func", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV23__derived_struct_equalsySbAD_ADtFZ", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV23__derived_struct_equalsySbAD_ADtFZ", + "moduleName": "ShopifyAcceleratedCheckouts", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8CustomerV", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8CustomerV", + "moduleName": "ShopifyAcceleratedCheckouts", + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] }, { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "kind": "TypeDecl", + "name": "RequiredContactFields", + "printedName": "RequiredContactFields", + "children": [ + { + "kind": "Var", + "name": "email", + "printedName": "email", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields.Type) -> ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "children": [ + { + "kind": "TypeNominal", + "name": "RequiredContactFields", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "RequiredContactFields", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO5emailyA2DmF", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO5emailyA2DmF", + "moduleName": "ShopifyAcceleratedCheckouts" + }, + { + "kind": "Var", + "name": "phone", + "printedName": "phone", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields.Type) -> ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "children": [ + { + "kind": "TypeNominal", + "name": "RequiredContactFields", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "RequiredContactFields", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO5phoneyA2DmF", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO5phoneyA2DmF", + "moduleName": "ShopifyAcceleratedCheckouts" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields?", + "children": [ + { + "kind": "TypeNominal", + "name": "RequiredContactFields", + "printedName": "ShopifyAcceleratedCheckouts.ShopifyAcceleratedCheckouts.RequiredContactFields", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueADSgSS_tcfc", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueADSgSS_tcfc", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8RawValuea", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8RawValuea", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "intro_iOS": "16.0", + "declAttributes": [ + "Available" + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueSSvp", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueSSvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueSSvg", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO8rawValueSSvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO21RequiredContactFieldsO", + "moduleName": "ShopifyAcceleratedCheckouts", + "isFromExtension": true, + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] }, { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "kind": "Var", + "name": "logLevel", + "printedName": "logLevel", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvpZ", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvpZ", + "moduleName": "ShopifyAcceleratedCheckouts", + "static": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvgZ", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvgZ", + "moduleName": "ShopifyAcceleratedCheckouts", + "static": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvsZ", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO8logLevel0A11CheckoutKit03LogE0OvsZ", + "moduleName": "ShopifyAcceleratedCheckouts", + "static": true, + "accessorKind": "set" + } + ] } - ] - }, - { - "kind": "TypeDecl", - "name": "PKPaymentRequestShippingMethodUpdate", - "printedName": "PKPaymentRequestShippingMethodUpdate", - "declKind": "Class", - "usr": "c:objc(cs)PKPaymentRequestShippingMethodUpdate", - "moduleName": "PassKit", - "isOpen": true, - "intro_iOS": "11.0", - "objc_name": "PKPaymentRequestShippingMethodUpdate", - "declAttributes": [ - "Available", - "ObjC", - "Dynamic" - ], - "superclassUsr": "c:objc(cs)PKPaymentRequestUpdate", - "isExternal": true, - "inheritsConvenienceInitializers": true, - "superclassNames": [ - "PassKit.PKPaymentRequestUpdate", - "ObjectiveC.NSObject" ], + "declKind": "Enum", + "usr": "s:27ShopifyAcceleratedCheckoutsAAO", + "mangledName": "$s27ShopifyAcceleratedCheckoutsAAO", + "moduleName": "ShopifyAcceleratedCheckouts", + "isEnumExhaustive": true, "conformances": [ { "kind": "Conformance", @@ -3890,13 +3696,192 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Wallet", + "printedName": "Wallet", + "children": [ + { + "kind": "Var", + "name": "applePay", + "printedName": "applePay", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.Wallet.Type) -> ShopifyAcceleratedCheckouts.Wallet", + "children": [ + { + "kind": "TypeNominal", + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyAcceleratedCheckouts.Wallet.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8applePayyA2CmF", + "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8applePayyA2CmF", + "moduleName": "ShopifyAcceleratedCheckouts" }, { - "kind": "Conformance", - "name": "NSObjectProtocol", - "printedName": "NSObjectProtocol", - "usr": "c:objc(pl)NSObject" + "kind": "Var", + "name": "shopPay", + "printedName": "shopPay", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyAcceleratedCheckouts.Wallet.Type) -> ShopifyAcceleratedCheckouts.Wallet", + "children": [ + { + "kind": "TypeNominal", + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyAcceleratedCheckouts.Wallet.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO7shopPayyA2CmF", + "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO7shopPayyA2CmF", + "moduleName": "ShopifyAcceleratedCheckouts" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyAcceleratedCheckouts.Wallet?", + "children": [ + { + "kind": "TypeNominal", + "name": "Wallet", + "printedName": "ShopifyAcceleratedCheckouts.Wallet", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8rawValueACSgSS_tcfc", + "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8rawValueACSgSS_tcfc", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8RawValuea", + "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8RawValuea", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8rawValueSSvp", + "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8rawValueSSvp", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO8rawValueSSvg", + "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO8rawValueSSvg", + "moduleName": "ShopifyAcceleratedCheckouts", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:27ShopifyAcceleratedCheckouts6WalletO", + "mangledName": "$s27ShopifyAcceleratedCheckouts6WalletO", + "moduleName": "ShopifyAcceleratedCheckouts", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { "kind": "Conformance", "name": "Equatable", @@ -3913,28 +3898,43 @@ }, { "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" }, { "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] } ], "json_format_version": 8 } -} \ No newline at end of file +} diff --git a/platforms/swift/api/ShopifyCheckoutKit.json b/platforms/swift/api/ShopifyCheckoutKit.json index 7c3b2c2db..c4ae5bf30 100644 --- a/platforms/swift/api/ShopifyCheckoutKit.json +++ b/platforms/swift/api/ShopifyCheckoutKit.json @@ -138,744 +138,278 @@ "moduleName": "ShopifyCheckoutKit" }, { - "kind": "TypeDecl", - "name": "CheckoutCommunicationProtocol", - "printedName": "CheckoutCommunicationProtocol", + "kind": "Var", + "name": "version", + "printedName": "version", "children": [ { - "kind": "Function", - "name": "process", - "printedName": "process(_:)", + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit7versionSSvp", + "mangledName": "$s18ShopifyCheckoutKit7versionSSvp", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true + }, + { + "kind": "Function", + "name": "configure", + "printedName": "configure(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(inout ShopifyCheckoutKit.Configuration) -> Swift.Void", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Void", + "printedName": "()" } - ], - "usr": "s:Sq" + ] }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Configuration", + "printedName": "ShopifyCheckoutKit.Configuration", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", - "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "typeAttributes": [ + "noescape" + ] } ], - "declKind": "Protocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP", - "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit9configureyyyAA13ConfigurationVzXEF", + "mangledName": "$s18ShopifyCheckoutKit9configureyyyAA13ConfigurationVzXEF", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "invalidate", + "printedName": "invalidate()", + "children": [ { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit10invalidateyyF", + "mangledName": "$s18ShopifyCheckoutKit10invalidateyyF", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Custom" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "preload", + "printedName": "preload(checkout:)", + "children": [ { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.CheckoutPreload?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutPreload", + "printedName": "ShopifyCheckoutKit.CheckoutPreload", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC" + } + ], + "usr": "s:Sq" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } - ] + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit7preload8checkoutAA0B7PreloadCSg10Foundation3URLV_tF", + "mangledName": "$s18ShopifyCheckoutKit7preload8checkoutAA0B7PreloadCSg10Foundation3URLV_tF", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" }, { - "kind": "TypeDecl", - "name": "CheckoutDelegate", - "printedName": "CheckoutDelegate", + "kind": "Function", + "name": "present", + "printedName": "present(checkout:from:delegate:client:)", "children": [ { - "kind": "Function", - "name": "checkoutDidDismiss", - "printedName": "checkoutDidDismiss()", + "kind": "TypeNominal", + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, + { + "kind": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "CheckoutDelegate", + "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Function", - "name": "checkoutDidFail", - "printedName": "checkoutDidFail(error:)", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "CheckoutCommunicationProtocol", + "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Protocol", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP", - "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit7present8checkout4from8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewJ0CAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", + "mangledName": "$s18ShopifyCheckoutKit7present8checkout4from8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewJ0CAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "conformances": [ + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "present", + "printedName": "present(checkout:from:entryPoint:delegate:client:)", + "children": [ { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutErrorCode", - "printedName": "CheckoutErrorCode", - "children": [ - { - "kind": "Var", - "name": "storefrontPasswordRequired", - "printedName": "storefrontPasswordRequired", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "customerAccountRequired", - "printedName": "customerAccountRequired", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "cartExpired", - "printedName": "cartExpired", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "cartCompleted", - "printedName": "cartCompleted", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "invalidCart", - "printedName": "invalidCart", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "httpError", - "printedName": "httpError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "networkError", - "printedName": "networkError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "webContentProcessTerminated", - "printedName": "webContentProcessTerminated", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "sdkError", - "printedName": "sdkError", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Var", - "name": "unknown", - "printedName": "unknown", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" }, { - "kind": "TypeAlias", - "name": "AllCases", - "printedName": "AllCases", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", - "moduleName": "ShopifyCheckoutKit", - "implicit": true + "kind": "TypeNominal", + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", - "moduleName": "ShopifyCheckoutKit", - "implicit": true + "kind": "TypeNominal", + "name": "EntryPoint", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" }, { - "kind": "Var", - "name": "allCases", - "printedName": "allCases", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "usr": "s:Sa" + "name": "CheckoutDelegate", + "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Nonisolated" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "accessorKind": "get" - } - ] + "hasDefaultArg": true, + "usr": "s:Sq" }, { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutCommunicationProtocol", + "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "accessorKind": "get" - } - ] + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO", - "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit7present8checkout4from10entryPoint8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewL0CAA8MetaDataO05EntryH0OAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", + "mangledName": "$s18ShopifyCheckoutKit7present8checkout4from10entryPoint8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewL0CAA8MetaDataO05EntryH0OAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", "moduleName": "ShopifyCheckoutKit", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "isInternal": true, + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "TypeDecl", + "name": "CheckoutCommunicationProtocol", + "printedName": "CheckoutCommunicationProtocol", + "children": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Function", + "name": "process", + "printedName": "process(_:)", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -883,55 +417,45 @@ "printedName": "Swift.String", "usr": "s:SS" } - ] + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", + "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP7processySSSgSSYaF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP", + "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "conformances": [ { "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", - "name": "CaseIterable", - "printedName": "CaseIterable", - "children": [ - { - "kind": "TypeWitness", - "name": "AllCases", - "printedName": "AllCases", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "usr": "s:Sa" - } - ] - } - ], - "usr": "s:s12CaseIterableP", - "mangledName": "$ss12CaseIterableP" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", @@ -946,390 +470,335 @@ "printedName": "SendableMetatype", "usr": "s:s16SendableMetatypeP", "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "CheckoutError", - "printedName": "CheckoutError", + "name": "CheckoutConfigurable", + "printedName": "CheckoutConfigurable", "children": [ { - "kind": "Var", - "name": "code", - "printedName": "code", + "kind": "Function", + "name": "appearance", + "printedName": "appearance(_:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Appearance", + "printedName": "ShopifyCheckoutKit.Configuration.Appearance", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, "declAttributes": [ - "HasStorage" + "Custom" ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "message", - "printedName": "message", + "kind": "Function", + "name": "appearance", + "printedName": "appearance(_:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Appearance", + "printedName": "ShopifyCheckoutKit.Configuration.Appearance", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV7messageSSvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", "declAttributes": [ - "HasStorage" + "DiscardableResult", + "Custom" ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV7messageSSvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "httpStatusCode", - "printedName": "httpStatusCode", + "kind": "Function", + "name": "backgroundColor", + "printedName": "backgroundColor(_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, "declAttributes": [ - "HasStorage" + "Custom" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "backgroundColor", + "printedName": "backgroundColor(_:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } - ] + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE15backgroundColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE15backgroundColoryxSo7UIColorCF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "underlyingError", - "printedName": "underlyingError", + "kind": "Function", + "name": "closeButtonTintColor", + "printedName": "closeButtonTintColor(_:)", "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "(any Swift.Error)?", + "printedName": "UIKit.UIColor?", "children": [ { "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, "declAttributes": [ - "HasStorage" + "Custom" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "closeButtonTintColor", + "printedName": "closeButtonTintColor(_:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "UIKit.UIColor?", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", - "children": [ - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "usr": "s:Sq" + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(code:message:httpStatusCode:underlyingError:)", + "kind": "Function", + "name": "tintColor", + "printedName": "tintColor(_:)", "children": [ { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" - }, - { - "kind": "TypeNominal", - "name": "CheckoutErrorCode", - "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", - "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + "name": "GenericTypeParam", + "printedName": "Self" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "tintColor", + "printedName": "tintColor(_:)", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.Int?", - "children": [ - { - "kind": "TypeNominal", - "name": "Int", - "printedName": "Swift.Int", - "usr": "s:Si" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "GenericTypeParam", + "printedName": "Self" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", - "children": [ - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "UIColor", + "printedName": "UIKit.UIColor", + "usr": "c:objc(cs)UIColor" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", "moduleName": "ShopifyCheckoutKit", - "init_kind": "Designated" + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "errorDescription", - "printedName": "errorDescription", + "kind": "Function", + "name": "title", + "printedName": "title(_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", "moduleName": "ShopifyCheckoutKit", - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvg", - "moduleName": "ShopifyCheckoutKit", - "accessorKind": "get" + "genericSig": "", + "protocolReq": true, + "declAttributes": [ + "Custom" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "title", + "printedName": "title(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "GenericTypeParam", + "printedName": "Self" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "declAttributes": [ + "DiscardableResult", + "Custom" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV", - "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV", + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP", "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Custom" + ], "conformances": [ { "kind": "Conformance", - "name": "LocalizedError", - "printedName": "LocalizedError", - "usr": "s:10Foundation14LocalizedErrorP", - "mangledName": "$s10Foundation14LocalizedErrorP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { "kind": "Conformance", @@ -1337,96 +806,105 @@ "printedName": "Copyable", "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "CheckoutProtocol", - "printedName": "CheckoutProtocol", + "name": "CheckoutDelegate", + "printedName": "CheckoutDelegate", "children": [ { - "kind": "TypeAlias", - "name": "Client", - "printedName": "Client", + "kind": "Function", + "name": "checkoutDidDismiss", + "printedName": "checkoutDidDismiss()", "children": [ { "kind": "TypeNominal", - "name": "Client", - "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + "name": "Void", + "printedName": "()" } ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO6Clienta", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO6Clienta", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP18checkoutDidDismissyyF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "url", - "printedName": "url(for:)", + "name": "checkoutDidFail", + "printedName": "checkoutDidFail(error:)", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP15checkoutDidFail5erroryAA0B5ErrorV_tF", "moduleName": "ShopifyCheckoutKit", - "static": true, + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP", + "mangledName": "$s18ShopifyCheckoutKit0B8DelegateP", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "conformances": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutError", + "printedName": "CheckoutError", + "children": [ { "kind": "Var", - "name": "complete", - "printedName": "complete", + "name": "code", + "printedName": "code", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -1439,30 +917,15 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4codeAA0bD4CodeOvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -1473,37 +936,21 @@ }, { "kind": "Var", - "name": "error", - "printedName": "error", + "name": "message", + "printedName": "message", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyAE18JSONRPCErrorParamsVAE13ErrorResponseVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyAE18JSONRPCErrorParamsVAE13ErrorResponseVGvpZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV7messageSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -1516,30 +963,15 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", - "children": [ - { - "kind": "TypeNominal", - "name": "JSONRPCErrorParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCErrorParams", - "usr": "s:24EmbeddedCheckoutProtocol18JSONRPCErrorParamsV" - }, - { - "kind": "TypeNominal", - "name": "ErrorResponse", - "printedName": "EmbeddedCheckoutProtocol.ErrorResponse", - "usr": "s:24EmbeddedCheckoutProtocol13ErrorResponseV" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyAE18JSONRPCErrorParamsVAE13ErrorResponseVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyAE18JSONRPCErrorParamsVAE13ErrorResponseVGvgZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV7messageSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV7messageSSvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -1550,37 +982,29 @@ }, { "kind": "Var", - "name": "fulfillmentChange", - "printedName": "fulfillmentChange", + "name": "httpStatusCode", + "printedName": "httpStatusCode", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -1593,30 +1017,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV14httpStatusCodeSiSgvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -1627,37 +1044,29 @@ }, { "kind": "Var", - "name": "lineItemsChange", - "printedName": "lineItemsChange", + "name": "underlyingError", + "printedName": "underlyingError", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "(any Swift.Error)?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvp", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -1670,30 +1079,23 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "(any Swift.Error)?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV010underlyingD0s0D0_pSgvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, "declAttributes": [ "Transparent" @@ -1703,42 +1105,89 @@ ] }, { - "kind": "Var", - "name": "messagesChange", - "printedName": "messagesChange", + "kind": "Constructor", + "name": "init", + "printedName": "init(code:message:httpStatusCode:underlyingError:)", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + }, + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", + "children": [ { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV4code7message14httpStatusCode010underlyingD0AcA0bdI0O_SSSiSgs0D0_pSgtcfc", "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" + "init_kind": "Designated" + }, + { + "kind": "Var", + "name": "errorDescription", + "printedName": "errorDescription", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } ], - "isLet": true, - "hasStorage": true, + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvp", + "moduleName": "ShopifyCheckoutKit", "accessors": [ { "kind": "Accessor", @@ -1747,725 +1196,614 @@ "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + "usr": "s:Sq" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV16errorDescriptionSSSgvg", "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], "accessorKind": "get" } ] + } + ], + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV", + "mangledName": "$s18ShopifyCheckoutKit0B5ErrorV", + "moduleName": "ShopifyCheckoutKit", + "conformances": [ + { + "kind": "Conformance", + "name": "LocalizedError", + "printedName": "LocalizedError", + "usr": "s:10Foundation14LocalizedErrorP", + "mangledName": "$s10Foundation14LocalizedErrorP" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutErrorCode", + "printedName": "CheckoutErrorCode", + "children": [ { "kind": "Var", - "name": "start", - "printedName": "start", + "name": "storefrontPasswordRequired", + "printedName": "storefrontPasswordRequired", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO26storefrontPasswordRequiredyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "customerAccountRequired", + "printedName": "customerAccountRequired", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" - } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO23customerAccountRequiredyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "totalsChange", - "printedName": "totalsChange", + "name": "cartExpired", + "printedName": "cartExpired", "children": [ { - "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11cartExpiredyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "cartCompleted", + "printedName": "cartCompleted", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "NotificationDescriptor", - "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", "children": [ { "kind": "TypeNominal", - "name": "JSONRPCCheckoutParams", - "printedName": "EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", - "usr": "s:24EmbeddedCheckoutProtocol21JSONRPCCheckoutParamsV" - }, - { - "kind": "TypeNominal", - "name": "Checkout", - "printedName": "EmbeddedCheckoutProtocol.Checkout", - "usr": "s:24EmbeddedCheckoutProtocol0B0V" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyAE21JSONRPCCheckoutParamsVAE0B0VGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO13cartCompletedyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { "kind": "Var", - "name": "windowOpen", - "printedName": "windowOpen", + "name": "invalidCart", + "printedName": "invalidCart", "children": [ { - "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" }, { "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + ] } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyAE06WindowfH0VAiE0jF6ResultVGvpZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyAE06WindowfH0VAiE0jF6ResultVGvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO11invalidCartyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "httpError", + "printedName": "httpError", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "RequestDescriptor", - "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", "children": [ { "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "WindowOpenRequest", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenRequest", - "usr": "s:24EmbeddedCheckoutProtocol17WindowOpenRequestV" - }, - { - "kind": "TypeNominal", - "name": "WindowOpenResult", - "printedName": "EmbeddedCheckoutProtocol.WindowOpenResult", - "usr": "s:24EmbeddedCheckoutProtocol16WindowOpenResultV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ], - "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyAE06WindowfH0VAiE0jF6ResultVGvgZ", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyAE06WindowfH0VAiE0jF6ResultVGvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - } - ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit0B8ProtocolO", - "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO", - "moduleName": "ShopifyCheckoutKit", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO04httpD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutURL", - "printedName": "CheckoutURL", - "children": [ { "kind": "Var", - "name": "url", - "printedName": "url", + "name": "networkError", + "printedName": "networkError", "children": [ { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvp", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", "children": [ { "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvg", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + ] } - ] + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO07networkD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { - "kind": "Function", - "name": "isMultipassURL", - "printedName": "isMultipassURL()", + "kind": "Var", + "name": "webContentProcessTerminated", + "printedName": "webContentProcessTerminated", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B3URLV011isMultipassD0SbyF", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV011isMultipassD0SbyF", - "moduleName": "ShopifyCheckoutKit", - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO27webContentProcessTerminatedyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { - "kind": "Function", - "name": "isBlank", - "printedName": "isBlank()", + "kind": "Var", + "name": "sdkError", + "printedName": "sdkError", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B3URLV7isBlankSbyF", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV7isBlankSbyF", - "moduleName": "ShopifyCheckoutKit", - "funcSelfKind": "NonMutating" + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO03sdkD0yA2CmF", + "moduleName": "ShopifyCheckoutKit" }, { - "kind": "Function", - "name": "isDeepLink", - "printedName": "isDeepLink()", + "kind": "Var", + "name": "unknown", + "printedName": "unknown", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutErrorCode.Type) -> ShopifyCheckoutKit.CheckoutErrorCode", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B3URLV10isDeepLinkSbyF", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV10isDeepLinkSbyF", - "moduleName": "ShopifyCheckoutKit", - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0B3URLV", - "mangledName": "$s18ShopifyCheckoutKit0B3URLV", - "moduleName": "ShopifyCheckoutKit", - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO7unknownyA2CmF", + "moduleName": "ShopifyCheckoutKit" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutViewController", - "printedName": "CheckoutViewController", - "children": [ { "kind": "Constructor", "name": "init", - "printedName": "init(checkout:delegate:client:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - }, + "printedName": "init(rawValue:)", + "children": [ { "kind": "TypeNominal", "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode?", "children": [ { "kind": "TypeNominal", - "name": "CheckoutDelegate", - "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], - "hasDefaultArg": true, "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6clientAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6clientAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtcfc", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueACSgSS_tcfc", "moduleName": "ShopifyCheckoutKit", + "implicit": true, "declAttributes": [ - "Custom" + "Inlinable" ], "init_kind": "Designated" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:delegate:client:entryPoint:)", + "kind": "TypeAlias", + "name": "AllCases", + "printedName": "AllCases", "children": [ { "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDelegate", - "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint?", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", "children": [ { "kind": "TypeNominal", - "name": "EntryPoint", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:Sa" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6client10entryPointAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgAA8MetaDataO05EntryJ0OSgtcfc", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6client10entryPointAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgAA8MetaDataO05EntryJ0OSgtcfc", + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8AllCasesa", "moduleName": "ShopifyCheckoutKit", - "isInternal": true, - "declAttributes": [ - "Custom" - ], - "init_kind": "Designated" + "implicit": true }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(navigationBarClass:toolbarClass:)", + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8RawValuea", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "Var", + "name": "allCases", + "printedName": "allCases", + "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.AnyClass?", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", "children": [ { - "kind": "TypeNameAlias", - "name": "AnyClass", - "printedName": "Swift.AnyClass", - "children": [ - { - "kind": "TypeNominal", - "name": "ExistentialMetatype", - "printedName": "any Swift.AnyObject.Type", - "children": [ - { - "kind": "TypeNameAlias", - "name": "AnyObject", - "printedName": "Swift.AnyObject", - "children": [ - { - "kind": "TypeNameAlias", - "name": "AnyObject", - "printedName": "Builtin.AnyObject", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "AnyObject" - } - ] - } - ] - } - ] - } - ] + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } ], - "usr": "s:Sq" - }, + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Nonisolated" + ], + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.AnyClass?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeNameAlias", - "name": "AnyClass", - "printedName": "Swift.AnyClass", + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", "children": [ { "kind": "TypeNominal", - "name": "ExistentialMetatype", - "printedName": "any Swift.AnyObject.Type", - "children": [ - { - "kind": "TypeNameAlias", - "name": "AnyObject", - "printedName": "Swift.AnyObject", - "children": [ - { - "kind": "TypeNameAlias", - "name": "AnyObject", - "printedName": "Builtin.AnyObject", - "children": [ - { - "kind": "TypeNominal", - "name": "ProtocolComposition", - "printedName": "AnyObject" - } - ] - } - ] - } - ] + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" } - ] + ], + "usr": "s:Sa" } ], - "usr": "s:Sq" + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8allCasesSayACGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController(im)initWithNavigationBarClass:toolbarClass:", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC18navigationBarClass07toolbarH0ACyXlXpSg_AFtcfc", - "moduleName": "ShopifyCheckoutKit", - "overriding": true, - "implicit": true, - "intro_iOS": "5.0", - "objc_name": "initWithNavigationBarClass:toolbarClass:", - "declAttributes": [ - "Dynamic", - "ObjC", - "Available", - "Override", - "Custom" - ], - "init_kind": "Designated" + ] }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rootViewController:)", + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", "children": [ { "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, - { - "kind": "TypeNominal", - "name": "UIViewController", - "printedName": "UIKit.UIViewController", - "usr": "c:objc(cs)UIViewController" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController(im)initWithRootViewController:", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC04rootdE0ACSo06UIViewE0C_tcfc", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvp", "moduleName": "ShopifyCheckoutKit", - "overriding": true, "implicit": true, - "objc_name": "initWithRootViewController:", - "declAttributes": [ - "Dynamic", - "ObjC", - "Override", - "Custom" - ], - "init_kind": "Designated" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(nibName:bundle:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, + "accessors": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", @@ -2474,91 +1812,119 @@ "usr": "s:SS" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Foundation.Bundle?", - "children": [ - { - "kind": "TypeNominal", - "name": "Bundle", - "printedName": "Foundation.Bundle", - "usr": "c:objc(cs)NSBundle" - } + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvg", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO8rawValueSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Inlinable" ], - "usr": "s:Sq" + "accessorKind": "get" } - ], - "declKind": "Constructor", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController(im)initWithNibName:bundle:", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC7nibName6bundleACSSSg_So8NSBundleCSgtcfc", - "moduleName": "ShopifyCheckoutKit", - "overriding": true, - "implicit": true, - "objc_name": "initWithNibName:bundle:", - "declAttributes": [ - "Dynamic", - "ObjC", - "Override", - "Custom" - ], - "init_kind": "Designated" + ] } ], - "declKind": "Class", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController", - "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC", + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO", + "mangledName": "$s18ShopifyCheckoutKit0B9ErrorCodeO", "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Custom", - "ObjC" - ], - "superclassUsr": "c:objc(cs)UINavigationController", - "hasMissingDesignatedInitializers": true, - "superclassNames": [ - "UIKit.UINavigationController", - "UIKit.UIViewController", - "UIKit.UIResponder", - "ObjectiveC.NSObject" - ], + "enumRawTypeName": "String", + "isEnumExhaustive": true, "conformances": [ { "kind": "Conformance", - "name": "NSCoding", - "printedName": "NSCoding", - "usr": "c:objc(pl)NSCoding" + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" }, { "kind": "Conformance", - "name": "UIAppearanceContainer", - "printedName": "UIAppearanceContainer", - "usr": "c:objc(pl)UIAppearanceContainer" + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" }, { "kind": "Conformance", - "name": "UITraitEnvironment", - "printedName": "UITraitEnvironment", - "usr": "c:objc(pl)UITraitEnvironment" + "name": "RawRepresentable", + "printedName": "RawRepresentable", + "children": [ + { + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + } + ], + "usr": "s:SY", + "mangledName": "$sSY" }, { "kind": "Conformance", - "name": "UIContentContainer", - "printedName": "UIContentContainer", - "usr": "c:objc(pl)UIContentContainer" + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" }, { "kind": "Conformance", - "name": "UIFocusEnvironment", - "printedName": "UIFocusEnvironment", - "usr": "c:objc(pl)UIFocusEnvironment" + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" }, { "kind": "Conformance", - "name": "UIResponderStandardEditActions", - "printedName": "UIResponderStandardEditActions", - "usr": "c:objc(pl)UIResponderStandardEditActions" + "name": "CaseIterable", + "printedName": "CaseIterable", + "children": [ + { + "kind": "TypeWitness", + "name": "AllCases", + "printedName": "AllCases", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.CheckoutErrorCode]", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutErrorCode", + "printedName": "ShopifyCheckoutKit.CheckoutErrorCode", + "usr": "s:18ShopifyCheckoutKit0B9ErrorCodeO" + } + ], + "usr": "s:Sa" + } + ] + } + ], + "usr": "s:s12CaseIterableP", + "mangledName": "$ss12CaseIterableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { "kind": "Conformance", @@ -2573,1075 +1939,1623 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "NSObjectProtocol", - "printedName": "NSObjectProtocol", - "usr": "c:objc(pl)NSObject" - }, - { - "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": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "UIActivityItemsConfigurationProviding", - "printedName": "UIActivityItemsConfigurationProviding", - "usr": "c:objc(pl)UIActivityItemsConfigurationProviding" - }, - { - "kind": "Conformance", - "name": "UIPasteConfigurationSupporting", - "printedName": "UIPasteConfigurationSupporting", - "usr": "c:objc(pl)UIPasteConfigurationSupporting" - }, + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutKitTelemetry", + "printedName": "CheckoutKitTelemetry", + "declKind": "Class", + "usr": "s:20CheckoutKitTelemetryAAC", + "mangledName": "$s20CheckoutKitTelemetryAAC", + "moduleName": "CheckoutKitTelemetry", + "isInternal": true, + "declAttributes": [ + "Final" + ], + "isExternal": true, + "conformances": [ { "kind": "Conformance", - "name": "UIUserActivityRestoring", - "printedName": "UIUserActivityRestoring", - "usr": "c:objc(pl)UIUserActivityRestoring" + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { "kind": "Conformance", - "name": "UITraitChangeObservable", - "printedName": "UITraitChangeObservable", - "usr": "s:5UIKit23UITraitChangeObservableP", - "mangledName": "$s5UIKit23UITraitChangeObservableP" + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" }, { "kind": "Conformance", - "name": "NSExtensionRequestHandling", - "printedName": "NSExtensionRequestHandling", - "usr": "c:objc(pl)NSExtensionRequestHandling" + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { "kind": "Conformance", - "name": "UIStateRestoring", - "printedName": "UIStateRestoring", - "usr": "c:objc(pl)UIStateRestoring" + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckout", + "name": "CheckoutPreload", + "printedName": "CheckoutPreload", "children": [ { - "kind": "TypeAlias", - "name": "UIViewControllerType", - "printedName": "UIViewControllerType", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0aB0V20UIViewControllerTypea", - "mangledName": "$s18ShopifyCheckoutKit0aB0V20UIViewControllerTypea", - "moduleName": "ShopifyCheckoutKit" - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(checkout:)", + "kind": "Var", + "name": "onStateChange", + "printedName": "onStateChange", "children": [ { "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + } + ] + } + ], + "usr": "s:Sq" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit0aB0V8checkoutAC10Foundation3URLV_tcfc", - "mangledName": "$s18ShopifyCheckoutKit0aB0V8checkoutAC10Foundation3URLV_tcfc", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ - "Preconcurrency", + "HasInitialValue", + "Final", + "HasStorage", "Custom" ], - "init_kind": "Designated" - }, - { - "kind": "Function", - "name": "makeUIViewController", - "printedName": "makeUIViewController(context:)", - "children": [ + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + } + ] + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" }, { - "kind": "TypeNameAlias", - "name": "Context", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout.Context", + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", "children": [ { "kind": "TypeNominal", - "name": "UIViewControllerRepresentableContext", - "printedName": "SwiftUI.UIViewControllerRepresentableContext", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", "children": [ { - "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + } + ] } ], - "usr": "s:7SwiftUI36UIViewControllerRepresentableContextV" + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "set" + } + ] + }, + { + "kind": "TypeAlias", + "name": "ObjectWillChangePublisher", + "printedName": "ObjectWillChangePublisher", + "children": [ + { + "kind": "TypeNominal", + "name": "ObservableObjectPublisher", + "printedName": "Combine.ObservableObjectPublisher", + "usr": "s:7Combine25ObservableObjectPublisherC" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V20makeUIViewController7contextAA0b4ViewF0C7SwiftUI0eF20RepresentableContextVyACG_tF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V20makeUIViewController7contextAA0b4ViewF0C7SwiftUI0eF20RepresentableContextVyACG_tF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "funcSelfKind": "NonMutating" + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", + "moduleName": "ShopifyCheckoutKit", + "implicit": true }, { - "kind": "Function", - "name": "updateUIViewController", - "printedName": "updateUIViewController(_:context:)", + "kind": "Var", + "name": "$state", + "printedName": "$state", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, - { - "kind": "TypeNameAlias", - "name": "Context", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout.Context", - "children": [ - { - "kind": "TypeNominal", - "name": "UIViewControllerRepresentableContext", - "printedName": "SwiftUI.UIViewControllerRepresentableContext", - "children": [ - { - "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - } - ], - "usr": "s:7SwiftUI36UIViewControllerRepresentableContextV" - } - ] + "name": "Publisher", + "printedName": "Combine.Published.Publisher", + "usr": "s:7Combine9PublishedV9PublisherV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V22updateUIViewController_7contextyAA0b4ViewF0C_7SwiftUI0eF20RepresentableContextVyACGtF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V22updateUIViewController_7contextyAA0b4ViewF0C_7SwiftUI0eF20RepresentableContextVyACGtF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", "moduleName": "ShopifyCheckoutKit", + "implicit": true, "declAttributes": [ - "Preconcurrency", + "Final", + "SetterAccess", "Custom" ], - "funcSelfKind": "NonMutating" + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Publisher", + "printedName": "Combine.Published.Publisher", + "usr": "s:7Combine9PublishedV9PublisherV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "connect", - "printedName": "connect(_:)", + "kind": "Var", + "name": "state", + "printedName": "state", "children": [ { "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, - { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V7connectyAcA0B21CommunicationProtocol_pF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V7connectyAcA0B21CommunicationProtocol_pF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ - "Preconcurrency", - "DiscardableResult", + "Final", + "ProjectedValueProperty", + "SetterAccess", + "Custom", "Custom" ], - "funcSelfKind": "NonMutating" - }, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Class", + "usr": "s:18ShopifyCheckoutKit0B7PreloadC", + "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Final", + "Custom" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ { - "kind": "Function", - "name": "onDismiss", - "printedName": "onDismiss(_:)", + "kind": "Conformance", + "name": "ObservableObject", + "printedName": "ObservableObject", "children": [ { - "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "() -> Swift.Void", + "kind": "TypeWitness", + "name": "ObjectWillChangePublisher", + "printedName": "ObjectWillChangePublisher", "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "ObservableObjectPublisher", + "printedName": "Combine.ObservableObjectPublisher", + "usr": "s:7Combine25ObservableObjectPublisherC" } ] } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V9onDismissyACyycF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V9onDismissyACyycF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Preconcurrency", - "DiscardableResult", - "Custom" - ], - "funcSelfKind": "NonMutating" + "usr": "s:7Combine16ObservableObjectP", + "mangledName": "$s7Combine16ObservableObjectP" }, { - "kind": "Function", - "name": "onFail", - "printedName": "onFail(_:)", + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutProtocol", + "printedName": "CheckoutProtocol", + "children": [ + { + "kind": "Var", + "name": "complete", + "printedName": "complete", "children": [ { "kind": "TypeNominal", - "name": "ShopifyCheckout", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout", - "usr": "s:18ShopifyCheckoutKit0aB0V" - }, - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" }, { "kind": "TypeNominal", - "name": "CheckoutError", - "printedName": "ShopifyCheckoutKit.CheckoutError", - "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0aB0V6onFailyACyAA0B5ErrorVcF", - "mangledName": "$s18ShopifyCheckoutKit0aB0V6onFailyACyAA0B5ErrorVcF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "declAttributes": [ - "Preconcurrency", - "DiscardableResult", - "Custom" + "HasInitialValue", + "HasStorage" ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "TypeAlias", - "name": "Body", - "printedName": "Body", - "children": [ + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeNominal", - "name": "Never", - "printedName": "Swift.Never", - "usr": "s:s5NeverO" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO8complete08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0aB0V4Bodya", - "mangledName": "$s18ShopifyCheckoutKit0aB0V4Bodya", - "moduleName": "ShopifyCheckoutKit", - "implicit": true + ] }, { - "kind": "TypeAlias", - "name": "Coordinator", - "printedName": "Coordinator", + "kind": "Var", + "name": "error", + "printedName": "error", "children": [ { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, + { + "kind": "TypeNominal", + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0aB0V11Coordinatora", - "mangledName": "$s18ShopifyCheckoutKit0aB0V11Coordinatora", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvpZ", "moduleName": "ShopifyCheckoutKit", - "implicit": true - } - ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit0aB0V", - "mangledName": "$s18ShopifyCheckoutKit0aB0V", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Preconcurrency", - "Custom" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "UIViewControllerRepresentable", - "printedName": "UIViewControllerRepresentable", - "children": [ + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "TypeWitness", - "name": "UIViewControllerType", - "printedName": "UIViewControllerType", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeNameAlias", - "name": "UIViewControllerType", - "printedName": "ShopifyCheckoutKit.ShopifyCheckout.UIViewControllerType", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - } - ] - } - ] - }, - { - "kind": "TypeWitness", - "name": "Coordinator", - "printedName": "Coordinator", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ + "name": "JSONRPCErrorParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCErrorParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO18JSONRPCErrorParamsV" + }, { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "ErrorResponse", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.ErrorResponse", + "usr": "s:24EmbeddedCheckoutProtocolAAO13ErrorResponseV" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } - ] + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5error08EmbeddedbD022NotificationDescriptorVyA2EO18JSONRPCErrorParamsVAH13ErrorResponseVGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" } - ], - "usr": "s:7SwiftUI29UIViewControllerRepresentableP", - "mangledName": "$s7SwiftUI29UIViewControllerRepresentableP" - }, - { - "kind": "Conformance", - "name": "CheckoutConfigurable", - "printedName": "CheckoutConfigurable", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP" + ] }, { - "kind": "Conformance", - "name": "View", - "printedName": "View", + "kind": "Var", + "name": "fulfillmentChange", + "printedName": "fulfillmentChange", "children": [ { - "kind": "TypeWitness", - "name": "Body", - "printedName": "Body", + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", "children": [ { "kind": "TypeNominal", - "name": "Never", - "printedName": "Swift.Never", - "usr": "s:s5NeverO" + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" } - ] + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "usr": "s:7SwiftUI4ViewP", - "mangledName": "$s7SwiftUI4ViewP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO17fulfillmentChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutConfigurable", - "printedName": "CheckoutConfigurable", - "children": [ - { - "kind": "Function", - "name": "backgroundColor", - "printedName": "backgroundColor(_:)", + "kind": "Var", + "name": "lineItemsChange", + "printedName": "lineItemsChange", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP15backgroundColoryxSo7UIColorCF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, + "static": true, "declAttributes": [ - "Custom" + "HasInitialValue", + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO15lineItemsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "appearance", - "printedName": "appearance(_:)", + "kind": "Var", + "name": "messagesChange", + "printedName": "messagesChange", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "Appearance", - "printedName": "ShopifyCheckoutKit.Configuration.Appearance", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP10appearanceyxAA13ConfigurationV10AppearanceOF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, + "static": true, "declAttributes": [ - "Custom" + "HasInitialValue", + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO14messagesChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "tintColor", - "printedName": "tintColor(_:)", + "kind": "Var", + "name": "start", + "printedName": "start", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP9tintColoryxSo7UIColorCF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, + "static": true, "declAttributes": [ - "Custom" + "HasInitialValue", + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO5start08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "title", - "printedName": "title(_:)", + "kind": "Var", + "name": "totalsChange", + "printedName": "totalsChange", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP5titleyxSSF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvpZ", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, + "static": true, "declAttributes": [ - "Custom" + "HasInitialValue", + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "NotificationDescriptor", + "printedName": "EmbeddedCheckoutProtocol.NotificationDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "JSONRPCCheckoutParams", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.JSONRPCCheckoutParams", + "usr": "s:24EmbeddedCheckoutProtocolAAO21JSONRPCCheckoutParamsV" + }, + { + "kind": "TypeNominal", + "name": "Checkout", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Checkout", + "usr": "s:24EmbeddedCheckoutProtocolAAO0B0V" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol22NotificationDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO12totalsChange08EmbeddedbD022NotificationDescriptorVyA2EO21JSONRPCCheckoutParamsVAH0B0VGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { - "kind": "Function", - "name": "closeButtonTintColor", - "printedName": "closeButtonTintColor(_:)", + "kind": "Var", + "name": "windowOpen", + "printedName": "windowOpen", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "UIKit.UIColor?", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", "children": [ { "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" } ], - "usr": "s:Sq" + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP20closeButtonTintColoryxSo7UIColorCSgF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvpZ", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, + "static": true, "declAttributes": [ - "Custom" + "HasInitialValue", + "HasStorage" ], - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RequestDescriptor", + "printedName": "EmbeddedCheckoutProtocol.RequestDescriptor", + "children": [ + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenRequest", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenRequest", + "usr": "s:24EmbeddedCheckoutProtocolAAO17WindowOpenRequestV" + }, + { + "kind": "TypeNominal", + "name": "WindowOpenResult", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.WindowOpenResult", + "usr": "s:24EmbeddedCheckoutProtocolAAO16WindowOpenResultV" + } + ], + "usr": "s:24EmbeddedCheckoutProtocol17RequestDescriptorV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO10windowOpen08EmbeddedbD017RequestDescriptorVyA2EO06WindowfH0VAjH0jF6ResultVGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Function", - "name": "backgroundColor", - "printedName": "backgroundColor(_:)", + "name": "url", + "printedName": "url(for:)", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" }, { "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE15backgroundColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE15backgroundColoryxSo7UIColorCF", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO3url3for10Foundation3URLVAH_tFZ", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "isFromExtension": true, + "static": true, "funcSelfKind": "NonMutating" }, { - "kind": "Function", - "name": "appearance", - "printedName": "appearance(_:)", + "kind": "TypeAlias", + "name": "Client", + "printedName": "Client", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, + "name": "Client", + "printedName": "EmbeddedCheckoutProtocol.EmbeddedCheckoutProtocol.Client", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO6Clienta", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO6Clienta", + "moduleName": "ShopifyCheckoutKit" + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit0B8ProtocolO", + "mangledName": "$s18ShopifyCheckoutKit0B8ProtocolO", + "moduleName": "ShopifyCheckoutKit", + "isEnumExhaustive": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "CheckoutURL", + "printedName": "CheckoutURL", + "children": [ + { + "kind": "Var", + "name": "url", + "printedName": "url", + "children": [ { "kind": "TypeNominal", - "name": "Appearance", - "printedName": "ShopifyCheckoutKit.Configuration.Appearance", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV10AppearanceO" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE10appearanceyxAA13ConfigurationV10AppearanceOF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvp", + "mangledName": "$s18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", "declAttributes": [ - "DiscardableResult", - "Custom" + "HasStorage" ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvg", + "mangledName": "$s18ShopifyCheckoutKit0B3URLV3url10Foundation0D0Vvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] }, { "kind": "Function", - "name": "tintColor", - "printedName": "tintColor(_:)", + "name": "isBlank", + "printedName": "isBlank()", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "UIColor", - "printedName": "UIKit.UIColor", - "usr": "c:objc(cs)UIColor" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE9tintColoryxSo7UIColorCF", + "usr": "s:18ShopifyCheckoutKit0B3URLV7isBlankSbyF", + "mangledName": "$s18ShopifyCheckoutKit0B3URLV7isBlankSbyF", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "isFromExtension": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "title", - "printedName": "title(_:)", + "name": "isDeepLink", + "printedName": "isDeepLink()", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "printedName": "Self" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE5titleyxSSF", + "usr": "s:18ShopifyCheckoutKit0B3URLV10isDeepLinkSbyF", + "mangledName": "$s18ShopifyCheckoutKit0B3URLV10isDeepLinkSbyF", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "isFromExtension": true, "funcSelfKind": "NonMutating" }, { "kind": "Function", - "name": "closeButtonTintColor", - "printedName": "closeButtonTintColor(_:)", + "name": "isMultipassURL", + "printedName": "isMultipassURL()", "children": [ { "kind": "TypeNominal", - "name": "GenericTypeParam", - "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" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurablePAAE20closeButtonTintColoryxSo7UIColorCSgF", + "usr": "s:18ShopifyCheckoutKit0B3URLV011isMultipassD0SbyF", + "mangledName": "$s18ShopifyCheckoutKit0B3URLV011isMultipassD0SbyF", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "isFromExtension": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Protocol", - "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", - "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP", + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0B3URLV", + "mangledName": "$s18ShopifyCheckoutKit0B3URLV", "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Custom" - ], "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, { "kind": "Conformance", "name": "Copyable", "printedName": "Copyable", "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" } ] }, { "kind": "TypeDecl", - "name": "Platform", - "printedName": "Platform", + "name": "CheckoutViewController", + "printedName": "CheckoutViewController", "children": [ { - "kind": "Var", - "name": "identifier", - "printedName": "identifier", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:delegate:client:)", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutDelegate", + "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutCommunicationProtocol", + "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8PlatformV10identifierSSvp", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV10identifierSSvp", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6clientAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6clientAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtcfc", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ - "HasStorage" + "Custom" ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:delegate:client:entryPoint:)", + "children": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" + }, + { + "kind": "TypeNominal", + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "CheckoutDelegate", + "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", + "usr": "s:18ShopifyCheckoutKit0B8DelegateP" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8PlatformV10identifierSSvg", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV10identifierSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutCommunicationProtocol", + "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" + } ], - "accessorKind": "get" + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint?", + "children": [ + { + "kind": "TypeNominal", + "name": "EntryPoint", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } - ] + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6client10entryPointAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgAA8MetaDataO05EntryJ0OSgtcfc", + "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC8checkout8delegate6client10entryPointAC10Foundation3URLV_AA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgAA8MetaDataO05EntryJ0OSgtcfc", + "moduleName": "ShopifyCheckoutKit", + "isInternal": true, + "declAttributes": [ + "Custom" + ], + "init_kind": "Designated" }, { - "kind": "Var", - "name": "version", - "printedName": "version", + "kind": "Constructor", + "name": "init", + "printedName": "init(navigationBarClass:toolbarClass:)", "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" + }, { "kind": "TypeNominal", "name": "Optional", - "printedName": "Swift.String?", + "printedName": "Swift.AnyClass?", "children": [ { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "kind": "TypeNameAlias", + "name": "AnyClass", + "printedName": "Swift.AnyClass", + "children": [ + { + "kind": "TypeNominal", + "name": "ExistentialMetatype", + "printedName": "any Swift.AnyObject.Type", + "children": [ + { + "kind": "TypeNameAlias", + "name": "AnyObject", + "printedName": "Swift.AnyObject", + "children": [ + { + "kind": "TypeNameAlias", + "name": "AnyObject", + "printedName": "Builtin.AnyObject", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "AnyObject" + } + ] + } + ] + } + ] + } + ] } ], "usr": "s:Sq" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8PlatformV7versionSSSgvp", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV7versionSSSgvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.AnyClass?", "children": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeNameAlias", + "name": "AnyClass", + "printedName": "Swift.AnyClass", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "ExistentialMetatype", + "printedName": "any Swift.AnyObject.Type", + "children": [ + { + "kind": "TypeNameAlias", + "name": "AnyObject", + "printedName": "Swift.AnyObject", + "children": [ + { + "kind": "TypeNameAlias", + "name": "AnyObject", + "printedName": "Builtin.AnyObject", + "children": [ + { + "kind": "TypeNominal", + "name": "ProtocolComposition", + "printedName": "AnyObject" + } + ] + } + ] + } + ] } - ], - "usr": "s:Sq" + ] } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8PlatformV7versionSSSgvg", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV7versionSSSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Constructor", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController(im)initWithNavigationBarClass:toolbarClass:", + "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC18navigationBarClass07toolbarH0ACyXlXpSg_AFtcfc", + "moduleName": "ShopifyCheckoutKit", + "overriding": true, + "implicit": true, + "intro_iOS": "5.0", + "objc_name": "initWithNavigationBarClass:toolbarClass:", + "declAttributes": [ + "Dynamic", + "ObjC", + "Available", + "Override", + "Custom" + ], + "init_kind": "Designated" }, { - "kind": "Var", - "name": "reactNative", - "printedName": "reactNative", + "kind": "Constructor", + "name": "init", + "printedName": "init(nibName:bundle:)", "children": [ { "kind": "TypeNominal", - "name": "Platform", - "printedName": "ShopifyCheckoutKit.Platform", - "usr": "s:18ShopifyCheckoutKit8PlatformV" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8PlatformV11reactNativeACvpZ", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV11reactNativeACvpZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" + }, { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", - "name": "Platform", - "printedName": "ShopifyCheckoutKit.Platform", - "usr": "s:18ShopifyCheckoutKit8PlatformV" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8PlatformV11reactNativeACvgZ", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV11reactNativeACvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Transparent" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Function", - "name": "reactNative", - "printedName": "reactNative(version:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Platform", - "printedName": "ShopifyCheckoutKit.Platform", - "usr": "s:18ShopifyCheckoutKit8PlatformV" + "usr": "s:Sq" }, { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Foundation.Bundle?", + "children": [ + { + "kind": "TypeNominal", + "name": "Bundle", + "printedName": "Foundation.Bundle", + "usr": "c:objc(cs)NSBundle" + } + ], + "usr": "s:Sq" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit8PlatformV11reactNative7versionACSS_tFZ", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV11reactNative7versionACSS_tFZ", + "declKind": "Constructor", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController(im)initWithNibName:bundle:", + "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC7nibName6bundleACSSSg_So8NSBundleCSgtcfc", "moduleName": "ShopifyCheckoutKit", - "static": true, - "funcSelfKind": "NonMutating" + "overriding": true, + "implicit": true, + "objc_name": "initWithNibName:bundle:", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override", + "Custom" + ], + "init_kind": "Designated" }, { - "kind": "Function", - "name": "__derived_struct_equals", - "printedName": "__derived_struct_equals(_:_:)", + "kind": "Constructor", + "name": "init", + "printedName": "init(rootViewController:)", "children": [ { "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "Platform", - "printedName": "ShopifyCheckoutKit.Platform", - "usr": "s:18ShopifyCheckoutKit8PlatformV" + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" }, { "kind": "TypeNominal", - "name": "Platform", - "printedName": "ShopifyCheckoutKit.Platform", - "usr": "s:18ShopifyCheckoutKit8PlatformV" + "name": "UIViewController", + "printedName": "UIKit.UIViewController", + "usr": "c:objc(cs)UIViewController" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit8PlatformV23__derived_struct_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV23__derived_struct_equalsySbAC_ACtFZ", + "declKind": "Constructor", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController(im)initWithRootViewController:", + "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC04rootdE0ACSo06UIViewE0C_tcfc", "moduleName": "ShopifyCheckoutKit", - "static": true, + "overriding": true, "implicit": true, + "objc_name": "initWithRootViewController:", "declAttributes": [ - "Implements" + "Dynamic", + "ObjC", + "Override", + "Custom" ], - "funcSelfKind": "NonMutating" + "init_kind": "Designated" } ], - "declKind": "Struct", - "usr": "s:18ShopifyCheckoutKit8PlatformV", - "mangledName": "$s18ShopifyCheckoutKit8PlatformV", + "declKind": "Class", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController", + "mangledName": "$s18ShopifyCheckoutKit0B14ViewControllerC", "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Custom", + "ObjC" + ], + "superclassUsr": "c:objc(cs)UINavigationController", + "hasMissingDesignatedInitializers": true, + "superclassNames": [ + "UIKit.UINavigationController", + "UIKit.UIViewController", + "UIKit.UIResponder", + "ObjectiveC.NSObject" + ], "conformances": [ + { + "kind": "Conformance", + "name": "NSCoding", + "printedName": "NSCoding", + "usr": "c:objc(pl)NSCoding" + }, + { + "kind": "Conformance", + "name": "UIAppearanceContainer", + "printedName": "UIAppearanceContainer", + "usr": "c:objc(pl)UIAppearanceContainer" + }, + { + "kind": "Conformance", + "name": "UITraitEnvironment", + "printedName": "UITraitEnvironment", + "usr": "c:objc(pl)UITraitEnvironment" + }, + { + "kind": "Conformance", + "name": "UIContentContainer", + "printedName": "UIContentContainer", + "usr": "c:objc(pl)UIContentContainer" + }, + { + "kind": "Conformance", + "name": "UIFocusEnvironment", + "printedName": "UIFocusEnvironment", + "usr": "c:objc(pl)UIFocusEnvironment" + }, + { + "kind": "Conformance", + "name": "UIResponderStandardEditActions", + "printedName": "UIResponderStandardEditActions", + "usr": "c:objc(pl)UIResponderStandardEditActions" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "NSObjectProtocol", + "printedName": "NSObjectProtocol", + "usr": "c:objc(pl)NSObject" + }, { "kind": "Conformance", "name": "Equatable", @@ -3649,6 +3563,84 @@ "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": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "UIActivityItemsConfigurationProviding", + "printedName": "UIActivityItemsConfigurationProviding", + "usr": "c:objc(pl)UIActivityItemsConfigurationProviding" + }, + { + "kind": "Conformance", + "name": "UIPasteConfigurationSupporting", + "printedName": "UIPasteConfigurationSupporting", + "usr": "c:objc(pl)UIPasteConfigurationSupporting" + }, + { + "kind": "Conformance", + "name": "UIUserActivityRestoring", + "printedName": "UIUserActivityRestoring", + "usr": "c:objc(pl)UIUserActivityRestoring" + }, + { + "kind": "Conformance", + "name": "UITraitChangeObservable", + "printedName": "UITraitChangeObservable", + "usr": "s:5UIKit23UITraitChangeObservableP", + "mangledName": "$s5UIKit23UITraitChangeObservableP" + }, + { + "kind": "Conformance", + "name": "NSExtensionRequestHandling", + "printedName": "NSExtensionRequestHandling", + "usr": "c:objc(pl)NSExtensionRequestHandling" + }, + { + "kind": "Conformance", + "name": "UIStateRestoring", + "printedName": "UIStateRestoring", + "usr": "c:objc(pl)UIStateRestoring" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Client", + "printedName": "Client", + "declKind": "Struct", + "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV", + "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV", + "moduleName": "EmbeddedCheckoutProtocol", + "isFromExtension": true, + "isExternal": true, + "conformances": [ { "kind": "Conformance", "name": "Sendable", @@ -3676,6 +3668,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "CheckoutCommunicationProtocol", + "printedName": "CheckoutCommunicationProtocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP", + "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP" } ] }, @@ -5750,24 +5749,135 @@ "usr": "s:s8CopyableP", "mangledName": "$ss8CopyableP" }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "LogLevel", - "printedName": "LogLevel", - "children": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "LogLevel", + "printedName": "LogLevel", + "children": [ + { + "kind": "Var", + "name": "debug", + "printedName": "debug", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.LogLevel.Type) -> ShopifyCheckoutKit.LogLevel", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.LogLevel.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit8LogLevelO5debugyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO5debugyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "warn", + "printedName": "warn", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.LogLevel.Type) -> ShopifyCheckoutKit.LogLevel", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.LogLevel.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit8LogLevelO4warnyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO4warnyA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Var", + "name": "error", + "printedName": "error", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.LogLevel.Type) -> ShopifyCheckoutKit.LogLevel", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.LogLevel.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit8LogLevelO5erroryA2CmF", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO5erroryA2CmF", + "moduleName": "ShopifyCheckoutKit" + }, { "kind": "Var", - "name": "debug", - "printedName": "debug", + "name": "none", + "printedName": "none", "children": [ { "kind": "TypeFunc", @@ -5797,67 +5907,250 @@ } ], "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit8LogLevelO5debugyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO5debugyA2CmF", + "usr": "s:18ShopifyCheckoutKit8LogLevelO4noneyA2CmF", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO4noneyA2CmF", "moduleName": "ShopifyCheckoutKit" }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.LogLevel?", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit8LogLevelO8rawValueACSgSS_tcfc", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8rawValueACSgSS_tcfc", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", + "name": "AllCases", + "printedName": "AllCases", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.LogLevel]", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit8LogLevelO8AllCasesa", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8AllCasesa", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, + { + "kind": "TypeAlias", + "name": "RawValue", + "printedName": "RawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit8LogLevelO8RawValuea", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8RawValuea", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, { "kind": "Var", - "name": "warn", - "printedName": "warn", + "name": "allCases", + "printedName": "allCases", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.LogLevel]", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit8LogLevelO8allCasesSayACGvpZ", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8allCasesSayACGvpZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Nonisolated" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.LogLevel]", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "usr": "s:Sa" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8LogLevelO8allCasesSayACGvgZ", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8allCasesSayACGvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit8LogLevelO8rawValueSSvp", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8rawValueSSvp", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8LogLevelO8rawValueSSvg", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8rawValueSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Inlinable" + ], + "accessorKind": "get" + } + ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit8LogLevelO", + "mangledName": "$s18ShopifyCheckoutKit8LogLevelO", + "moduleName": "ShopifyCheckoutKit", + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.LogLevel.Type) -> ShopifyCheckoutKit.LogLevel", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.LogLevel.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - } - ] + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ] } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit8LogLevelO4warnyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO4warnyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "usr": "s:SY", + "mangledName": "$sSY" }, { - "kind": "Var", - "name": "error", - "printedName": "error", + "kind": "Conformance", + "name": "CaseIterable", + "printedName": "CaseIterable", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.LogLevel.Type) -> ShopifyCheckoutKit.LogLevel", + "kind": "TypeWitness", + "name": "AllCases", + "printedName": "AllCases", "children": [ { "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.LogLevel.Type", + "name": "Array", + "printedName": "[ShopifyCheckoutKit.LogLevel]", "children": [ { "kind": "TypeNominal", @@ -5865,71 +6158,79 @@ "printedName": "ShopifyCheckoutKit.LogLevel", "usr": "s:18ShopifyCheckoutKit8LogLevelO" } - ] + ], + "usr": "s:Sa" } ] } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit8LogLevelO5erroryA2CmF", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO5erroryA2CmF", - "moduleName": "ShopifyCheckoutKit" + "usr": "s:s12CaseIterableP", + "mangledName": "$ss12CaseIterableP" }, { - "kind": "Var", - "name": "none", - "printedName": "none", + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Logger", + "printedName": "Logger", + "children": [ + { + "kind": "Function", + "name": "clearLogs", + "printedName": "clearLogs()", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.LogLevel.Type) -> ShopifyCheckoutKit.LogLevel", - "children": [ - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.LogLevel.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - } - ] - } - ] + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit8LogLevelO4noneyA2CmF", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO4noneyA2CmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit6LoggerP9clearLogsyyF", + "mangledName": "$s18ShopifyCheckoutKit6LoggerP9clearLogsyyF", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", + "kind": "Function", + "name": "log", + "printedName": "log(_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.LogLevel?", - "children": [ - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - } - ], - "usr": "s:Sq" + "name": "Void", + "printedName": "()" }, { "kind": "TypeNominal", @@ -5938,89 +6239,81 @@ "usr": "s:SS" } ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit8LogLevelO8rawValueACSgSS_tcfc", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8rawValueACSgSS_tcfc", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit6LoggerP3logyySSF", + "mangledName": "$s18ShopifyCheckoutKit6LoggerP3logyySSF", "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Inlinable" - ], - "init_kind": "Designated" + "genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:18ShopifyCheckoutKit6LoggerP", + "mangledName": "$s18ShopifyCheckoutKit6LoggerP", + "moduleName": "ShopifyCheckoutKit", + "genericSig": "", + "conformances": [ + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "TypeAlias", - "name": "AllCases", - "printedName": "AllCases", - "children": [ - { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.LogLevel]", - "children": [ - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - } - ], - "usr": "s:Sa" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit8LogLevelO8AllCasesa", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8AllCasesa", - "moduleName": "ShopifyCheckoutKit", - "implicit": true + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit8LogLevelO8RawValuea", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8RawValuea", - "moduleName": "ShopifyCheckoutKit", - "implicit": true + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "MetaData", + "printedName": "MetaData", + "children": [ { "kind": "Var", - "name": "allCases", - "printedName": "allCases", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.LogLevel]", - "children": [ - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8LogLevelO8allCasesSayACGvpZ", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8allCasesSayACGvpZ", + "usr": "s:18ShopifyCheckoutKit8MetaDataO7versionSSvpZ", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO7versionSSvpZ", "moduleName": "ShopifyCheckoutKit", "static": true, - "implicit": true, + "isInternal": true, "declAttributes": [ - "Nonisolated" + "HasInitialValue", + "HasStorage" ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -6029,33 +6322,26 @@ "children": [ { "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.LogLevel]", - "children": [ - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - } - ], - "usr": "s:Sa" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8LogLevelO8allCasesSayACGvgZ", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8allCasesSayACGvgZ", + "usr": "s:18ShopifyCheckoutKit8MetaDataO7versionSSvgZ", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO7versionSSvgZ", "moduleName": "ShopifyCheckoutKit", "static": true, "implicit": true, + "isInternal": true, "accessorKind": "get" } ] }, { "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "name": "schemaVersion", + "printedName": "schemaVersion", "children": [ { "kind": "TypeNominal", @@ -6065,10 +6351,17 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8LogLevelO8rawValueSSvp", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8rawValueSSvp", + "usr": "s:18ShopifyCheckoutKit8MetaDataO13schemaVersionSSvpZ", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO13schemaVersionSSvpZ", "moduleName": "ShopifyCheckoutKit", - "implicit": true, + "static": true, + "isInternal": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, "accessors": [ { "kind": "Accessor", @@ -6083,46 +6376,95 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8LogLevelO8rawValueSSvg", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO8rawValueSSvg", + "usr": "s:18ShopifyCheckoutKit8MetaDataO13schemaVersionSSvgZ", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO13schemaVersionSSvgZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "implicit": true, - "declAttributes": [ - "Inlinable" - ], + "isInternal": true, "accessorKind": "get" } ] - } - ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit8LogLevelO", - "mangledName": "$s18ShopifyCheckoutKit8LogLevelO", - "moduleName": "ShopifyCheckoutKit", - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "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": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "TypeDecl", + "name": "EntryPoint", + "printedName": "EntryPoint", "children": [ { - "kind": "TypeWitness", + "kind": "Var", + "name": "acceleratedCheckouts", + "printedName": "acceleratedCheckouts", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.MetaData.EntryPoint.Type) -> ShopifyCheckoutKit.MetaData.EntryPoint", + "children": [ + { + "kind": "TypeNominal", + "name": "EntryPoint", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "EntryPoint", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO20acceleratedCheckoutsyA2EmF", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO20acceleratedCheckoutsyA2EmF", + "moduleName": "ShopifyCheckoutKit", + "isInternal": true + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(rawValue:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint?", + "children": [ + { + "kind": "TypeNominal", + "name": "EntryPoint", + "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueAESgSS_tcfc", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueAESgSS_tcfc", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "isInternal": true, + "init_kind": "Designated" + }, + { + "kind": "TypeAlias", "name": "RawValue", "printedName": "RawValue", "children": [ @@ -6132,42 +6474,138 @@ "printedName": "Swift.String", "usr": "s:SS" } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO8RawValuea", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO8RawValuea", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "isInternal": true + }, + { + "kind": "Var", + "name": "rawValue", + "printedName": "rawValue", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueSSvp", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueSSvp", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "isInternal": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueSSvg", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueSSvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "isInternal": true, + "accessorKind": "get" + } ] } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, - { - "kind": "Conformance", - "name": "CaseIterable", - "printedName": "CaseIterable", - "children": [ + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO", + "moduleName": "ShopifyCheckoutKit", + "isInternal": true, + "enumRawTypeName": "String", + "isEnumExhaustive": true, + "conformances": [ { - "kind": "TypeWitness", - "name": "AllCases", - "printedName": "AllCases", + "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": "RawRepresentable", + "printedName": "RawRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "Array", - "printedName": "[ShopifyCheckoutKit.LogLevel]", + "kind": "TypeWitness", + "name": "RawValue", + "printedName": "RawValue", "children": [ { "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ], - "usr": "s:Sa" + ] } - ] + ], + "usr": "s:SY", + "mangledName": "$sSY" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } - ], - "usr": "s:s12CaseIterableP", - "mangledName": "$ss12CaseIterableP" - }, + ] + } + ], + "declKind": "Enum", + "usr": "s:18ShopifyCheckoutKit8MetaDataO", + "mangledName": "$s18ShopifyCheckoutKit8MetaDataO", + "moduleName": "ShopifyCheckoutKit", + "isInternal": true, + "isEnumExhaustive": true, + "conformances": [ { "kind": "Conformance", "name": "Sendable", @@ -6175,13 +6613,6 @@ "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, { "kind": "Conformance", "name": "Copyable", @@ -6195,158 +6626,119 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } ] }, { "kind": "TypeDecl", - "name": "OSLogger", - "printedName": "OSLogger", + "name": "NoOpLogger", + "printedName": "NoOpLogger", "children": [ { - "kind": "Var", - "name": "logLevel", - "printedName": "logLevel", + "kind": "Function", + "name": "clearLogs", + "printedName": "clearLogs()", "children": [ { "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" + "name": "Void", + "printedName": "()" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovp", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit10NoOpLoggerC9clearLogsyyF", + "mangledName": "$s18ShopifyCheckoutKit10NoOpLoggerC9clearLogsyyF", "moduleName": "ShopifyCheckoutKit", - "isInternal": true, "declAttributes": [ "Final" ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovg", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovg", - "moduleName": "ShopifyCheckoutKit", - "isInternal": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "LogLevel", - "printedName": "ShopifyCheckoutKit.LogLevel", - "usr": "s:18ShopifyCheckoutKit8LogLevelO" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovs", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovs", - "moduleName": "ShopifyCheckoutKit", - "isInternal": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "set" - } - ] + "funcSelfKind": "NonMutating" }, { - "kind": "Var", - "name": "shared", - "printedName": "shared", + "kind": "Function", + "name": "log", + "printedName": "log(_:)", "children": [ { "kind": "TypeNominal", - "name": "OSLogger", - "printedName": "ShopifyCheckoutKit.OSLogger", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC" + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC6sharedACvpZ", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC6sharedACvpZ", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit10NoOpLoggerC3logyySSF", + "mangledName": "$s18ShopifyCheckoutKit10NoOpLoggerC3logyySSF", "moduleName": "ShopifyCheckoutKit", - "static": true, "declAttributes": [ "Final" ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "OSLogger", - "printedName": "ShopifyCheckoutKit.OSLogger", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC6sharedACvgZ", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC6sharedACvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "get" - }, - { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "OSLogger", - "printedName": "ShopifyCheckoutKit.OSLogger", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC6sharedACvsZ", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC6sharedACvsZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "set" - } - ] + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:18ShopifyCheckoutKit10NoOpLoggerC", + "mangledName": "$s18ShopifyCheckoutKit10NoOpLoggerC", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Final" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Logger", + "printedName": "Logger", + "usr": "s:18ShopifyCheckoutKit6LoggerP", + "mangledName": "$s18ShopifyCheckoutKit6LoggerP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, + { + "kind": "TypeDecl", + "name": "OSLogger", + "printedName": "OSLogger", + "children": [ { "kind": "Constructor", "name": "init", @@ -6423,8 +6815,8 @@ }, { "kind": "Function", - "name": "info", - "printedName": "info(_:)", + "name": "error", + "printedName": "error(_:)", "children": [ { "kind": "TypeNominal", @@ -6439,8 +6831,8 @@ } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC4infoyySSF", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC4infoyySSF", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC5erroryySSF", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC5erroryySSF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Final" @@ -6449,8 +6841,8 @@ }, { "kind": "Function", - "name": "warn", - "printedName": "warn(_:)", + "name": "fault", + "printedName": "fault(_:)", "children": [ { "kind": "TypeNominal", @@ -6465,8 +6857,8 @@ } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC4warnyySSF", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC4warnyySSF", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC5faultyySSF", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC5faultyySSF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Final" @@ -6475,8 +6867,8 @@ }, { "kind": "Function", - "name": "error", - "printedName": "error(_:)", + "name": "info", + "printedName": "info(_:)", "children": [ { "kind": "TypeNominal", @@ -6491,8 +6883,8 @@ } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC5erroryySSF", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC5erroryySSF", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC4infoyySSF", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC4infoyySSF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Final" @@ -6501,8 +6893,8 @@ }, { "kind": "Function", - "name": "fault", - "printedName": "fault(_:)", + "name": "warn", + "printedName": "warn(_:)", "children": [ { "kind": "TypeNominal", @@ -6517,210 +6909,168 @@ } ], "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC5faultyySSF", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC5faultyySSF", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC4warnyySSF", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC4warnyySSF", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Final" ], "funcSelfKind": "NonMutating" - } - ], - "declKind": "Class", - "usr": "s:18ShopifyCheckoutKit8OSLoggerC", - "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Final" - ], - "hasMissingDesignatedInitializers": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "Logger", - "printedName": "Logger", - "children": [ - { - "kind": "Function", - "name": "log", - "printedName": "log(_:)", + "kind": "Var", + "name": "logLevel", + "printedName": "logLevel", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit6LoggerP3logyySSF", - "mangledName": "$s18ShopifyCheckoutKit6LoggerP3logyySSF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovp", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovp", "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "clearLogs", - "printedName": "clearLogs()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } + "isInternal": true, + "declAttributes": [ + "Final" ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit6LoggerP9clearLogsyyF", - "mangledName": "$s18ShopifyCheckoutKit6LoggerP9clearLogsyyF", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "protocolReq": true, - "reqNewWitnessTableEntry": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Protocol", - "usr": "s:18ShopifyCheckoutKit6LoggerP", - "mangledName": "$s18ShopifyCheckoutKit6LoggerP", - "moduleName": "ShopifyCheckoutKit", - "genericSig": "", - "conformances": [ - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "TypeDecl", - "name": "NoOpLogger", - "printedName": "NoOpLogger", - "children": [ - { - "kind": "Function", - "name": "log", - "printedName": "log(_:)", - "children": [ + "accessors": [ { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovg", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovg", + "moduleName": "ShopifyCheckoutKit", + "isInternal": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" }, { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit10NoOpLoggerC3logyySSF", - "mangledName": "$s18ShopifyCheckoutKit10NoOpLoggerC3logyySSF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Final" - ], - "funcSelfKind": "NonMutating" + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "LogLevel", + "printedName": "ShopifyCheckoutKit.LogLevel", + "usr": "s:18ShopifyCheckoutKit8LogLevelO" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovs", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC8logLevelAA03LogF0Ovs", + "moduleName": "ShopifyCheckoutKit", + "isInternal": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "set" + } + ] }, { - "kind": "Function", - "name": "clearLogs", - "printedName": "clearLogs()", + "kind": "Var", + "name": "shared", + "printedName": "shared", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "name": "OSLogger", + "printedName": "ShopifyCheckoutKit.OSLogger", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit10NoOpLoggerC9clearLogsyyF", - "mangledName": "$s18ShopifyCheckoutKit10NoOpLoggerC9clearLogsyyF", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC6sharedACvpZ", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC6sharedACvpZ", "moduleName": "ShopifyCheckoutKit", + "static": true, "declAttributes": [ "Final" ], - "funcSelfKind": "NonMutating" + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "OSLogger", + "printedName": "ShopifyCheckoutKit.OSLogger", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC6sharedACvgZ", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC6sharedACvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "OSLogger", + "printedName": "ShopifyCheckoutKit.OSLogger", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC6sharedACvsZ", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC6sharedACvsZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "set" + } + ] } ], "declKind": "Class", - "usr": "s:18ShopifyCheckoutKit10NoOpLoggerC", - "mangledName": "$s18ShopifyCheckoutKit10NoOpLoggerC", + "usr": "s:18ShopifyCheckoutKit8OSLoggerC", + "mangledName": "$s18ShopifyCheckoutKit8OSLoggerC", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ "Final" ], "hasMissingDesignatedInitializers": true, "conformances": [ - { - "kind": "Conformance", - "name": "Logger", - "printedName": "Logger", - "usr": "s:18ShopifyCheckoutKit6LoggerP", - "mangledName": "$s18ShopifyCheckoutKit6LoggerP" - }, { "kind": "Conformance", "name": "Sendable", @@ -6753,13 +7103,13 @@ }, { "kind": "TypeDecl", - "name": "MetaData", - "printedName": "MetaData", + "name": "Platform", + "printedName": "Platform", "children": [ { "kind": "Var", - "name": "version", - "printedName": "version", + "name": "identifier", + "printedName": "identifier", "children": [ { "kind": "TypeNominal", @@ -6769,13 +7119,10 @@ } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8MetaDataO7versionSSvpZ", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO7versionSSvpZ", + "usr": "s:18ShopifyCheckoutKit8PlatformV10identifierSSvp", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV10identifierSSvp", "moduleName": "ShopifyCheckoutKit", - "static": true, - "isInternal": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, @@ -6794,183 +7141,56 @@ } ], "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8MetaDataO7versionSSvgZ", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO7versionSSvgZ", + "usr": "s:18ShopifyCheckoutKit8PlatformV10identifierSSvg", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV10identifierSSvg", "moduleName": "ShopifyCheckoutKit", - "static": true, "implicit": true, - "isInternal": true, + "declAttributes": [ + "Transparent" + ], "accessorKind": "get" } ] }, { "kind": "Var", - "name": "schemaVersion", - "printedName": "schemaVersion", + "name": "version", + "printedName": "version", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" } ], "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8MetaDataO13schemaVersionSSvpZ", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO13schemaVersionSSvpZ", + "usr": "s:18ShopifyCheckoutKit8PlatformV7versionSSSgvp", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV7versionSSSgvp", "moduleName": "ShopifyCheckoutKit", - "static": true, - "isInternal": true, "declAttributes": [ - "HasInitialValue", "HasStorage" ], "isLet": true, "hasStorage": true, "accessors": [ { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8MetaDataO13schemaVersionSSvgZ", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO13schemaVersionSSvgZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "isInternal": true, - "accessorKind": "get" - } - ] - }, - { - "kind": "TypeDecl", - "name": "EntryPoint", - "printedName": "EntryPoint", - "children": [ - { - "kind": "Var", - "name": "acceleratedCheckouts", - "printedName": "acceleratedCheckouts", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.MetaData.EntryPoint.Type) -> ShopifyCheckoutKit.MetaData.EntryPoint", - "children": [ - { - "kind": "TypeNominal", - "name": "EntryPoint", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "EntryPoint", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO20acceleratedCheckoutsyA2EmF", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO20acceleratedCheckoutsyA2EmF", - "moduleName": "ShopifyCheckoutKit", - "isInternal": true - }, - { - "kind": "Constructor", - "name": "init", - "printedName": "init(rawValue:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint?", - "children": [ - { - "kind": "TypeNominal", - "name": "EntryPoint", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" - } - ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Constructor", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueAESgSS_tcfc", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueAESgSS_tcfc", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "isInternal": true, - "init_kind": "Designated" - }, - { - "kind": "TypeAlias", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO8RawValuea", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO8RawValuea", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "isInternal": true - }, - { - "kind": "Var", - "name": "rawValue", - "printedName": "rawValue", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueSSvp", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueSSvp", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "isInternal": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "name": "Optional", + "printedName": "Swift.String?", "children": [ { "kind": "TypeNominal", @@ -6979,99 +7199,143 @@ "usr": "s:SS" } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueSSvg", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO8rawValueSSvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "isInternal": true, - "accessorKind": "get" + "usr": "s:Sq" } - ] + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8PlatformV7versionSSSgvg", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV7versionSSSgvg", + "moduleName": "ShopifyCheckoutKit", + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "reactNative", + "printedName": "reactNative", + "children": [ + { + "kind": "TypeNominal", + "name": "Platform", + "printedName": "ShopifyCheckoutKit.Platform", + "usr": "s:18ShopifyCheckoutKit8PlatformV" } ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO10EntryPointO", + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit8PlatformV11reactNativeACvpZ", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV11reactNativeACvpZ", "moduleName": "ShopifyCheckoutKit", - "isInternal": true, - "enumRawTypeName": "String", - "isEnumExhaustive": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - }, - { - "kind": "Conformance", - "name": "Hashable", - "printedName": "Hashable", - "usr": "s:SH", - "mangledName": "$sSH" - }, + "static": true, + "declAttributes": [ + "HasInitialValue", + "HasStorage" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ { - "kind": "Conformance", - "name": "RawRepresentable", - "printedName": "RawRepresentable", + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", "children": [ { - "kind": "TypeWitness", - "name": "RawValue", - "printedName": "RawValue", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ] + "kind": "TypeNominal", + "name": "Platform", + "printedName": "ShopifyCheckoutKit.Platform", + "usr": "s:18ShopifyCheckoutKit8PlatformV" } ], - "usr": "s:SY", - "mangledName": "$sSY" - }, + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit8PlatformV11reactNativeACvgZ", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV11reactNativeACvgZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Transparent" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "__derived_struct_equals", + "printedName": "__derived_struct_equals(_:_:)", + "children": [ { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "TypeNominal", + "name": "Platform", + "printedName": "ShopifyCheckoutKit.Platform", + "usr": "s:18ShopifyCheckoutKit8PlatformV" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "TypeNominal", + "name": "Platform", + "printedName": "ShopifyCheckoutKit.Platform", + "usr": "s:18ShopifyCheckoutKit8PlatformV" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit8PlatformV23__derived_struct_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV23__derived_struct_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "reactNative", + "printedName": "reactNative(version:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Platform", + "printedName": "ShopifyCheckoutKit.Platform", + "usr": "s:18ShopifyCheckoutKit8PlatformV" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" } - ] + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit8PlatformV11reactNative7versionACSS_tFZ", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV11reactNative7versionACSS_tFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "funcSelfKind": "NonMutating" } ], - "declKind": "Enum", - "usr": "s:18ShopifyCheckoutKit8MetaDataO", - "mangledName": "$s18ShopifyCheckoutKit8MetaDataO", + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit8PlatformV", + "mangledName": "$s18ShopifyCheckoutKit8PlatformV", "moduleName": "ShopifyCheckoutKit", - "isInternal": true, - "isEnumExhaustive": true, "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, { "kind": "Conformance", "name": "Sendable", @@ -7079,6 +7343,13 @@ "usr": "s:s8SendableP", "mangledName": "$ss8SendableP" }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, { "kind": "Conformance", "name": "Copyable", @@ -7092,13 +7363,6 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" } ] }, @@ -7313,10 +7577,45 @@ ] } ], - "declKind": "EnumElement", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO6failedyA2C13FailureReasonO_SStcACmF", - "mangledName": "$s18ShopifyCheckoutKit12PreloadStateO6failedyA2C13FailureReasonO_SStcACmF", - "moduleName": "ShopifyCheckoutKit" + "declKind": "EnumElement", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO6failedyA2C13FailureReasonO_SStcACmF", + "mangledName": "$s18ShopifyCheckoutKit12PreloadStateO6failedyA2C13FailureReasonO_SStcACmF", + "moduleName": "ShopifyCheckoutKit" + }, + { + "kind": "Function", + "name": "__derived_enum_equals", + "printedName": "__derived_enum_equals(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + }, + { + "kind": "TypeNominal", + "name": "PreloadState", + "printedName": "ShopifyCheckoutKit.PreloadState", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO" + } + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit12PreloadStateO21__derived_enum_equalsySbAC_ACtFZ", + "mangledName": "$s18ShopifyCheckoutKit12PreloadStateO21__derived_enum_equalsySbAC_ACtFZ", + "moduleName": "ShopifyCheckoutKit", + "static": true, + "implicit": true, + "declAttributes": [ + "Implements" + ], + "funcSelfKind": "NonMutating" }, { "kind": "TypeDecl", @@ -7555,41 +7854,6 @@ "mangledName": "$ss9EscapableP" } ] - }, - { - "kind": "Function", - "name": "__derived_enum_equals", - "printedName": "__derived_enum_equals(_:_:)", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" - }, - { - "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO21__derived_enum_equalsySbAC_ACtFZ", - "mangledName": "$s18ShopifyCheckoutKit12PreloadStateO21__derived_enum_equalsySbAC_ACtFZ", - "moduleName": "ShopifyCheckoutKit", - "static": true, - "implicit": true, - "declAttributes": [ - "Implements" - ], - "funcSelfKind": "NonMutating" } ], "declKind": "Enum", @@ -7623,403 +7887,208 @@ }, { "kind": "TypeDecl", - "name": "CheckoutPreload", - "printedName": "CheckoutPreload", + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckout", "children": [ { - "kind": "Var", - "name": "state", - "printedName": "state", + "kind": "Constructor", + "name": "init", + "printedName": "init(checkout:)", "children": [ { "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Final", - "ProjectedValueProperty", - "SetterAccess", - "Custom", - "Custom" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC5stateAA0D5StateOvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "get" - } - ] - }, - { - "kind": "Var", - "name": "$state", - "printedName": "$state", - "children": [ + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + }, { "kind": "TypeNominal", - "name": "Publisher", - "printedName": "Combine.Published.Publisher", - "usr": "s:7Combine9PublishedV9PublisherV" + "name": "URL", + "printedName": "Foundation.URL", + "usr": "s:10Foundation3URLV" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvp", + "declKind": "Constructor", + "usr": "s:18ShopifyCheckoutKit0aB0V8checkoutAC10Foundation3URLV_tcfc", + "mangledName": "$s18ShopifyCheckoutKit0aB0V8checkoutAC10Foundation3URLV_tcfc", "moduleName": "ShopifyCheckoutKit", - "implicit": true, "declAttributes": [ - "Final", - "SetterAccess", + "Preconcurrency", "Custom" ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Publisher", - "printedName": "Combine.Published.Publisher", - "usr": "s:7Combine9PublishedV9PublisherV" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC6$state7Combine9PublishedV9PublisherVyAA0D5StateO_Gvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "get" - } - ] + "init_kind": "Designated" }, { - "kind": "Var", - "name": "onStateChange", - "printedName": "onStateChange", + "kind": "Function", + "name": "connect", + "printedName": "connect(_:)", "children": [ { "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" - } - ] - } - ], - "usr": "s:Sq" + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + }, + { + "kind": "TypeNominal", + "name": "CheckoutCommunicationProtocol", + "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", + "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" } ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvp", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V7connectyAcA0B21CommunicationProtocol_pF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V7connectyAcA0B21CommunicationProtocol_pF", "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasInitialValue", - "Final", - "HasStorage", - "Custom" - ], - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" - } - ] - } - ], - "usr": "s:Sq" - } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvg", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "get" + "declAttributes": [ + "Preconcurrency", + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "makeUIViewController", + "printedName": "makeUIViewController(context:)", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "TypeNameAlias", + "name": "Context", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout.Context", "children": [ { "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "((ShopifyCheckoutKit.PreloadState) -> Swift.Void)?", + "name": "UIViewControllerRepresentableContext", + "printedName": "SwiftUI.UIViewControllerRepresentableContext", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(ShopifyCheckoutKit.PreloadState) -> Swift.Void", - "children": [ - { - "kind": "TypeNameAlias", - "name": "Void", - "printedName": "Swift.Void", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" - } - ] - }, - { - "kind": "TypeNominal", - "name": "PreloadState", - "printedName": "ShopifyCheckoutKit.PreloadState", - "usr": "s:18ShopifyCheckoutKit12PreloadStateO" - } - ] + "kind": "TypeNominal", + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" } ], - "usr": "s:Sq" + "usr": "s:7SwiftUI36UIViewControllerRepresentableContextV" } - ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC13onStateChangeyAA0dF0OcSgvs", - "moduleName": "ShopifyCheckoutKit", - "implicit": true, - "declAttributes": [ - "Final" - ], - "accessorKind": "set" + ] } - ] + ], + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V20makeUIViewController7contextAA0b4ViewF0C7SwiftUI0eF20RepresentableContextVyACG_tF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V20makeUIViewController7contextAA0b4ViewF0C7SwiftUI0eF20RepresentableContextVyACG_tF", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "funcSelfKind": "NonMutating" }, { - "kind": "TypeAlias", - "name": "ObjectWillChangePublisher", - "printedName": "ObjectWillChangePublisher", + "kind": "Function", + "name": "onDismiss", + "printedName": "onDismiss(_:)", "children": [ { "kind": "TypeNominal", - "name": "ObservableObjectPublisher", - "printedName": "Combine.ObservableObjectPublisher", - "usr": "s:7Combine25ObservableObjectPublisherC" - } - ], - "declKind": "TypeAlias", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC25ObjectWillChangePublishera", - "moduleName": "ShopifyCheckoutKit", - "implicit": true - } - ], - "declKind": "Class", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC", - "mangledName": "$s18ShopifyCheckoutKit0B7PreloadC", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "Final", - "Custom" - ], - "hasMissingDesignatedInitializers": true, - "conformances": [ - { - "kind": "Conformance", - "name": "ObservableObject", - "printedName": "ObservableObject", - "children": [ + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + }, { - "kind": "TypeWitness", - "name": "ObjectWillChangePublisher", - "printedName": "ObjectWillChangePublisher", + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> Swift.Void", "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, { "kind": "TypeNominal", - "name": "ObservableObjectPublisher", - "printedName": "Combine.ObservableObjectPublisher", - "usr": "s:7Combine25ObservableObjectPublisherC" + "name": "Void", + "printedName": "()" } ] } ], - "usr": "s:7Combine16ObservableObjectP", - "mangledName": "$s7Combine16ObservableObjectP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V9onDismissyACyycF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V9onDismissyACyycF", + "moduleName": "ShopifyCheckoutKit", + "declAttributes": [ + "Preconcurrency", + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" }, { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - } - ] - }, - { - "kind": "Var", - "name": "version", - "printedName": "version", - "children": [ - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit7versionSSvp", - "mangledName": "$s18ShopifyCheckoutKit7versionSSvp", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "HasInitialValue", - "HasStorage" - ], - "isLet": true, - "hasStorage": true - }, - { - "kind": "Var", - "name": "configuration", - "printedName": "configuration", - "children": [ - { - "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyCheckoutKit.Configuration", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV" - } - ], - "declKind": "Var", - "usr": "s:18ShopifyCheckoutKit13configurationAA13ConfigurationVvp", - "mangledName": "$s18ShopifyCheckoutKit13configurationAA13ConfigurationVvp", - "moduleName": "ShopifyCheckoutKit", - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", + "kind": "Function", + "name": "onFail", + "printedName": "onFail(_:)", "children": [ { "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyCheckoutKit.Configuration", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV" + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(ShopifyCheckoutKit.CheckoutError) -> Swift.Void", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + }, + { + "kind": "TypeNominal", + "name": "CheckoutError", + "printedName": "ShopifyCheckoutKit.CheckoutError", + "usr": "s:18ShopifyCheckoutKit0B5ErrorV" + } + ] } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit13configurationAA13ConfigurationVvg", - "mangledName": "$s18ShopifyCheckoutKit13configurationAA13ConfigurationVvg", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V6onFailyACyAA0B5ErrorVcF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V6onFailyACyAA0B5ErrorVcF", "moduleName": "ShopifyCheckoutKit", - "accessorKind": "get" + "declAttributes": [ + "Preconcurrency", + "DiscardableResult", + "Custom" + ], + "funcSelfKind": "NonMutating" }, { - "kind": "Accessor", - "name": "Set", - "printedName": "Set()", + "kind": "Function", + "name": "updateUIViewController", + "printedName": "updateUIViewController(_:context:)", "children": [ { "kind": "TypeNominal", @@ -8028,33 +8097,64 @@ }, { "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyCheckoutKit.Configuration", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV" + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" + }, + { + "kind": "TypeNameAlias", + "name": "Context", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout.Context", + "children": [ + { + "kind": "TypeNominal", + "name": "UIViewControllerRepresentableContext", + "printedName": "SwiftUI.UIViewControllerRepresentableContext", + "children": [ + { + "kind": "TypeNominal", + "name": "ShopifyCheckout", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout", + "usr": "s:18ShopifyCheckoutKit0aB0V" + } + ], + "usr": "s:7SwiftUI36UIViewControllerRepresentableContextV" + } + ] } ], - "declKind": "Accessor", - "usr": "s:18ShopifyCheckoutKit13configurationAA13ConfigurationVvs", - "mangledName": "$s18ShopifyCheckoutKit13configurationAA13ConfigurationVvs", + "declKind": "Func", + "usr": "s:18ShopifyCheckoutKit0aB0V22updateUIViewController_7contextyAA0b4ViewF0C_7SwiftUI0eF20RepresentableContextVyACGtF", + "mangledName": "$s18ShopifyCheckoutKit0aB0V22updateUIViewController_7contextyAA0b4ViewF0C_7SwiftUI0eF20RepresentableContextVyACGtF", "moduleName": "ShopifyCheckoutKit", - "accessorKind": "set" - } - ] - }, - { - "kind": "Function", - "name": "configure", - "printedName": "configure(_:)", - "children": [ + "declAttributes": [ + "Preconcurrency", + "Custom" + ], + "funcSelfKind": "NonMutating" + }, { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "kind": "TypeAlias", + "name": "Body", + "printedName": "Body", + "children": [ + { + "kind": "TypeNominal", + "name": "Never", + "printedName": "Swift.Never", + "usr": "s:s5NeverO" + } + ], + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0aB0V4Bodya", + "mangledName": "$s18ShopifyCheckoutKit0aB0V4Bodya", + "moduleName": "ShopifyCheckoutKit", + "implicit": true }, { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(inout ShopifyCheckoutKit.Configuration) -> Swift.Void", + "kind": "TypeAlias", + "name": "Coordinator", + "printedName": "Coordinator", "children": [ { "kind": "TypeNameAlias", @@ -8067,215 +8167,147 @@ "printedName": "()" } ] - }, - { - "kind": "TypeNominal", - "name": "Configuration", - "printedName": "ShopifyCheckoutKit.Configuration", - "usr": "s:18ShopifyCheckoutKit13ConfigurationV" } ], - "typeAttributes": [ - "noescape" - ] - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit9configureyyyAA13ConfigurationVzXEF", - "mangledName": "$s18ShopifyCheckoutKit9configureyyyAA13ConfigurationVzXEF", - "moduleName": "ShopifyCheckoutKit", - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "preload", - "printedName": "preload(checkout:)", - "children": [ + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0aB0V11Coordinatora", + "mangledName": "$s18ShopifyCheckoutKit0aB0V11Coordinatora", + "moduleName": "ShopifyCheckoutKit", + "implicit": true + }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "ShopifyCheckoutKit.CheckoutPreload?", + "kind": "TypeAlias", + "name": "UIViewControllerType", + "printedName": "UIViewControllerType", "children": [ { "kind": "TypeNominal", - "name": "CheckoutPreload", - "printedName": "ShopifyCheckoutKit.CheckoutPreload", - "usr": "s:18ShopifyCheckoutKit0B7PreloadC" + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" } ], - "usr": "s:Sq" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit7preload8checkoutAA0B7PreloadCSg10Foundation3URLV_tF", - "mangledName": "$s18ShopifyCheckoutKit7preload8checkoutAA0B7PreloadCSg10Foundation3URLV_tF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "invalidate", - "printedName": "invalidate()", - "children": [ - { - "kind": "TypeNominal", - "name": "Void", - "printedName": "()" + "declKind": "TypeAlias", + "usr": "s:18ShopifyCheckoutKit0aB0V20UIViewControllerTypea", + "mangledName": "$s18ShopifyCheckoutKit0aB0V20UIViewControllerTypea", + "moduleName": "ShopifyCheckoutKit" } ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit10invalidateyyF", - "mangledName": "$s18ShopifyCheckoutKit10invalidateyyF", + "declKind": "Struct", + "usr": "s:18ShopifyCheckoutKit0aB0V", + "mangledName": "$s18ShopifyCheckoutKit0aB0V", "moduleName": "ShopifyCheckoutKit", "declAttributes": [ + "Preconcurrency", "Custom" ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "present", - "printedName": "present(checkout:from:delegate:client:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" - }, - { - "kind": "TypeNominal", - "name": "UIViewController", - "printedName": "UIKit.UIViewController", - "usr": "c:objc(cs)UIViewController" - }, + "conformances": [ { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", + "kind": "Conformance", + "name": "UIViewControllerRepresentable", + "printedName": "UIViewControllerRepresentable", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutDelegate", - "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP" + "kind": "TypeWitness", + "name": "UIViewControllerType", + "printedName": "UIViewControllerType", + "children": [ + { + "kind": "TypeNameAlias", + "name": "UIViewControllerType", + "printedName": "ShopifyCheckoutKit.ShopifyCheckout.UIViewControllerType", + "children": [ + { + "kind": "TypeNominal", + "name": "CheckoutViewController", + "printedName": "ShopifyCheckoutKit.CheckoutViewController", + "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" + } + ] + } + ] + }, + { + "kind": "TypeWitness", + "name": "Coordinator", + "printedName": "Coordinator", + "children": [ + { + "kind": "TypeNameAlias", + "name": "Void", + "printedName": "Swift.Void", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" + "usr": "s:7SwiftUI29UIViewControllerRepresentableP", + "mangledName": "$s7SwiftUI29UIViewControllerRepresentableP" + }, + { + "kind": "Conformance", + "name": "CheckoutConfigurable", + "printedName": "CheckoutConfigurable", + "usr": "s:18ShopifyCheckoutKit0B12ConfigurableP", + "mangledName": "$s18ShopifyCheckoutKit0B12ConfigurableP" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", + "kind": "Conformance", + "name": "View", + "printedName": "View", "children": [ { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" + "kind": "TypeWitness", + "name": "Body", + "printedName": "Body", + "children": [ + { + "kind": "TypeNominal", + "name": "Never", + "printedName": "Swift.Never", + "usr": "s:s5NeverO" + } + ] } ], - "hasDefaultArg": true, - "usr": "s:Sq" - } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit7present8checkout4from8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewJ0CAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", - "mangledName": "$s18ShopifyCheckoutKit7present8checkout4from8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewJ0CAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", - "moduleName": "ShopifyCheckoutKit", - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "funcSelfKind": "NonMutating" - }, - { - "kind": "Function", - "name": "present", - "printedName": "present(checkout:from:entryPoint:delegate:client:)", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutViewController", - "printedName": "ShopifyCheckoutKit.CheckoutViewController", - "usr": "c:@M@ShopifyCheckoutKit@objc(cs)CheckoutViewController" - }, - { - "kind": "TypeNominal", - "name": "URL", - "printedName": "Foundation.URL", - "usr": "s:10Foundation3URLV" + "usr": "s:7SwiftUI4ViewP", + "mangledName": "$s7SwiftUI4ViewP" }, { - "kind": "TypeNominal", - "name": "UIViewController", - "printedName": "UIKit.UIViewController", - "usr": "c:objc(cs)UIViewController" + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" }, { - "kind": "TypeNominal", - "name": "EntryPoint", - "printedName": "ShopifyCheckoutKit.MetaData.EntryPoint", - "usr": "s:18ShopifyCheckoutKit8MetaDataO10EntryPointO" + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutDelegate)?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutDelegate", - "printedName": "any ShopifyCheckoutKit.CheckoutDelegate", - "usr": "s:18ShopifyCheckoutKit0B8DelegateP" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any ShopifyCheckoutKit.CheckoutCommunicationProtocol)?", - "children": [ - { - "kind": "TypeNominal", - "name": "CheckoutCommunicationProtocol", - "printedName": "any ShopifyCheckoutKit.CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP" - } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" } - ], - "declKind": "Func", - "usr": "s:18ShopifyCheckoutKit7present8checkout4from10entryPoint8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewL0CAA8MetaDataO05EntryH0OAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", - "mangledName": "$s18ShopifyCheckoutKit7present8checkout4from10entryPoint8delegate6clientAA0B14ViewControllerC10Foundation3URLV_So06UIViewL0CAA8MetaDataO05EntryH0OAA0B8Delegate_pSgAA0B21CommunicationProtocol_pSgtF", - "moduleName": "ShopifyCheckoutKit", - "isInternal": true, - "declAttributes": [ - "DiscardableResult", - "Custom" - ], - "funcSelfKind": "NonMutating" + ] }, { "kind": "TypeDecl", @@ -8463,98 +8495,66 @@ ] }, { - "kind": "TypeDecl", - "name": "Client", - "printedName": "Client", - "declKind": "Struct", - "usr": "s:24EmbeddedCheckoutProtocolAAO6ClientV", - "mangledName": "$s24EmbeddedCheckoutProtocolAAO6ClientV", - "moduleName": "EmbeddedCheckoutProtocol", - "isFromExtension": true, - "isExternal": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, + "kind": "Var", + "name": "configuration", + "printedName": "configuration", + "children": [ { - "kind": "Conformance", - "name": "CheckoutCommunicationProtocol", - "printedName": "CheckoutCommunicationProtocol", - "usr": "s:18ShopifyCheckoutKit0B21CommunicationProtocolP", - "mangledName": "$s18ShopifyCheckoutKit0B21CommunicationProtocolP" + "kind": "TypeNominal", + "name": "Configuration", + "printedName": "ShopifyCheckoutKit.Configuration", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV" } - ] - }, - { - "kind": "TypeDecl", - "name": "CheckoutKitTelemetry", - "printedName": "CheckoutKitTelemetry", - "declKind": "Class", - "usr": "s:20CheckoutKitTelemetryAAC", - "mangledName": "$s20CheckoutKitTelemetryAAC", - "moduleName": "CheckoutKitTelemetry", - "isInternal": true, - "declAttributes": [ - "Final" ], - "isExternal": true, - "conformances": [ - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" - }, - { - "kind": "Conformance", - "name": "SendableMetatype", - "printedName": "SendableMetatype", - "usr": "s:s16SendableMetatypeP", - "mangledName": "$ss16SendableMetatypeP" - }, + "declKind": "Var", + "usr": "s:18ShopifyCheckoutKit13configurationAA13ConfigurationVvp", + "mangledName": "$s18ShopifyCheckoutKit13configurationAA13ConfigurationVvp", + "moduleName": "ShopifyCheckoutKit", + "accessors": [ { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Configuration", + "printedName": "ShopifyCheckoutKit.Configuration", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit13configurationAA13ConfigurationVvg", + "mangledName": "$s18ShopifyCheckoutKit13configurationAA13ConfigurationVvg", + "moduleName": "ShopifyCheckoutKit", + "accessorKind": "get" }, { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Configuration", + "printedName": "ShopifyCheckoutKit.Configuration", + "usr": "s:18ShopifyCheckoutKit13ConfigurationV" + } + ], + "declKind": "Accessor", + "usr": "s:18ShopifyCheckoutKit13configurationAA13ConfigurationVvs", + "mangledName": "$s18ShopifyCheckoutKit13configurationAA13ConfigurationVvs", + "moduleName": "ShopifyCheckoutKit", + "accessorKind": "set" } ] } ], "json_format_version": 8 } -} \ No newline at end of file +} diff --git a/protocol/languages/swift/README.md b/protocol/languages/swift/README.md index 411a83c47..f8e4cf791 100644 --- a/protocol/languages/swift/README.md +++ b/protocol/languages/swift/README.md @@ -6,6 +6,17 @@ See the [UCP shopping embedded protocol schema](../../services/shopping/embedded Most apps consume this product through the root Checkout Kit Swift package. +All event payloads, request results, their protocol-only helper models, and +checkout/error parameter wrappers live under `EmbeddedCheckoutProtocol`, for +example `EmbeddedCheckoutProtocol.Checkout`, `EmbeddedCheckoutProtocol.ReadyRequest`, +`EmbeddedCheckoutProtocol.ReadyResult`, and `EmbeddedCheckoutProtocol.JSONRPCErrorParams`. +Explicit references to these types must use the namespace; no top-level aliases +are provided. SwiftPM and CocoaPods use the same names. + +Shared checkout and order domain types remain top-level. This preserves direct +use of `Buyer`, `LineItem`, and `CheckoutTotal` in Kit's public snapshot. +Kit's public `Checkout` snapshot is separate from the namespaced wire checkout. + ## Requirements - Swift Package Manager with Swift tools 5.9+ diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift index 89b7b8ee5..5761c8669 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/EmbeddedCheckoutProtocol+Event.swift @@ -3,17 +3,17 @@ import Foundation -extension AuthRequest: EventPayload {} -extension Checkout: EventPayload {} -extension ErrorResponse: EventPayload {} -extension ReadyRequest: EventPayload {} -extension WindowOpenRequest: EventPayload {} -extension AddressChangeResult: ResponsePayload {} -extension AuthResult: ResponsePayload {} -extension CredentialResult: ResponsePayload {} -extension InstrumentsChangeResult: ResponsePayload {} -extension ReadyResult: ResponsePayload {} -extension WindowOpenResult: ResponsePayload {} +extension EmbeddedCheckoutProtocol.AuthRequest: EventPayload {} +extension EmbeddedCheckoutProtocol.Checkout: EventPayload {} +extension EmbeddedCheckoutProtocol.ErrorResponse: EventPayload {} +extension EmbeddedCheckoutProtocol.ReadyRequest: EventPayload {} +extension EmbeddedCheckoutProtocol.WindowOpenRequest: EventPayload {} +extension EmbeddedCheckoutProtocol.AddressChangeResult: ResponsePayload {} +extension EmbeddedCheckoutProtocol.AuthResult: ResponsePayload {} +extension EmbeddedCheckoutProtocol.CredentialResult: ResponsePayload {} +extension EmbeddedCheckoutProtocol.InstrumentsChangeResult: ResponsePayload {} +extension EmbeddedCheckoutProtocol.ReadyResult: ResponsePayload {} +extension EmbeddedCheckoutProtocol.WindowOpenResult: ResponsePayload {} extension EmbeddedCheckoutProtocol { /// Every `ec.*` method this protocol owns, resolved to a typed descriptor. diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift index b3718135c..f7e91b42d 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/Generated/Models.swift @@ -1,154 +1,156 @@ // This file was generated from JSON Schema using quicktype, do not modify it directly. -// To parse the JSON, add this file to your project and do: +// To parse JSON with the protocol models, use: // -// let checkout = try Checkout(json) +// let checkout = try EmbeddedCheckoutProtocol.Checkout(json) // let order = try Order(json) -// let errorResponse = try ErrorResponse(json) -// let instrumentsChangeResult = try InstrumentsChangeResult(json) -// let credentialResult = try CredentialResult(json) -// let addressChangeResult = try AddressChangeResult(json) -// let readyRequest = try ReadyRequest(json) -// let readyResult = try ReadyResult(json) -// let authRequest = try AuthRequest(json) -// let authResult = try AuthResult(json) -// let windowOpenRequest = try WindowOpenRequest(json) -// let windowOpenResult = try WindowOpenResult(json) +// let errorResponse = try EmbeddedCheckoutProtocol.ErrorResponse(json) +// let instrumentsChangeResult = try EmbeddedCheckoutProtocol.InstrumentsChangeResult(json) +// let credentialResult = try EmbeddedCheckoutProtocol.CredentialResult(json) +// let addressChangeResult = try EmbeddedCheckoutProtocol.AddressChangeResult(json) +// let readyRequest = try EmbeddedCheckoutProtocol.ReadyRequest(json) +// let readyResult = try EmbeddedCheckoutProtocol.ReadyResult(json) +// let authRequest = try EmbeddedCheckoutProtocol.AuthRequest(json) +// let authResult = try EmbeddedCheckoutProtocol.AuthResult(json) +// let windowOpenRequest = try EmbeddedCheckoutProtocol.WindowOpenRequest(json) +// let windowOpenResult = try EmbeddedCheckoutProtocol.WindowOpenResult(json) import Foundation /// Base checkout schema. Extensions compose onto this using allOf. // MARK: - Checkout -public struct Checkout: Codable, Sendable { - public let attribution: [String: String]? - /// Representation of the buyer. - public let buyer: Buyer? - public let context: Context? - /// URL for checkout handoff and session recovery. MUST be provided when status is - /// requires_escalation. See specification for format and availability requirements. - public let continueURL: String? - /// ISO 4217 currency code reflecting the merchant's market determination. Derived from - /// address, context, and geo IP—buyers provide signals, merchants determine currency. - public let currency: String - public let discounts: CheckoutDiscounts? - /// RFC 3339 expiry timestamp. Default TTL is 6 hours from creation if not sent. - public let expiresAt: Date? - /// Fulfillment details. - public let fulfillment: CheckoutFulfillment? - /// Unique identifier of the checkout session. - public let id: String - /// List of line items being checked out. - public let lineItems: [LineItem] - /// Links to be displayed by the platform (Privacy Policy, TOS). Mandatory for legal - /// compliance. - public let links: [Link] - /// List of messages with error and info about the checkout session state. - public let messages: [Message]? - /// Details about an order created for this checkout session. - public let order: OrderConfirmation? - public let payment: Payment? - public let signals: [String: JSONAny]? - /// Checkout state indicating the current phase and required action. See Checkout Status - /// lifecycle documentation for state transition details. - public let status: CheckoutStatus - /// Different cart totals. - public let totals: [CheckoutTotal] - public let ucp: UCPCheckoutResponseSchema - - public enum CodingKeys: String, CodingKey { - case attribution, buyer, context - case continueURL = "continue_url" - case currency, discounts - case expiresAt = "expires_at" - case fulfillment, id - case lineItems = "line_items" - case links, messages, order, payment, signals, status, totals, ucp - } - - public init(attribution: [String: String]?, buyer: Buyer?, context: Context?, continueURL: String?, currency: String, discounts: CheckoutDiscounts?, expiresAt: Date?, fulfillment: CheckoutFulfillment?, id: String, lineItems: [LineItem], links: [Link], messages: [Message]?, order: OrderConfirmation?, payment: Payment?, signals: [String: JSONAny]?, status: CheckoutStatus, totals: [CheckoutTotal], ucp: UCPCheckoutResponseSchema) { - self.attribution = attribution - self.buyer = buyer - self.context = context - self.continueURL = continueURL - self.currency = currency - self.discounts = discounts - self.expiresAt = expiresAt - self.fulfillment = fulfillment - self.id = id - self.lineItems = lineItems - self.links = links - self.messages = messages - self.order = order - self.payment = payment - self.signals = signals - self.status = status - self.totals = totals - self.ucp = ucp - } - - public var additionalProperties: [String: JSONAny] = [:] +extension EmbeddedCheckoutProtocol { + public struct Checkout: Codable, Sendable { + public let attribution: [String: String]? + /// Representation of the buyer. + public let buyer: Buyer? + public let context: Context? + /// URL for checkout handoff and session recovery. MUST be provided when status is + /// requires_escalation. See specification for format and availability requirements. + public let continueURL: String? + /// ISO 4217 currency code reflecting the merchant's market determination. Derived from + /// address, context, and geo IP—buyers provide signals, merchants determine currency. + public let currency: String + public let discounts: CheckoutDiscounts? + /// RFC 3339 expiry timestamp. Default TTL is 6 hours from creation if not sent. + public let expiresAt: Date? + /// Fulfillment details. + public let fulfillment: CheckoutFulfillment? + /// Unique identifier of the checkout session. + public let id: String + /// List of line items being checked out. + public let lineItems: [LineItem] + /// Links to be displayed by the platform (Privacy Policy, TOS). Mandatory for legal + /// compliance. + public let links: [Link] + /// List of messages with error and info about the checkout session state. + public let messages: [Message]? + /// Details about an order created for this checkout session. + public let order: OrderConfirmation? + public let payment: Payment? + public let signals: [String: JSONAny]? + /// Checkout state indicating the current phase and required action. See Checkout Status + /// lifecycle documentation for state transition details. + public let status: CheckoutStatus + /// Different cart totals. + public let totals: [CheckoutTotal] + public let ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema + + public enum CodingKeys: String, CodingKey { + case attribution, buyer, context + case continueURL = "continue_url" + case currency, discounts + case expiresAt = "expires_at" + case fulfillment, id + case lineItems = "line_items" + case links, messages, order, payment, signals, status, totals, ucp + } - private static let knownAdditionalPropertyKeys: Set = ["attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "signals", "status", "totals", "ucp"] + public init(attribution: [String: String]?, buyer: Buyer?, context: Context?, continueURL: String?, currency: String, discounts: CheckoutDiscounts?, expiresAt: Date?, fulfillment: CheckoutFulfillment?, id: String, lineItems: [LineItem], links: [Link], messages: [Message]?, order: OrderConfirmation?, payment: Payment?, signals: [String: JSONAny]?, status: CheckoutStatus, totals: [CheckoutTotal], ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema) { + self.attribution = attribution + self.buyer = buyer + self.context = context + self.continueURL = continueURL + self.currency = currency + self.discounts = discounts + self.expiresAt = expiresAt + self.fulfillment = fulfillment + self.id = id + self.lineItems = lineItems + self.links = links + self.messages = messages + self.order = order + self.payment = payment + self.signals = signals + self.status = status + self.totals = totals + self.ucp = ucp + } - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - self.attribution = try container.decodeIfPresent([String: String].self, forKey: .attribution) - self.buyer = try container.decodeIfPresent(Buyer.self, forKey: .buyer) - self.context = try container.decodeIfPresent(Context.self, forKey: .context) - self.continueURL = try container.decodeIfPresent(String.self, forKey: .continueURL) - self.currency = try container.decode(String.self, forKey: .currency) - self.discounts = try container.decodeIfPresent(CheckoutDiscounts.self, forKey: .discounts) - self.expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt) - self.fulfillment = try container.decodeIfPresent(CheckoutFulfillment.self, forKey: .fulfillment) - self.id = try container.decode(String.self, forKey: .id) - self.lineItems = try container.decode([LineItem].self, forKey: .lineItems) - self.links = try container.decode([Link].self, forKey: .links) - self.messages = try container.decodeIfPresent([Message].self, forKey: .messages) - self.order = try container.decodeIfPresent(OrderConfirmation.self, forKey: .order) - self.payment = try container.decodeIfPresent(Payment.self, forKey: .payment) - self.signals = try container.decodeIfPresent([String: JSONAny].self, forKey: .signals) - self.status = try container.decode(CheckoutStatus.self, forKey: .status) - self.totals = try container.decode([CheckoutTotal].self, forKey: .totals) - self.ucp = try container.decode(UCPCheckoutResponseSchema.self, forKey: .ucp) - let additionalContainer = try decoder.container(keyedBy: JSONCodingKey.self) - var extras: [String: JSONAny] = [:] - for key in additionalContainer.allKeys where !Self.knownAdditionalPropertyKeys.contains(key.stringValue) { - extras[key.stringValue] = try additionalContainer.decode(JSONAny.self, forKey: key) + public var additionalProperties: [String: JSONAny] = [:] + + private static let knownAdditionalPropertyKeys: Set = ["attribution", "buyer", "context", "continue_url", "currency", "discounts", "expires_at", "fulfillment", "id", "line_items", "links", "messages", "order", "payment", "signals", "status", "totals", "ucp"] + + public init(from decoder: Decoder) throws { + let container = try decoder.container(keyedBy: CodingKeys.self) + self.attribution = try container.decodeIfPresent([String: String].self, forKey: .attribution) + self.buyer = try container.decodeIfPresent(Buyer.self, forKey: .buyer) + self.context = try container.decodeIfPresent(Context.self, forKey: .context) + self.continueURL = try container.decodeIfPresent(String.self, forKey: .continueURL) + self.currency = try container.decode(String.self, forKey: .currency) + self.discounts = try container.decodeIfPresent(CheckoutDiscounts.self, forKey: .discounts) + self.expiresAt = try container.decodeIfPresent(Date.self, forKey: .expiresAt) + self.fulfillment = try container.decodeIfPresent(CheckoutFulfillment.self, forKey: .fulfillment) + self.id = try container.decode(String.self, forKey: .id) + self.lineItems = try container.decode([LineItem].self, forKey: .lineItems) + self.links = try container.decode([Link].self, forKey: .links) + self.messages = try container.decodeIfPresent([Message].self, forKey: .messages) + self.order = try container.decodeIfPresent(OrderConfirmation.self, forKey: .order) + self.payment = try container.decodeIfPresent(Payment.self, forKey: .payment) + self.signals = try container.decodeIfPresent([String: JSONAny].self, forKey: .signals) + self.status = try container.decode(CheckoutStatus.self, forKey: .status) + self.totals = try container.decode([CheckoutTotal].self, forKey: .totals) + self.ucp = try container.decode(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.self, forKey: .ucp) + let additionalContainer = try decoder.container(keyedBy: JSONCodingKey.self) + var extras: [String: JSONAny] = [:] + for key in additionalContainer.allKeys where !Self.knownAdditionalPropertyKeys.contains(key.stringValue) { + extras[key.stringValue] = try additionalContainer.decode(JSONAny.self, forKey: key) + } + self.additionalProperties = extras } - self.additionalProperties = extras - } - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(attribution, forKey: .attribution) - try container.encodeIfPresent(buyer, forKey: .buyer) - try container.encodeIfPresent(context, forKey: .context) - try container.encodeIfPresent(continueURL, forKey: .continueURL) - try container.encode(currency, forKey: .currency) - try container.encodeIfPresent(discounts, forKey: .discounts) - try container.encodeIfPresent(expiresAt, forKey: .expiresAt) - try container.encodeIfPresent(fulfillment, forKey: .fulfillment) - try container.encode(id, forKey: .id) - try container.encode(lineItems, forKey: .lineItems) - try container.encode(links, forKey: .links) - try container.encodeIfPresent(messages, forKey: .messages) - try container.encodeIfPresent(order, forKey: .order) - try container.encodeIfPresent(payment, forKey: .payment) - try container.encodeIfPresent(signals, forKey: .signals) - try container.encode(status, forKey: .status) - try container.encode(totals, forKey: .totals) - try container.encode(ucp, forKey: .ucp) - var additionalContainer = encoder.container(keyedBy: JSONCodingKey.self) - for key in additionalProperties.keys.sorted() where !Self.knownAdditionalPropertyKeys.contains(key) { - try additionalContainer.encode(additionalProperties[key]!, forKey: JSONCodingKey(stringValue: key)!) + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(attribution, forKey: .attribution) + try container.encodeIfPresent(buyer, forKey: .buyer) + try container.encodeIfPresent(context, forKey: .context) + try container.encodeIfPresent(continueURL, forKey: .continueURL) + try container.encode(currency, forKey: .currency) + try container.encodeIfPresent(discounts, forKey: .discounts) + try container.encodeIfPresent(expiresAt, forKey: .expiresAt) + try container.encodeIfPresent(fulfillment, forKey: .fulfillment) + try container.encode(id, forKey: .id) + try container.encode(lineItems, forKey: .lineItems) + try container.encode(links, forKey: .links) + try container.encodeIfPresent(messages, forKey: .messages) + try container.encodeIfPresent(order, forKey: .order) + try container.encodeIfPresent(payment, forKey: .payment) + try container.encodeIfPresent(signals, forKey: .signals) + try container.encode(status, forKey: .status) + try container.encode(totals, forKey: .totals) + try container.encode(ucp, forKey: .ucp) + var additionalContainer = encoder.container(keyedBy: JSONCodingKey.self) + for key in additionalProperties.keys.sorted() where !Self.knownAdditionalPropertyKeys.contains(key) { + try additionalContainer.encode(additionalProperties[key]!, forKey: JSONCodingKey(stringValue: key)!) + } } } } // MARK: Checkout convenience initializers and mutators -public extension Checkout { +public extension EmbeddedCheckoutProtocol.Checkout { init(data: Data) throws { - self = try newJSONDecoder().decode(Checkout.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.Checkout.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -180,9 +182,9 @@ public extension Checkout { signals: [String: JSONAny]?? = nil, status: CheckoutStatus? = nil, totals: [CheckoutTotal]? = nil, - ucp: UCPCheckoutResponseSchema? = nil - ) -> Checkout { - return Checkout( + ucp: EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema? = nil + ) -> EmbeddedCheckoutProtocol.Checkout { + return EmbeddedCheckoutProtocol.Checkout( attribution: attribution ?? self.attribution, buyer: buyer ?? self.buyer, context: context ?? self.context, @@ -2244,37 +2246,39 @@ public extension Line { /// /// Base UCP metadata with shared properties for all schema types. // MARK: - UCPCheckoutResponseSchema -public struct UCPCheckoutResponseSchema: Codable, Sendable { - /// Capability registry keyed by reverse-domain name. - public let capabilities: [String: [CapabilityResponseSchema]]? - /// Payment handler registry keyed by reverse-domain name. - public let paymentHandlers: [String: [PaymentHandlerResponseSchema]] - /// Service registry keyed by reverse-domain name. - public let services: [String: [ServiceResponseSchema]]? - /// Application-level status of the UCP operation. - public let status: UCPCheckoutResponseSchemaStatus? - public let version: String - - public enum CodingKeys: String, CodingKey { - case capabilities - case paymentHandlers = "payment_handlers" - case services, status, version - } +extension EmbeddedCheckoutProtocol { + public struct UCPCheckoutResponseSchema: Codable, Sendable { + /// Capability registry keyed by reverse-domain name. + public let capabilities: [String: [CapabilityResponseSchema]]? + /// Payment handler registry keyed by reverse-domain name. + public let paymentHandlers: [String: [PaymentHandlerResponseSchema]] + /// Service registry keyed by reverse-domain name. + public let services: [String: [EmbeddedCheckoutProtocol.ServiceResponseSchema]]? + /// Application-level status of the UCP operation. + public let status: UCPCheckoutResponseSchemaStatus? + public let version: String + + public enum CodingKeys: String, CodingKey { + case capabilities + case paymentHandlers = "payment_handlers" + case services, status, version + } - public init(capabilities: [String: [CapabilityResponseSchema]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]], services: [String: [ServiceResponseSchema]]?, status: UCPCheckoutResponseSchemaStatus?, version: String) { - self.capabilities = capabilities - self.paymentHandlers = paymentHandlers - self.services = services - self.status = status - self.version = version + public init(capabilities: [String: [CapabilityResponseSchema]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]], services: [String: [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?, status: UCPCheckoutResponseSchemaStatus?, version: String) { + self.capabilities = capabilities + self.paymentHandlers = paymentHandlers + self.services = services + self.status = status + self.version = version + } } } // MARK: UCPCheckoutResponseSchema convenience initializers and mutators -public extension UCPCheckoutResponseSchema { +public extension EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema { init(data: Data) throws { - self = try newJSONDecoder().decode(UCPCheckoutResponseSchema.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -2291,11 +2295,11 @@ public extension UCPCheckoutResponseSchema { func with( capabilities: [String: [CapabilityResponseSchema]]?? = nil, paymentHandlers: [String: [PaymentHandlerResponseSchema]]? = nil, - services: [String: [ServiceResponseSchema]]?? = nil, + services: [String: [EmbeddedCheckoutProtocol.ServiceResponseSchema]]?? = nil, status: UCPCheckoutResponseSchemaStatus?? = nil, version: String? = nil - ) -> UCPCheckoutResponseSchema { - return UCPCheckoutResponseSchema( + ) -> EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema { + return EmbeddedCheckoutProtocol.UCPCheckoutResponseSchema( capabilities: capabilities ?? self.capabilities, paymentHandlers: paymentHandlers ?? self.paymentHandlers, services: services ?? self.services, @@ -2558,39 +2562,41 @@ public extension PaymentHandlerResponseSchemaAvailableInstrument { /// /// Shared foundation for all UCP entities. // MARK: - ServiceResponseSchema -public struct ServiceResponseSchema: Codable, Sendable { - /// Entity-specific configuration. Structure defined by each entity's schema. - public let config: EmbeddedTransportConfig? - /// Unique identifier for this entity instance. Used to disambiguate when multiple instances - /// exist. - public let id: String? - /// URL to JSON Schema defining this entity's structure and payloads. - public let schema: String? - /// URL to human-readable specification document. - public let spec: String? - /// Entity version in YYYY-MM-DD format. - public let version: String - /// Endpoint URL for this transport binding. - public let endpoint: String? - /// Transport protocol for this service binding. - public let transport: Transport - - public init(config: EmbeddedTransportConfig?, id: String?, schema: String?, spec: String?, version: String, endpoint: String?, transport: Transport) { - self.config = config - self.id = id - self.schema = schema - self.spec = spec - self.version = version - self.endpoint = endpoint - self.transport = transport +extension EmbeddedCheckoutProtocol { + public struct ServiceResponseSchema: Codable, Sendable { + /// Entity-specific configuration. Structure defined by each entity's schema. + public let config: EmbeddedCheckoutProtocol.EmbeddedTransportConfig? + /// Unique identifier for this entity instance. Used to disambiguate when multiple instances + /// exist. + public let id: String? + /// URL to JSON Schema defining this entity's structure and payloads. + public let schema: String? + /// URL to human-readable specification document. + public let spec: String? + /// Entity version in YYYY-MM-DD format. + public let version: String + /// Endpoint URL for this transport binding. + public let endpoint: String? + /// Transport protocol for this service binding. + public let transport: Transport + + public init(config: EmbeddedCheckoutProtocol.EmbeddedTransportConfig?, id: String?, schema: String?, spec: String?, version: String, endpoint: String?, transport: Transport) { + self.config = config + self.id = id + self.schema = schema + self.spec = spec + self.version = version + self.endpoint = endpoint + self.transport = transport + } } } // MARK: ServiceResponseSchema convenience initializers and mutators -public extension ServiceResponseSchema { +public extension EmbeddedCheckoutProtocol.ServiceResponseSchema { init(data: Data) throws { - self = try newJSONDecoder().decode(ServiceResponseSchema.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.ServiceResponseSchema.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -2605,15 +2611,15 @@ public extension ServiceResponseSchema { } func with( - config: EmbeddedTransportConfig?? = nil, + config: EmbeddedCheckoutProtocol.EmbeddedTransportConfig?? = nil, id: String?? = nil, schema: String?? = nil, spec: String?? = nil, version: String? = nil, endpoint: String?? = nil, transport: Transport? = nil - ) -> ServiceResponseSchema { - return ServiceResponseSchema( + ) -> EmbeddedCheckoutProtocol.ServiceResponseSchema { + return EmbeddedCheckoutProtocol.ServiceResponseSchema( config: config ?? self.config, id: id ?? self.id, schema: schema ?? self.schema, @@ -2638,30 +2644,32 @@ public extension ServiceResponseSchema { /// Per-session configuration for embedded transport binding. Allows businesses to vary EP /// availability and delegations based on cart contents, agent authorization, or policy. // MARK: - EmbeddedTransportConfig -public struct EmbeddedTransportConfig: Codable, Sendable { - /// Color schemes the business supports. Hosts use ec_color_scheme query parameter to request - /// a scheme from this list. - public let colorScheme: [EmbeddedColorScheme]? - /// Delegations the business allows. At service-level, declares available delegations. In UCP - /// responses, confirms accepted delegations for this session. - public let delegate: [String]? - - public enum CodingKeys: String, CodingKey { - case colorScheme = "color_scheme" - case delegate - } +extension EmbeddedCheckoutProtocol { + public struct EmbeddedTransportConfig: Codable, Sendable { + /// Color schemes the business supports. Hosts use ec_color_scheme query parameter to request + /// a scheme from this list. + public let colorScheme: [EmbeddedCheckoutProtocol.EmbeddedColorScheme]? + /// Delegations the business allows. At service-level, declares available delegations. In UCP + /// responses, confirms accepted delegations for this session. + public let delegate: [String]? + + public enum CodingKeys: String, CodingKey { + case colorScheme = "color_scheme" + case delegate + } - public init(colorScheme: [EmbeddedColorScheme]?, delegate: [String]?) { - self.colorScheme = colorScheme - self.delegate = delegate + public init(colorScheme: [EmbeddedCheckoutProtocol.EmbeddedColorScheme]?, delegate: [String]?) { + self.colorScheme = colorScheme + self.delegate = delegate + } } } // MARK: EmbeddedTransportConfig convenience initializers and mutators -public extension EmbeddedTransportConfig { +public extension EmbeddedCheckoutProtocol.EmbeddedTransportConfig { init(data: Data) throws { - self = try newJSONDecoder().decode(EmbeddedTransportConfig.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.EmbeddedTransportConfig.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -2676,10 +2684,10 @@ public extension EmbeddedTransportConfig { } func with( - colorScheme: [EmbeddedColorScheme]?? = nil, + colorScheme: [EmbeddedCheckoutProtocol.EmbeddedColorScheme]?? = nil, delegate: [String]?? = nil - ) -> EmbeddedTransportConfig { - return EmbeddedTransportConfig( + ) -> EmbeddedCheckoutProtocol.EmbeddedTransportConfig { + return EmbeddedCheckoutProtocol.EmbeddedTransportConfig( colorScheme: colorScheme ?? self.colorScheme, delegate: delegate ?? self.delegate ) @@ -2694,9 +2702,11 @@ public extension EmbeddedTransportConfig { } } -public enum EmbeddedColorScheme: String, Codable, Sendable { - case dark = "dark" - case light = "light" +extension EmbeddedCheckoutProtocol { + public enum EmbeddedColorScheme: String, Codable, Sendable { + case dark = "dark" + case light = "light" + } } /// Transport protocol for this service binding. @@ -3606,31 +3616,33 @@ public extension Service { /// Generic error response when business logic prevents resource creation or failed to /// retrieve resource. Used when no valid resource can be established. // MARK: - ErrorResponse -public struct ErrorResponse: Codable, Sendable { - /// URL for buyer handoff or session recovery. - public let continueURL: String? - /// Array of messages describing why the operation failed. - public let messages: [Message] - /// UCP protocol metadata. Status MUST be 'error' for error response. - public let ucp: ErrorResponseUcp - - public enum CodingKeys: String, CodingKey { - case continueURL = "continue_url" - case messages, ucp - } +extension EmbeddedCheckoutProtocol { + public struct ErrorResponse: Codable, Sendable { + /// URL for buyer handoff or session recovery. + public let continueURL: String? + /// Array of messages describing why the operation failed. + public let messages: [Message] + /// UCP protocol metadata. Status MUST be 'error' for error response. + public let ucp: EmbeddedCheckoutProtocol.ErrorResponseUcp + + public enum CodingKeys: String, CodingKey { + case continueURL = "continue_url" + case messages, ucp + } - public init(continueURL: String?, messages: [Message], ucp: ErrorResponseUcp) { - self.continueURL = continueURL - self.messages = messages - self.ucp = ucp + public init(continueURL: String?, messages: [Message], ucp: EmbeddedCheckoutProtocol.ErrorResponseUcp) { + self.continueURL = continueURL + self.messages = messages + self.ucp = ucp + } } } // MARK: ErrorResponse convenience initializers and mutators -public extension ErrorResponse { +public extension EmbeddedCheckoutProtocol.ErrorResponse { init(data: Data) throws { - self = try newJSONDecoder().decode(ErrorResponse.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.ErrorResponse.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -3647,9 +3659,9 @@ public extension ErrorResponse { func with( continueURL: String?? = nil, messages: [Message]? = nil, - ucp: ErrorResponseUcp? = nil - ) -> ErrorResponse { - return ErrorResponse( + ucp: EmbeddedCheckoutProtocol.ErrorResponseUcp? = nil + ) -> EmbeddedCheckoutProtocol.ErrorResponse { + return EmbeddedCheckoutProtocol.ErrorResponse( continueURL: continueURL ?? self.continueURL, messages: messages ?? self.messages, ucp: ucp ?? self.ucp @@ -3672,37 +3684,39 @@ public extension ErrorResponse { /// /// Base UCP metadata with shared properties for all schema types. // MARK: - ErrorResponseUcp -public struct ErrorResponseUcp: Codable, Sendable { - /// Capability registry keyed by reverse-domain name. - public let capabilities: [String: [CapabilityResponseSchema]]? - /// Payment handler registry keyed by reverse-domain name. - public let paymentHandlers: [String: [PaymentHandlerResponseSchema]]? - /// Service registry keyed by reverse-domain name. - public let services: [String: [Service]]? - /// Application-level status of the UCP operation. - public let status: ErrorStatus - public let version: String - - public enum CodingKeys: String, CodingKey { - case capabilities - case paymentHandlers = "payment_handlers" - case services, status, version - } +extension EmbeddedCheckoutProtocol { + public struct ErrorResponseUcp: Codable, Sendable { + /// Capability registry keyed by reverse-domain name. + public let capabilities: [String: [CapabilityResponseSchema]]? + /// Payment handler registry keyed by reverse-domain name. + public let paymentHandlers: [String: [PaymentHandlerResponseSchema]]? + /// Service registry keyed by reverse-domain name. + public let services: [String: [Service]]? + /// Application-level status of the UCP operation. + public let status: EmbeddedCheckoutProtocol.ErrorStatus + public let version: String + + public enum CodingKeys: String, CodingKey { + case capabilities + case paymentHandlers = "payment_handlers" + case services, status, version + } - public init(capabilities: [String: [CapabilityResponseSchema]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?, services: [String: [Service]]?, status: ErrorStatus, version: String) { - self.capabilities = capabilities - self.paymentHandlers = paymentHandlers - self.services = services - self.status = status - self.version = version + public init(capabilities: [String: [CapabilityResponseSchema]]?, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?, services: [String: [Service]]?, status: EmbeddedCheckoutProtocol.ErrorStatus, version: String) { + self.capabilities = capabilities + self.paymentHandlers = paymentHandlers + self.services = services + self.status = status + self.version = version + } } } // MARK: ErrorResponseUcp convenience initializers and mutators -public extension ErrorResponseUcp { +public extension EmbeddedCheckoutProtocol.ErrorResponseUcp { init(data: Data) throws { - self = try newJSONDecoder().decode(ErrorResponseUcp.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.ErrorResponseUcp.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -3720,10 +3734,10 @@ public extension ErrorResponseUcp { capabilities: [String: [CapabilityResponseSchema]]?? = nil, paymentHandlers: [String: [PaymentHandlerResponseSchema]]?? = nil, services: [String: [Service]]?? = nil, - status: ErrorStatus? = nil, + status: EmbeddedCheckoutProtocol.ErrorStatus? = nil, version: String? = nil - ) -> ErrorResponseUcp { - return ErrorResponseUcp( + ) -> EmbeddedCheckoutProtocol.ErrorResponseUcp { + return EmbeddedCheckoutProtocol.ErrorResponseUcp( capabilities: capabilities ?? self.capabilities, paymentHandlers: paymentHandlers ?? self.paymentHandlers, services: services ?? self.services, @@ -3742,8 +3756,10 @@ public extension ErrorResponseUcp { } /// Application-level status of the UCP operation. -public enum ErrorStatus: String, Codable, Sendable { - case error = "error" +extension EmbeddedCheckoutProtocol { + public enum ErrorStatus: String, Codable, Sendable { + case error = "error" + } } /// Checkout state after instrument selection. @@ -3751,35 +3767,37 @@ public enum ErrorStatus: String, Codable, Sendable { /// Generic error response when business logic prevents resource creation or failed to /// retrieve resource. Used when no valid resource can be established. // MARK: - InstrumentsChangeResult -public struct InstrumentsChangeResult: Codable, Sendable { - /// Partial checkout update with payment instrument selection. - public let checkout: InstrumentsChangeCheckout? - /// UCP protocol metadata. Status MUST be 'error' for error response. - public let ucp: InstrumentsChangeResultUcp - /// URL for buyer handoff or session recovery. - public let continueURL: String? - /// Array of messages describing why the operation failed. - public let messages: [Message]? - - public enum CodingKeys: String, CodingKey { - case checkout, ucp - case continueURL = "continue_url" - case messages - } +extension EmbeddedCheckoutProtocol { + public struct InstrumentsChangeResult: Codable, Sendable { + /// Partial checkout update with payment instrument selection. + public let checkout: EmbeddedCheckoutProtocol.InstrumentsChangeCheckout? + /// UCP protocol metadata. Status MUST be 'error' for error response. + public let ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp + /// URL for buyer handoff or session recovery. + public let continueURL: String? + /// Array of messages describing why the operation failed. + public let messages: [Message]? + + public enum CodingKeys: String, CodingKey { + case checkout, ucp + case continueURL = "continue_url" + case messages + } - public init(checkout: InstrumentsChangeCheckout?, ucp: InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { - self.checkout = checkout - self.ucp = ucp - self.continueURL = continueURL - self.messages = messages + public init(checkout: EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?, ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { + self.checkout = checkout + self.ucp = ucp + self.continueURL = continueURL + self.messages = messages + } } } // MARK: InstrumentsChangeResult convenience initializers and mutators -public extension InstrumentsChangeResult { +public extension EmbeddedCheckoutProtocol.InstrumentsChangeResult { init(data: Data) throws { - self = try newJSONDecoder().decode(InstrumentsChangeResult.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.InstrumentsChangeResult.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -3794,12 +3812,12 @@ public extension InstrumentsChangeResult { } func with( - checkout: InstrumentsChangeCheckout?? = nil, - ucp: InstrumentsChangeResultUcp? = nil, + checkout: EmbeddedCheckoutProtocol.InstrumentsChangeCheckout?? = nil, + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp? = nil, continueURL: String?? = nil, messages: [Message]?? = nil - ) -> InstrumentsChangeResult { - return InstrumentsChangeResult( + ) -> EmbeddedCheckoutProtocol.InstrumentsChangeResult { + return EmbeddedCheckoutProtocol.InstrumentsChangeResult( checkout: checkout ?? self.checkout, ucp: ucp ?? self.ucp, continueURL: continueURL ?? self.continueURL, @@ -3818,20 +3836,22 @@ public extension InstrumentsChangeResult { /// Partial checkout update with payment instrument selection. // MARK: - InstrumentsChangeCheckout -public struct InstrumentsChangeCheckout: Codable, Sendable { - /// Payment instruments with selected instrument ID. - public let payment: InstrumentsChangePayment? +extension EmbeddedCheckoutProtocol { + public struct InstrumentsChangeCheckout: Codable, Sendable { + /// Payment instruments with selected instrument ID. + public let payment: EmbeddedCheckoutProtocol.InstrumentsChangePayment? - public init(payment: InstrumentsChangePayment?) { - self.payment = payment + public init(payment: EmbeddedCheckoutProtocol.InstrumentsChangePayment?) { + self.payment = payment + } } } // MARK: InstrumentsChangeCheckout convenience initializers and mutators -public extension InstrumentsChangeCheckout { +public extension EmbeddedCheckoutProtocol.InstrumentsChangeCheckout { init(data: Data) throws { - self = try newJSONDecoder().decode(InstrumentsChangeCheckout.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.InstrumentsChangeCheckout.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -3846,9 +3866,9 @@ public extension InstrumentsChangeCheckout { } func with( - payment: InstrumentsChangePayment?? = nil - ) -> InstrumentsChangeCheckout { - return InstrumentsChangeCheckout( + payment: EmbeddedCheckoutProtocol.InstrumentsChangePayment?? = nil + ) -> EmbeddedCheckoutProtocol.InstrumentsChangeCheckout { + return EmbeddedCheckoutProtocol.InstrumentsChangeCheckout( payment: payment ?? self.payment ) } @@ -3866,30 +3886,32 @@ public extension InstrumentsChangeCheckout { /// /// Payment configuration containing handlers. // MARK: - InstrumentsChangePayment -public struct InstrumentsChangePayment: Codable, Sendable { - /// The payment instruments available for this payment. Each instrument is associated with a - /// specific handler via the handler_id field. Handlers can extend the base - /// payment_instrument schema to add handler-specific fields. - public let instruments: [SelectedPaymentInstrument]? - /// ID of the selected payment instrument. - public let selectedInstrumentID: String? - - public enum CodingKeys: String, CodingKey { - case instruments - case selectedInstrumentID = "selected_instrument_id" - } +extension EmbeddedCheckoutProtocol { + public struct InstrumentsChangePayment: Codable, Sendable { + /// The payment instruments available for this payment. Each instrument is associated with a + /// specific handler via the handler_id field. Handlers can extend the base + /// payment_instrument schema to add handler-specific fields. + public let instruments: [SelectedPaymentInstrument]? + /// ID of the selected payment instrument. + public let selectedInstrumentID: String? + + public enum CodingKeys: String, CodingKey { + case instruments + case selectedInstrumentID = "selected_instrument_id" + } - public init(instruments: [SelectedPaymentInstrument]?, selectedInstrumentID: String?) { - self.instruments = instruments - self.selectedInstrumentID = selectedInstrumentID + public init(instruments: [SelectedPaymentInstrument]?, selectedInstrumentID: String?) { + self.instruments = instruments + self.selectedInstrumentID = selectedInstrumentID + } } } // MARK: InstrumentsChangePayment convenience initializers and mutators -public extension InstrumentsChangePayment { +public extension EmbeddedCheckoutProtocol.InstrumentsChangePayment { init(data: Data) throws { - self = try newJSONDecoder().decode(InstrumentsChangePayment.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.InstrumentsChangePayment.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -3906,8 +3928,8 @@ public extension InstrumentsChangePayment { func with( instruments: [SelectedPaymentInstrument]?? = nil, selectedInstrumentID: String?? = nil - ) -> InstrumentsChangePayment { - return InstrumentsChangePayment( + ) -> EmbeddedCheckoutProtocol.InstrumentsChangePayment { + return EmbeddedCheckoutProtocol.InstrumentsChangePayment( instruments: instruments ?? self.instruments, selectedInstrumentID: selectedInstrumentID ?? self.selectedInstrumentID ) @@ -3931,37 +3953,39 @@ public extension InstrumentsChangePayment { /// /// UCP metadata with status 'error'. Use for response branches that carry error information. // MARK: - InstrumentsChangeResultUcp -public struct InstrumentsChangeResultUcp: Codable, Sendable { - /// Capability registry keyed by reverse-domain name. - public let capabilities: [String: [CapabilityElement]]? - /// Payment handler registry keyed by reverse-domain name. - public let paymentHandlers: [String: [PaymentHandlerElement]]? - /// Service registry keyed by reverse-domain name. - public let services: [String: [EmbeddedService]]? - /// Application-level status of the UCP operation. - public let status: UCPCheckoutResponseSchemaStatus - public let version: String - - public enum CodingKeys: String, CodingKey { - case capabilities - case paymentHandlers = "payment_handlers" - case services, status, version - } +extension EmbeddedCheckoutProtocol { + public struct InstrumentsChangeResultUcp: Codable, Sendable { + /// Capability registry keyed by reverse-domain name. + public let capabilities: [String: [EmbeddedCheckoutProtocol.CapabilityElement]]? + /// Payment handler registry keyed by reverse-domain name. + public let paymentHandlers: [String: [EmbeddedCheckoutProtocol.PaymentHandlerElement]]? + /// Service registry keyed by reverse-domain name. + public let services: [String: [EmbeddedCheckoutProtocol.EmbeddedService]]? + /// Application-level status of the UCP operation. + public let status: UCPCheckoutResponseSchemaStatus + public let version: String + + public enum CodingKeys: String, CodingKey { + case capabilities + case paymentHandlers = "payment_handlers" + case services, status, version + } - public init(capabilities: [String: [CapabilityElement]]?, paymentHandlers: [String: [PaymentHandlerElement]]?, services: [String: [EmbeddedService]]?, status: UCPCheckoutResponseSchemaStatus, version: String) { - self.capabilities = capabilities - self.paymentHandlers = paymentHandlers - self.services = services - self.status = status - self.version = version + public init(capabilities: [String: [EmbeddedCheckoutProtocol.CapabilityElement]]?, paymentHandlers: [String: [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?, services: [String: [EmbeddedCheckoutProtocol.EmbeddedService]]?, status: UCPCheckoutResponseSchemaStatus, version: String) { + self.capabilities = capabilities + self.paymentHandlers = paymentHandlers + self.services = services + self.status = status + self.version = version + } } } // MARK: InstrumentsChangeResultUcp convenience initializers and mutators -public extension InstrumentsChangeResultUcp { +public extension EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp { init(data: Data) throws { - self = try newJSONDecoder().decode(InstrumentsChangeResultUcp.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -3976,13 +4000,13 @@ public extension InstrumentsChangeResultUcp { } func with( - capabilities: [String: [CapabilityElement]]?? = nil, - paymentHandlers: [String: [PaymentHandlerElement]]?? = nil, - services: [String: [EmbeddedService]]?? = nil, + capabilities: [String: [EmbeddedCheckoutProtocol.CapabilityElement]]?? = nil, + paymentHandlers: [String: [EmbeddedCheckoutProtocol.PaymentHandlerElement]]?? = nil, + services: [String: [EmbeddedCheckoutProtocol.EmbeddedService]]?? = nil, status: UCPCheckoutResponseSchemaStatus? = nil, version: String? = nil - ) -> InstrumentsChangeResultUcp { - return InstrumentsChangeResultUcp( + ) -> EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp { + return EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: capabilities ?? self.capabilities, paymentHandlers: paymentHandlers ?? self.paymentHandlers, services: services ?? self.services, @@ -4005,37 +4029,39 @@ public extension InstrumentsChangeResultUcp { /// Capability reference in responses. Only name/version required to confirm active /// capabilities. // MARK: - CapabilityElement -public struct CapabilityElement: Codable, Sendable { - /// Entity-specific configuration. Structure defined by each entity's schema. - public let config: [String: JSONAny]? - /// Unique identifier for this entity instance. Used to disambiguate when multiple instances - /// exist. - public let id: String? - /// URL to JSON Schema defining this entity's structure and payloads. - public let schema: String? - /// URL to human-readable specification document. - public let spec: String? - /// Entity version in YYYY-MM-DD format. - public let version: String - /// Parent capability(s) this extends. Present for extensions, absent for root capabilities. - /// Use array for multi-parent extensions. - public let extends: Extends? - - public init(config: [String: JSONAny]?, id: String?, schema: String?, spec: String?, version: String, extends: Extends?) { - self.config = config - self.id = id - self.schema = schema - self.spec = spec - self.version = version - self.extends = extends +extension EmbeddedCheckoutProtocol { + public struct CapabilityElement: Codable, Sendable { + /// Entity-specific configuration. Structure defined by each entity's schema. + public let config: [String: JSONAny]? + /// Unique identifier for this entity instance. Used to disambiguate when multiple instances + /// exist. + public let id: String? + /// URL to JSON Schema defining this entity's structure and payloads. + public let schema: String? + /// URL to human-readable specification document. + public let spec: String? + /// Entity version in YYYY-MM-DD format. + public let version: String + /// Parent capability(s) this extends. Present for extensions, absent for root capabilities. + /// Use array for multi-parent extensions. + public let extends: Extends? + + public init(config: [String: JSONAny]?, id: String?, schema: String?, spec: String?, version: String, extends: Extends?) { + self.config = config + self.id = id + self.schema = schema + self.spec = spec + self.version = version + self.extends = extends + } } } // MARK: CapabilityElement convenience initializers and mutators -public extension CapabilityElement { +public extension EmbeddedCheckoutProtocol.CapabilityElement { init(data: Data) throws { - self = try newJSONDecoder().decode(CapabilityElement.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.CapabilityElement.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4056,8 +4082,8 @@ public extension CapabilityElement { spec: String?? = nil, version: String? = nil, extends: Extends?? = nil - ) -> CapabilityElement { - return CapabilityElement( + ) -> EmbeddedCheckoutProtocol.CapabilityElement { + return EmbeddedCheckoutProtocol.CapabilityElement( config: config ?? self.config, id: id ?? self.id, schema: schema ?? self.schema, @@ -4081,42 +4107,44 @@ public extension CapabilityElement { /// Handler reference in responses. May include full config state for runtime usage of the /// handler. // MARK: - PaymentHandlerElement -public struct PaymentHandlerElement: Codable, Sendable { - /// Entity-specific configuration. Structure defined by each entity's schema. - public let config: [String: JSONAny]? - /// Unique identifier for this entity instance. Used to disambiguate when multiple instances - /// exist. - public let id: String - /// URL to JSON Schema defining this entity's structure and payloads. - public let schema: String? - /// URL to human-readable specification document. - public let spec: String? - /// Entity version in YYYY-MM-DD format. - public let version: String - /// Instrument types this handler supports, with optional constraints. When absent, every - /// instrument should be considered available. - public let availableInstruments: [PaymentHandlerAvailableInstrument]? - - public enum CodingKeys: String, CodingKey { - case config, id, schema, spec, version - case availableInstruments = "available_instruments" - } +extension EmbeddedCheckoutProtocol { + public struct PaymentHandlerElement: Codable, Sendable { + /// Entity-specific configuration. Structure defined by each entity's schema. + public let config: [String: JSONAny]? + /// Unique identifier for this entity instance. Used to disambiguate when multiple instances + /// exist. + public let id: String + /// URL to JSON Schema defining this entity's structure and payloads. + public let schema: String? + /// URL to human-readable specification document. + public let spec: String? + /// Entity version in YYYY-MM-DD format. + public let version: String + /// Instrument types this handler supports, with optional constraints. When absent, every + /// instrument should be considered available. + public let availableInstruments: [EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]? + + public enum CodingKeys: String, CodingKey { + case config, id, schema, spec, version + case availableInstruments = "available_instruments" + } - public init(config: [String: JSONAny]?, id: String, schema: String?, spec: String?, version: String, availableInstruments: [PaymentHandlerAvailableInstrument]?) { - self.config = config - self.id = id - self.schema = schema - self.spec = spec - self.version = version - self.availableInstruments = availableInstruments + public init(config: [String: JSONAny]?, id: String, schema: String?, spec: String?, version: String, availableInstruments: [EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?) { + self.config = config + self.id = id + self.schema = schema + self.spec = spec + self.version = version + self.availableInstruments = availableInstruments + } } } // MARK: PaymentHandlerElement convenience initializers and mutators -public extension PaymentHandlerElement { +public extension EmbeddedCheckoutProtocol.PaymentHandlerElement { init(data: Data) throws { - self = try newJSONDecoder().decode(PaymentHandlerElement.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.PaymentHandlerElement.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4136,9 +4164,9 @@ public extension PaymentHandlerElement { schema: String?? = nil, spec: String?? = nil, version: String? = nil, - availableInstruments: [PaymentHandlerAvailableInstrument]?? = nil - ) -> PaymentHandlerElement { - return PaymentHandlerElement( + availableInstruments: [EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument]?? = nil + ) -> EmbeddedCheckoutProtocol.PaymentHandlerElement { + return EmbeddedCheckoutProtocol.PaymentHandlerElement( config: config ?? self.config, id: id ?? self.id, schema: schema ?? self.schema, @@ -4159,25 +4187,27 @@ public extension PaymentHandlerElement { /// An instrument type available from a payment handler with optional constraints. // MARK: - PaymentHandlerAvailableInstrument -public struct PaymentHandlerAvailableInstrument: Codable, Sendable { - /// Constraints on this instrument type. Structure depends on instrument type and active - /// capabilities. - public let constraints: [String: JSONAny]? - /// The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument - /// schema's type constant. - public let type: String - - public init(constraints: [String: JSONAny]?, type: String) { - self.constraints = constraints - self.type = type +extension EmbeddedCheckoutProtocol { + public struct PaymentHandlerAvailableInstrument: Codable, Sendable { + /// Constraints on this instrument type. Structure depends on instrument type and active + /// capabilities. + public let constraints: [String: JSONAny]? + /// The instrument type identifier (e.g., 'card', 'gift_card'). References an instrument + /// schema's type constant. + public let type: String + + public init(constraints: [String: JSONAny]?, type: String) { + self.constraints = constraints + self.type = type + } } } // MARK: PaymentHandlerAvailableInstrument convenience initializers and mutators -public extension PaymentHandlerAvailableInstrument { +public extension EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument { init(data: Data) throws { - self = try newJSONDecoder().decode(PaymentHandlerAvailableInstrument.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4194,8 +4224,8 @@ public extension PaymentHandlerAvailableInstrument { func with( constraints: [String: JSONAny]?? = nil, type: String? = nil - ) -> PaymentHandlerAvailableInstrument { - return PaymentHandlerAvailableInstrument( + ) -> EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument { + return EmbeddedCheckoutProtocol.PaymentHandlerAvailableInstrument( constraints: constraints ?? self.constraints, type: type ?? self.type ) @@ -4212,39 +4242,41 @@ public extension PaymentHandlerAvailableInstrument { /// Shared foundation for all UCP entities. // MARK: - EmbeddedService -public struct EmbeddedService: Codable, Sendable { - /// Entity-specific configuration. Structure defined by each entity's schema. - public let config: [String: JSONAny]? - /// Unique identifier for this entity instance. Used to disambiguate when multiple instances - /// exist. - public let id: String? - /// URL to JSON Schema defining this entity's structure and payloads. - public let schema: String? - /// URL to human-readable specification document. - public let spec: String? - /// Entity version in YYYY-MM-DD format. - public let version: String - /// Endpoint URL for this transport binding. - public let endpoint: String? - /// Transport protocol for this service binding. - public let transport: Transport - - public init(config: [String: JSONAny]?, id: String?, schema: String?, spec: String?, version: String, endpoint: String?, transport: Transport) { - self.config = config - self.id = id - self.schema = schema - self.spec = spec - self.version = version - self.endpoint = endpoint - self.transport = transport +extension EmbeddedCheckoutProtocol { + public struct EmbeddedService: Codable, Sendable { + /// Entity-specific configuration. Structure defined by each entity's schema. + public let config: [String: JSONAny]? + /// Unique identifier for this entity instance. Used to disambiguate when multiple instances + /// exist. + public let id: String? + /// URL to JSON Schema defining this entity's structure and payloads. + public let schema: String? + /// URL to human-readable specification document. + public let spec: String? + /// Entity version in YYYY-MM-DD format. + public let version: String + /// Endpoint URL for this transport binding. + public let endpoint: String? + /// Transport protocol for this service binding. + public let transport: Transport + + public init(config: [String: JSONAny]?, id: String?, schema: String?, spec: String?, version: String, endpoint: String?, transport: Transport) { + self.config = config + self.id = id + self.schema = schema + self.spec = spec + self.version = version + self.endpoint = endpoint + self.transport = transport + } } } // MARK: EmbeddedService convenience initializers and mutators -public extension EmbeddedService { +public extension EmbeddedCheckoutProtocol.EmbeddedService { init(data: Data) throws { - self = try newJSONDecoder().decode(EmbeddedService.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.EmbeddedService.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4266,8 +4298,8 @@ public extension EmbeddedService { version: String? = nil, endpoint: String?? = nil, transport: Transport? = nil - ) -> EmbeddedService { - return EmbeddedService( + ) -> EmbeddedCheckoutProtocol.EmbeddedService { + return EmbeddedCheckoutProtocol.EmbeddedService( config: config ?? self.config, id: id ?? self.id, schema: schema ?? self.schema, @@ -4292,35 +4324,37 @@ public extension EmbeddedService { /// Generic error response when business logic prevents resource creation or failed to /// retrieve resource. Used when no valid resource can be established. // MARK: - CredentialResult -public struct CredentialResult: Codable, Sendable { - /// Partial checkout update with payment credential. - public let checkout: CredentialCheckout? - /// UCP protocol metadata. Status MUST be 'error' for error response. - public let ucp: InstrumentsChangeResultUcp - /// URL for buyer handoff or session recovery. - public let continueURL: String? - /// Array of messages describing why the operation failed. - public let messages: [Message]? - - public enum CodingKeys: String, CodingKey { - case checkout, ucp - case continueURL = "continue_url" - case messages - } +extension EmbeddedCheckoutProtocol { + public struct CredentialResult: Codable, Sendable { + /// Partial checkout update with payment credential. + public let checkout: EmbeddedCheckoutProtocol.CredentialCheckout? + /// UCP protocol metadata. Status MUST be 'error' for error response. + public let ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp + /// URL for buyer handoff or session recovery. + public let continueURL: String? + /// Array of messages describing why the operation failed. + public let messages: [Message]? + + public enum CodingKeys: String, CodingKey { + case checkout, ucp + case continueURL = "continue_url" + case messages + } - public init(checkout: CredentialCheckout?, ucp: InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { - self.checkout = checkout - self.ucp = ucp - self.continueURL = continueURL - self.messages = messages + public init(checkout: EmbeddedCheckoutProtocol.CredentialCheckout?, ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { + self.checkout = checkout + self.ucp = ucp + self.continueURL = continueURL + self.messages = messages + } } } // MARK: CredentialResult convenience initializers and mutators -public extension CredentialResult { +public extension EmbeddedCheckoutProtocol.CredentialResult { init(data: Data) throws { - self = try newJSONDecoder().decode(CredentialResult.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.CredentialResult.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4335,12 +4369,12 @@ public extension CredentialResult { } func with( - checkout: CredentialCheckout?? = nil, - ucp: InstrumentsChangeResultUcp? = nil, + checkout: EmbeddedCheckoutProtocol.CredentialCheckout?? = nil, + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp? = nil, continueURL: String?? = nil, messages: [Message]?? = nil - ) -> CredentialResult { - return CredentialResult( + ) -> EmbeddedCheckoutProtocol.CredentialResult { + return EmbeddedCheckoutProtocol.CredentialResult( checkout: checkout ?? self.checkout, ucp: ucp ?? self.ucp, continueURL: continueURL ?? self.continueURL, @@ -4359,19 +4393,21 @@ public extension CredentialResult { /// Partial checkout update with payment credential. // MARK: - CredentialCheckout -public struct CredentialCheckout: Codable, Sendable { - public let payment: Payment? +extension EmbeddedCheckoutProtocol { + public struct CredentialCheckout: Codable, Sendable { + public let payment: Payment? - public init(payment: Payment?) { - self.payment = payment + public init(payment: Payment?) { + self.payment = payment + } } } // MARK: CredentialCheckout convenience initializers and mutators -public extension CredentialCheckout { +public extension EmbeddedCheckoutProtocol.CredentialCheckout { init(data: Data) throws { - self = try newJSONDecoder().decode(CredentialCheckout.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.CredentialCheckout.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4387,8 +4423,8 @@ public extension CredentialCheckout { func with( payment: Payment?? = nil - ) -> CredentialCheckout { - return CredentialCheckout( + ) -> EmbeddedCheckoutProtocol.CredentialCheckout { + return EmbeddedCheckoutProtocol.CredentialCheckout( payment: payment ?? self.payment ) } @@ -4407,35 +4443,37 @@ public extension CredentialCheckout { /// Generic error response when business logic prevents resource creation or failed to /// retrieve resource. Used when no valid resource can be established. // MARK: - AddressChangeResult -public struct AddressChangeResult: Codable, Sendable { - /// Partial checkout update with fulfillment address selection. - public let checkout: AddressChangeCheckout? - /// UCP protocol metadata. Status MUST be 'error' for error response. - public let ucp: InstrumentsChangeResultUcp - /// URL for buyer handoff or session recovery. - public let continueURL: String? - /// Array of messages describing why the operation failed. - public let messages: [Message]? - - public enum CodingKeys: String, CodingKey { - case checkout, ucp - case continueURL = "continue_url" - case messages - } +extension EmbeddedCheckoutProtocol { + public struct AddressChangeResult: Codable, Sendable { + /// Partial checkout update with fulfillment address selection. + public let checkout: EmbeddedCheckoutProtocol.AddressChangeCheckout? + /// UCP protocol metadata. Status MUST be 'error' for error response. + public let ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp + /// URL for buyer handoff or session recovery. + public let continueURL: String? + /// Array of messages describing why the operation failed. + public let messages: [Message]? + + public enum CodingKeys: String, CodingKey { + case checkout, ucp + case continueURL = "continue_url" + case messages + } - public init(checkout: AddressChangeCheckout?, ucp: InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { - self.checkout = checkout - self.ucp = ucp - self.continueURL = continueURL - self.messages = messages + public init(checkout: EmbeddedCheckoutProtocol.AddressChangeCheckout?, ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { + self.checkout = checkout + self.ucp = ucp + self.continueURL = continueURL + self.messages = messages + } } } // MARK: AddressChangeResult convenience initializers and mutators -public extension AddressChangeResult { +public extension EmbeddedCheckoutProtocol.AddressChangeResult { init(data: Data) throws { - self = try newJSONDecoder().decode(AddressChangeResult.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.AddressChangeResult.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4450,12 +4488,12 @@ public extension AddressChangeResult { } func with( - checkout: AddressChangeCheckout?? = nil, - ucp: InstrumentsChangeResultUcp? = nil, + checkout: EmbeddedCheckoutProtocol.AddressChangeCheckout?? = nil, + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp? = nil, continueURL: String?? = nil, messages: [Message]?? = nil - ) -> AddressChangeResult { - return AddressChangeResult( + ) -> EmbeddedCheckoutProtocol.AddressChangeResult { + return EmbeddedCheckoutProtocol.AddressChangeResult( checkout: checkout ?? self.checkout, ucp: ucp ?? self.ucp, continueURL: continueURL ?? self.continueURL, @@ -4474,20 +4512,22 @@ public extension AddressChangeResult { /// Partial checkout update with fulfillment address selection. // MARK: - AddressChangeCheckout -public struct AddressChangeCheckout: Codable, Sendable { - /// Updated fulfillment with new selected destination and destinations. - public let fulfillment: CheckoutFulfillmentClass? +extension EmbeddedCheckoutProtocol { + public struct AddressChangeCheckout: Codable, Sendable { + /// Updated fulfillment with new selected destination and destinations. + public let fulfillment: EmbeddedCheckoutProtocol.CheckoutFulfillmentClass? - public init(fulfillment: CheckoutFulfillmentClass?) { - self.fulfillment = fulfillment + public init(fulfillment: EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?) { + self.fulfillment = fulfillment + } } } // MARK: AddressChangeCheckout convenience initializers and mutators -public extension AddressChangeCheckout { +public extension EmbeddedCheckoutProtocol.AddressChangeCheckout { init(data: Data) throws { - self = try newJSONDecoder().decode(AddressChangeCheckout.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.AddressChangeCheckout.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4502,9 +4542,9 @@ public extension AddressChangeCheckout { } func with( - fulfillment: CheckoutFulfillmentClass?? = nil - ) -> AddressChangeCheckout { - return AddressChangeCheckout( + fulfillment: EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?? = nil + ) -> EmbeddedCheckoutProtocol.AddressChangeCheckout { + return EmbeddedCheckoutProtocol.AddressChangeCheckout( fulfillment: fulfillment ?? self.fulfillment ) } @@ -4522,28 +4562,30 @@ public extension AddressChangeCheckout { /// /// Container for fulfillment methods and availability. // MARK: - CheckoutFulfillmentClass -public struct CheckoutFulfillmentClass: Codable, Sendable { - /// Inventory availability hints. - public let availableMethods: [FulfillmentAvailableMethod]? - /// Fulfillment methods for cart items. - public let methods: [FulfillmentMethod]? - - public enum CodingKeys: String, CodingKey { - case availableMethods = "available_methods" - case methods - } +extension EmbeddedCheckoutProtocol { + public struct CheckoutFulfillmentClass: Codable, Sendable { + /// Inventory availability hints. + public let availableMethods: [FulfillmentAvailableMethod]? + /// Fulfillment methods for cart items. + public let methods: [FulfillmentMethod]? + + public enum CodingKeys: String, CodingKey { + case availableMethods = "available_methods" + case methods + } - public init(availableMethods: [FulfillmentAvailableMethod]?, methods: [FulfillmentMethod]?) { - self.availableMethods = availableMethods - self.methods = methods + public init(availableMethods: [FulfillmentAvailableMethod]?, methods: [FulfillmentMethod]?) { + self.availableMethods = availableMethods + self.methods = methods + } } } // MARK: CheckoutFulfillmentClass convenience initializers and mutators -public extension CheckoutFulfillmentClass { +public extension EmbeddedCheckoutProtocol.CheckoutFulfillmentClass { init(data: Data) throws { - self = try newJSONDecoder().decode(CheckoutFulfillmentClass.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.CheckoutFulfillmentClass.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4560,8 +4602,8 @@ public extension CheckoutFulfillmentClass { func with( availableMethods: [FulfillmentAvailableMethod]?? = nil, methods: [FulfillmentMethod]?? = nil - ) -> CheckoutFulfillmentClass { - return CheckoutFulfillmentClass( + ) -> EmbeddedCheckoutProtocol.CheckoutFulfillmentClass { + return EmbeddedCheckoutProtocol.CheckoutFulfillmentClass( availableMethods: availableMethods ?? self.availableMethods, methods: methods ?? self.methods ) @@ -4577,22 +4619,24 @@ public extension CheckoutFulfillmentClass { } // MARK: - ReadyRequest -public struct ReadyRequest: Codable, Sendable { - public let auth: Auth? - /// Delegation types the merchant accepts. Must be subset of checkout.embedded.delegations. - public let delegate: [String] - - public init(auth: Auth?, delegate: [String]) { - self.auth = auth - self.delegate = delegate +extension EmbeddedCheckoutProtocol { + public struct ReadyRequest: Codable, Sendable { + public let auth: EmbeddedCheckoutProtocol.Auth? + /// Delegation types the merchant accepts. Must be subset of checkout.embedded.delegations. + public let delegate: [String] + + public init(auth: EmbeddedCheckoutProtocol.Auth?, delegate: [String]) { + self.auth = auth + self.delegate = delegate + } } } // MARK: ReadyRequest convenience initializers and mutators -public extension ReadyRequest { +public extension EmbeddedCheckoutProtocol.ReadyRequest { init(data: Data) throws { - self = try newJSONDecoder().decode(ReadyRequest.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.ReadyRequest.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4607,10 +4651,10 @@ public extension ReadyRequest { } func with( - auth: Auth?? = nil, + auth: EmbeddedCheckoutProtocol.Auth?? = nil, delegate: [String]? = nil - ) -> ReadyRequest { - return ReadyRequest( + ) -> EmbeddedCheckoutProtocol.ReadyRequest { + return EmbeddedCheckoutProtocol.ReadyRequest( auth: auth ?? self.auth, delegate: delegate ?? self.delegate ) @@ -4626,19 +4670,21 @@ public extension ReadyRequest { } // MARK: - Auth -public struct Auth: Codable, Sendable { - public let type: String? +extension EmbeddedCheckoutProtocol { + public struct Auth: Codable, Sendable { + public let type: String? - public init(type: String?) { - self.type = type + public init(type: String?) { + self.type = type + } } } // MARK: Auth convenience initializers and mutators -public extension Auth { +public extension EmbeddedCheckoutProtocol.Auth { init(data: Data) throws { - self = try newJSONDecoder().decode(Auth.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.Auth.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4654,8 +4700,8 @@ public extension Auth { func with( type: String?? = nil - ) -> Auth { - return Auth( + ) -> EmbeddedCheckoutProtocol.Auth { + return EmbeddedCheckoutProtocol.Auth( type: type ?? self.type ) } @@ -4674,42 +4720,44 @@ public extension Auth { /// Generic error response when business logic prevents resource creation or failed to /// retrieve resource. Used when no valid resource can be established. // MARK: - ReadyResult -public struct ReadyResult: Codable, Sendable { - /// Initial delegation state from host. Fields are permitted only when the corresponding - /// delegation is accepted. - public let checkout: ReadyCheckout? - /// Requested authorization. Some common examples include API key and OAuth token. - public let credential: String? - /// UCP protocol metadata. Status MUST be 'error' for error response. - public let ucp: InstrumentsChangeResultUcp - /// Channel upgrade instructions. If present, switch to provided MessagePort. - public let upgrade: Upgrade? - /// URL for buyer handoff or session recovery. - public let continueURL: String? - /// Array of messages describing why the operation failed. - public let messages: [Message]? - - public enum CodingKeys: String, CodingKey { - case checkout, credential, ucp, upgrade - case continueURL = "continue_url" - case messages - } +extension EmbeddedCheckoutProtocol { + public struct ReadyResult: Codable, Sendable { + /// Initial delegation state from host. Fields are permitted only when the corresponding + /// delegation is accepted. + public let checkout: EmbeddedCheckoutProtocol.ReadyCheckout? + /// Requested authorization. Some common examples include API key and OAuth token. + public let credential: String? + /// UCP protocol metadata. Status MUST be 'error' for error response. + public let ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp + /// Channel upgrade instructions. If present, switch to provided MessagePort. + public let upgrade: EmbeddedCheckoutProtocol.Upgrade? + /// URL for buyer handoff or session recovery. + public let continueURL: String? + /// Array of messages describing why the operation failed. + public let messages: [Message]? + + public enum CodingKeys: String, CodingKey { + case checkout, credential, ucp, upgrade + case continueURL = "continue_url" + case messages + } - public init(checkout: ReadyCheckout?, credential: String?, ucp: InstrumentsChangeResultUcp, upgrade: Upgrade?, continueURL: String?, messages: [Message]?) { - self.checkout = checkout - self.credential = credential - self.ucp = ucp - self.upgrade = upgrade - self.continueURL = continueURL - self.messages = messages + public init(checkout: EmbeddedCheckoutProtocol.ReadyCheckout?, credential: String?, ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp, upgrade: EmbeddedCheckoutProtocol.Upgrade?, continueURL: String?, messages: [Message]?) { + self.checkout = checkout + self.credential = credential + self.ucp = ucp + self.upgrade = upgrade + self.continueURL = continueURL + self.messages = messages + } } } // MARK: ReadyResult convenience initializers and mutators -public extension ReadyResult { +public extension EmbeddedCheckoutProtocol.ReadyResult { init(data: Data) throws { - self = try newJSONDecoder().decode(ReadyResult.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.ReadyResult.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4724,14 +4772,14 @@ public extension ReadyResult { } func with( - checkout: ReadyCheckout?? = nil, + checkout: EmbeddedCheckoutProtocol.ReadyCheckout?? = nil, credential: String?? = nil, - ucp: InstrumentsChangeResultUcp? = nil, - upgrade: Upgrade?? = nil, + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp? = nil, + upgrade: EmbeddedCheckoutProtocol.Upgrade?? = nil, continueURL: String?? = nil, messages: [Message]?? = nil - ) -> ReadyResult { - return ReadyResult( + ) -> EmbeddedCheckoutProtocol.ReadyResult { + return EmbeddedCheckoutProtocol.ReadyResult( checkout: checkout ?? self.checkout, credential: credential ?? self.credential, ucp: ucp ?? self.ucp, @@ -4753,22 +4801,24 @@ public extension ReadyResult { /// Initial delegation state from host. Fields are permitted only when the corresponding /// delegation is accepted. // MARK: - ReadyCheckout -public struct ReadyCheckout: Codable, Sendable { - public let fulfillment: CheckoutFulfillmentClass? - /// Payment instruments with selected instrument ID. - public let payment: ReadyPayment? - - public init(fulfillment: CheckoutFulfillmentClass?, payment: ReadyPayment?) { - self.fulfillment = fulfillment - self.payment = payment +extension EmbeddedCheckoutProtocol { + public struct ReadyCheckout: Codable, Sendable { + public let fulfillment: EmbeddedCheckoutProtocol.CheckoutFulfillmentClass? + /// Payment instruments with selected instrument ID. + public let payment: EmbeddedCheckoutProtocol.ReadyPayment? + + public init(fulfillment: EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?, payment: EmbeddedCheckoutProtocol.ReadyPayment?) { + self.fulfillment = fulfillment + self.payment = payment + } } } // MARK: ReadyCheckout convenience initializers and mutators -public extension ReadyCheckout { +public extension EmbeddedCheckoutProtocol.ReadyCheckout { init(data: Data) throws { - self = try newJSONDecoder().decode(ReadyCheckout.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.ReadyCheckout.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4783,10 +4833,10 @@ public extension ReadyCheckout { } func with( - fulfillment: CheckoutFulfillmentClass?? = nil, - payment: ReadyPayment?? = nil - ) -> ReadyCheckout { - return ReadyCheckout( + fulfillment: EmbeddedCheckoutProtocol.CheckoutFulfillmentClass?? = nil, + payment: EmbeddedCheckoutProtocol.ReadyPayment?? = nil + ) -> EmbeddedCheckoutProtocol.ReadyCheckout { + return EmbeddedCheckoutProtocol.ReadyCheckout( fulfillment: fulfillment ?? self.fulfillment, payment: payment ?? self.payment ) @@ -4805,30 +4855,32 @@ public extension ReadyCheckout { /// /// Payment configuration containing handlers. // MARK: - ReadyPayment -public struct ReadyPayment: Codable, Sendable { - /// The payment instruments available for this payment. Each instrument is associated with a - /// specific handler via the handler_id field. Handlers can extend the base - /// payment_instrument schema to add handler-specific fields. - public let instruments: [SelectedPaymentInstrument]? - /// ID of the selected payment instrument. - public let selectedInstrumentID: String? - - public enum CodingKeys: String, CodingKey { - case instruments - case selectedInstrumentID = "selected_instrument_id" - } +extension EmbeddedCheckoutProtocol { + public struct ReadyPayment: Codable, Sendable { + /// The payment instruments available for this payment. Each instrument is associated with a + /// specific handler via the handler_id field. Handlers can extend the base + /// payment_instrument schema to add handler-specific fields. + public let instruments: [SelectedPaymentInstrument]? + /// ID of the selected payment instrument. + public let selectedInstrumentID: String? + + public enum CodingKeys: String, CodingKey { + case instruments + case selectedInstrumentID = "selected_instrument_id" + } - public init(instruments: [SelectedPaymentInstrument]?, selectedInstrumentID: String?) { - self.instruments = instruments - self.selectedInstrumentID = selectedInstrumentID + public init(instruments: [SelectedPaymentInstrument]?, selectedInstrumentID: String?) { + self.instruments = instruments + self.selectedInstrumentID = selectedInstrumentID + } } } // MARK: ReadyPayment convenience initializers and mutators -public extension ReadyPayment { +public extension EmbeddedCheckoutProtocol.ReadyPayment { init(data: Data) throws { - self = try newJSONDecoder().decode(ReadyPayment.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.ReadyPayment.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4845,8 +4897,8 @@ public extension ReadyPayment { func with( instruments: [SelectedPaymentInstrument]?? = nil, selectedInstrumentID: String?? = nil - ) -> ReadyPayment { - return ReadyPayment( + ) -> EmbeddedCheckoutProtocol.ReadyPayment { + return EmbeddedCheckoutProtocol.ReadyPayment( instruments: instruments ?? self.instruments, selectedInstrumentID: selectedInstrumentID ?? self.selectedInstrumentID ) @@ -4863,20 +4915,22 @@ public extension ReadyPayment { /// Channel upgrade instructions. If present, switch to provided MessagePort. // MARK: - Upgrade -public struct Upgrade: Codable, Sendable { - /// MessagePort for upgraded channel. Runtime type is MessagePort. - public let port: [String: JSONAny]? +extension EmbeddedCheckoutProtocol { + public struct Upgrade: Codable, Sendable { + /// MessagePort for upgraded channel. Runtime type is MessagePort. + public let port: [String: JSONAny]? - public init(port: [String: JSONAny]?) { - self.port = port + public init(port: [String: JSONAny]?) { + self.port = port + } } } // MARK: Upgrade convenience initializers and mutators -public extension Upgrade { +public extension EmbeddedCheckoutProtocol.Upgrade { init(data: Data) throws { - self = try newJSONDecoder().decode(Upgrade.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.Upgrade.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4892,8 +4946,8 @@ public extension Upgrade { func with( port: [String: JSONAny]?? = nil - ) -> Upgrade { - return Upgrade( + ) -> EmbeddedCheckoutProtocol.Upgrade { + return EmbeddedCheckoutProtocol.Upgrade( port: port ?? self.port ) } @@ -4908,19 +4962,21 @@ public extension Upgrade { } // MARK: - AuthRequest -public struct AuthRequest: Codable, Sendable { - public let type: String? +extension EmbeddedCheckoutProtocol { + public struct AuthRequest: Codable, Sendable { + public let type: String? - public init(type: String?) { - self.type = type + public init(type: String?) { + self.type = type + } } } // MARK: AuthRequest convenience initializers and mutators -public extension AuthRequest { +public extension EmbeddedCheckoutProtocol.AuthRequest { init(data: Data) throws { - self = try newJSONDecoder().decode(AuthRequest.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.AuthRequest.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -4936,8 +4992,8 @@ public extension AuthRequest { func with( type: String?? = nil - ) -> AuthRequest { - return AuthRequest( + ) -> EmbeddedCheckoutProtocol.AuthRequest { + return EmbeddedCheckoutProtocol.AuthRequest( type: type ?? self.type ) } @@ -4956,35 +5012,37 @@ public extension AuthRequest { /// Generic error response when business logic prevents resource creation or failed to /// retrieve resource. Used when no valid resource can be established. // MARK: - AuthResult -public struct AuthResult: Codable, Sendable { - /// Requested authorization. Some common examples include API key and OAuth token. - public let credential: String? - /// UCP protocol metadata. Status MUST be 'error' for error response. - public let ucp: InstrumentsChangeResultUcp - /// URL for buyer handoff or session recovery. - public let continueURL: String? - /// Array of messages describing why the operation failed. - public let messages: [Message]? - - public enum CodingKeys: String, CodingKey { - case credential, ucp - case continueURL = "continue_url" - case messages - } +extension EmbeddedCheckoutProtocol { + public struct AuthResult: Codable, Sendable { + /// Requested authorization. Some common examples include API key and OAuth token. + public let credential: String? + /// UCP protocol metadata. Status MUST be 'error' for error response. + public let ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp + /// URL for buyer handoff or session recovery. + public let continueURL: String? + /// Array of messages describing why the operation failed. + public let messages: [Message]? + + public enum CodingKeys: String, CodingKey { + case credential, ucp + case continueURL = "continue_url" + case messages + } - public init(credential: String?, ucp: InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { - self.credential = credential - self.ucp = ucp - self.continueURL = continueURL - self.messages = messages + public init(credential: String?, ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { + self.credential = credential + self.ucp = ucp + self.continueURL = continueURL + self.messages = messages + } } } // MARK: AuthResult convenience initializers and mutators -public extension AuthResult { +public extension EmbeddedCheckoutProtocol.AuthResult { init(data: Data) throws { - self = try newJSONDecoder().decode(AuthResult.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.AuthResult.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -5000,11 +5058,11 @@ public extension AuthResult { func with( credential: String?? = nil, - ucp: InstrumentsChangeResultUcp? = nil, + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp? = nil, continueURL: String?? = nil, messages: [Message]?? = nil - ) -> AuthResult { - return AuthResult( + ) -> EmbeddedCheckoutProtocol.AuthResult { + return EmbeddedCheckoutProtocol.AuthResult( credential: credential ?? self.credential, ucp: ucp ?? self.ucp, continueURL: continueURL ?? self.continueURL, @@ -5022,20 +5080,22 @@ public extension AuthResult { } // MARK: - WindowOpenRequest -public struct WindowOpenRequest: Codable, Sendable { - /// The URL of the resource to present. - public let url: String +extension EmbeddedCheckoutProtocol { + public struct WindowOpenRequest: Codable, Sendable { + /// The URL of the resource to present. + public let url: String - public init(url: String) { - self.url = url + public init(url: String) { + self.url = url + } } } // MARK: WindowOpenRequest convenience initializers and mutators -public extension WindowOpenRequest { +public extension EmbeddedCheckoutProtocol.WindowOpenRequest { init(data: Data) throws { - self = try newJSONDecoder().decode(WindowOpenRequest.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.WindowOpenRequest.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -5051,8 +5111,8 @@ public extension WindowOpenRequest { func with( url: String? = nil - ) -> WindowOpenRequest { - return WindowOpenRequest( + ) -> EmbeddedCheckoutProtocol.WindowOpenRequest { + return EmbeddedCheckoutProtocol.WindowOpenRequest( url: url ?? self.url ) } @@ -5071,32 +5131,34 @@ public extension WindowOpenRequest { /// Generic error response when business logic prevents resource creation or failed to /// retrieve resource. Used when no valid resource can be established. // MARK: - WindowOpenResult -public struct WindowOpenResult: Codable, Sendable { - /// UCP protocol metadata. Status MUST be 'error' for error response. - public let ucp: InstrumentsChangeResultUcp - /// URL for buyer handoff or session recovery. - public let continueURL: String? - /// Array of messages describing why the operation failed. - public let messages: [Message]? - - public enum CodingKeys: String, CodingKey { - case ucp - case continueURL = "continue_url" - case messages - } +extension EmbeddedCheckoutProtocol { + public struct WindowOpenResult: Codable, Sendable { + /// UCP protocol metadata. Status MUST be 'error' for error response. + public let ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp + /// URL for buyer handoff or session recovery. + public let continueURL: String? + /// Array of messages describing why the operation failed. + public let messages: [Message]? + + public enum CodingKeys: String, CodingKey { + case ucp + case continueURL = "continue_url" + case messages + } - public init(ucp: InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { - self.ucp = ucp - self.continueURL = continueURL - self.messages = messages + public init(ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp, continueURL: String?, messages: [Message]?) { + self.ucp = ucp + self.continueURL = continueURL + self.messages = messages + } } } // MARK: WindowOpenResult convenience initializers and mutators -public extension WindowOpenResult { +public extension EmbeddedCheckoutProtocol.WindowOpenResult { init(data: Data) throws { - self = try newJSONDecoder().decode(WindowOpenResult.self, from: data) + self = try newJSONDecoder().decode(EmbeddedCheckoutProtocol.WindowOpenResult.self, from: data) } init(_ json: String, using encoding: String.Encoding = .utf8) throws { @@ -5111,11 +5173,11 @@ public extension WindowOpenResult { } func with( - ucp: InstrumentsChangeResultUcp? = nil, + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp? = nil, continueURL: String?? = nil, messages: [Message]?? = nil - ) -> WindowOpenResult { - return WindowOpenResult( + ) -> EmbeddedCheckoutProtocol.WindowOpenResult { + return EmbeddedCheckoutProtocol.WindowOpenResult( ucp: ucp ?? self.ucp, continueURL: continueURL ?? self.continueURL, messages: messages ?? self.messages diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONRPCMessage.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONRPCMessage.swift index e1a2082b0..a9624d2f5 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONRPCMessage.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/JSONRPCMessage.swift @@ -160,37 +160,41 @@ struct JSONRPCReadyParams: Codable { } } -public struct JSONRPCCheckoutParams: EventPayload { - public let checkout: Checkout +extension EmbeddedCheckoutProtocol { + public struct JSONRPCCheckoutParams: EventPayload { + public let checkout: EmbeddedCheckoutProtocol.Checkout - public init(checkout: Checkout) { - self.checkout = checkout - } + public init(checkout: EmbeddedCheckoutProtocol.Checkout) { + self.checkout = checkout + } - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - checkout = try container.decode(Checkout.self, forKey: .checkout) - } + public init(from decoder: Decoder) throws { + let container = try decoder.container(keyedBy: CodingKeys.self) + checkout = try container.decode(EmbeddedCheckoutProtocol.Checkout.self, forKey: .checkout) + } - private enum CodingKeys: String, CodingKey { - case checkout + private enum CodingKeys: String, CodingKey { + case checkout + } } } -public struct JSONRPCErrorParams: EventPayload { - public let error: ErrorResponse +extension EmbeddedCheckoutProtocol { + public struct JSONRPCErrorParams: EventPayload { + public let error: EmbeddedCheckoutProtocol.ErrorResponse - public init(error: ErrorResponse) { - self.error = error - } + public init(error: EmbeddedCheckoutProtocol.ErrorResponse) { + self.error = error + } - public init(from decoder: Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - error = try container.decode(ErrorResponse.self, forKey: .error) - } + public init(from decoder: Decoder) throws { + let container = try decoder.container(keyedBy: CodingKeys.self) + error = try container.decode(EmbeddedCheckoutProtocol.ErrorResponse.self, forKey: .error) + } - private enum CodingKeys: String, CodingKey { - case error + private enum CodingKeys: String, CodingKey { + case error + } } } diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/UCPResponse.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/UCPResponse.swift index 776bcd49a..0ddf18c02 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/UCPResponse.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/UCPResponse.swift @@ -1,8 +1,8 @@ import Foundation -extension InstrumentsChangeResultUcp { +extension EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp { public static func success(version: String = EmbeddedCheckoutProtocol.specVersion) -> Self { - InstrumentsChangeResultUcp( + EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: nil, paymentHandlers: nil, services: nil, diff --git a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/WindowOpenResult+Factory.swift b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/WindowOpenResult+Factory.swift index b2f1d4799..f870c8b69 100644 --- a/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/WindowOpenResult+Factory.swift +++ b/protocol/languages/swift/Sources/UniversalCommerceProtocol/EmbeddedCheckoutProtocol/WindowOpenResult+Factory.swift @@ -1,22 +1,22 @@ import Foundation -extension WindowOpenRequest { +extension EmbeddedCheckoutProtocol.WindowOpenRequest { public var parsedURL: URL? { url.isEmpty ? nil : URL(string: url) } } -extension WindowOpenResult { - public static func success(version: String = EmbeddedCheckoutProtocol.specVersion) -> WindowOpenResult { - WindowOpenResult(ucp: .success(version: version), continueURL: nil, messages: nil) +extension EmbeddedCheckoutProtocol.WindowOpenResult { + public static func success(version: String = EmbeddedCheckoutProtocol.specVersion) -> EmbeddedCheckoutProtocol.WindowOpenResult { + EmbeddedCheckoutProtocol.WindowOpenResult(ucp: .success(version: version), continueURL: nil, messages: nil) } public static func rejected( reason: String? = nil, version: String = EmbeddedCheckoutProtocol.specVersion - ) -> WindowOpenResult { - WindowOpenResult( - ucp: InstrumentsChangeResultUcp( + ) -> EmbeddedCheckoutProtocol.WindowOpenResult { + EmbeddedCheckoutProtocol.WindowOpenResult( + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: nil, paymentHandlers: nil, services: nil, diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift index 28455e4d5..45e63584b 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ClientTests.swift @@ -73,7 +73,7 @@ struct ClientTests { } @Test @MainActor func notificationDispatchesToRegisteredHandler() async throws { - var receivedCheckout: Checkout? + var receivedCheckout: EmbeddedCheckoutProtocol.Checkout? let client = EmbeddedCheckoutProtocol.Client() .on(EmbeddedCheckoutProtocol.Event.start) { message in receivedCheckout = message.params.checkout @@ -271,7 +271,7 @@ struct ClientTests { @Test @MainActor func readyRequestDispatchesToRegisteredHandler() async throws { let response = try await EmbeddedCheckoutProtocol.Client() .on(EmbeddedCheckoutProtocol.Event.ready) { _ in - ReadyResult( + EmbeddedCheckoutProtocol.ReadyResult( checkout: nil, credential: nil, ucp: .success(), @@ -301,7 +301,7 @@ struct ClientTests { let response = try #require( await EmbeddedCheckoutProtocol.Client() .on(EmbeddedCheckoutProtocol.Event.ready) { _ in - ReadyResult( + EmbeddedCheckoutProtocol.ReadyResult( checkout: nil, credential: nil, ucp: .success(), @@ -327,7 +327,7 @@ struct ClientTests { let response = try #require( await EmbeddedCheckoutProtocol.Client() .on(EmbeddedCheckoutProtocol.Event.auth) { _ in - AuthResult( + EmbeddedCheckoutProtocol.AuthResult( credential: "tok-xyz", ucp: .success(), continueURL: nil, @@ -349,9 +349,9 @@ struct ClientTests { await EmbeddedCheckoutProtocol.Client() .on(EmbeddedCheckoutProtocol.Event.paymentCredential) { message in receivedCheckoutID = message.params.checkout.id - return CredentialResult( + return EmbeddedCheckoutProtocol.CredentialResult( checkout: nil, - ucp: InstrumentsChangeResultUcp( + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: nil, paymentHandlers: nil, services: nil, @@ -374,7 +374,7 @@ struct ClientTests { @Test @MainActor func delegationsReflectsOnlyDelegationCarryingHandlers() { let client = EmbeddedCheckoutProtocol.Client() .on(EmbeddedCheckoutProtocol.Event.ready) { _ in - ReadyResult( + EmbeddedCheckoutProtocol.ReadyResult( checkout: nil, credential: nil, ucp: .success(), diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift index a625d6e1b..0efced740 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecDecodeTests.swift @@ -4,8 +4,9 @@ import Testing @Suite("Codec Decode Tests") struct CodecDecodeTests { - @Test func decodesNotification() throws { - let json = try fixtureString("notification") + @Test(arguments: ["notification", "notification_with_dates"]) + func decodesNotification(fixture: String) throws { + let json = try fixtureString(fixture) let message = EmbeddedCheckoutProtocol.decode(jsonRpc: json) guard case let .notification(method, params) = message else { @@ -13,7 +14,7 @@ struct CodecDecodeTests { return } let checkout = try #require( - try? JSONDecoder().decode(JSONRPCCheckoutParams.self, from: params).checkout + try? newJSONDecoder().decode(EmbeddedCheckoutProtocol.JSONRPCCheckoutParams.self, from: params).checkout ) #expect(method == "ec.start") @@ -21,6 +22,7 @@ struct CodecDecodeTests { #expect(checkout.currency == "USD") #expect(checkout.lineItems.count == 1) #expect(checkout.lineItems[0].item.title == "Test Product") + #expect((checkout.expiresAt != nil) == (fixture == "notification_with_dates")) } @Test func decodesErrorNotification() throws { @@ -34,7 +36,7 @@ struct CodecDecodeTests { return } let error = try #require( - try? JSONDecoder().decode(JSONRPCErrorParams.self, from: params).error + try? JSONDecoder().decode(EmbeddedCheckoutProtocol.JSONRPCErrorParams.self, from: params).error ) #expect(method == "ec.error") diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecEncodeTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecEncodeTests.swift index 5887edac5..b89f91f1f 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecEncodeTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/CodecEncodeTests.swift @@ -5,11 +5,11 @@ import Testing @Suite("Codec Encode Tests") struct CodecEncodeTests { @Test func encodesResponse() throws { - let result = CredentialResult( - checkout: CredentialCheckout( + let result = EmbeddedCheckoutProtocol.CredentialResult( + checkout: EmbeddedCheckoutProtocol.CredentialCheckout( payment: Payment(instruments: nil) ), - ucp: InstrumentsChangeResultUcp( + ucp: EmbeddedCheckoutProtocol.InstrumentsChangeResultUcp( capabilities: nil, paymentHandlers: nil, services: nil, @@ -30,7 +30,7 @@ struct CodecEncodeTests { @Test func encodesReadyResultCarryingOnlyUCPEnvelope() throws { let json = EmbeddedCheckoutProtocol.encodeResponse( id: "ready-1", - result: ReadyResult( + result: EmbeddedCheckoutProtocol.ReadyResult( checkout: nil, credential: nil, ucp: .success(), @@ -56,7 +56,7 @@ struct CodecEncodeTests { @Test func encodesReadyResultIncludingCredential() throws { let json = EmbeddedCheckoutProtocol.encodeResponse( id: .null, - result: ReadyResult( + result: EmbeddedCheckoutProtocol.ReadyResult( checkout: nil, credential: "tok-123", ucp: .success(), @@ -75,7 +75,7 @@ struct CodecEncodeTests { @Test func encodesAuthResult() throws { let json = EmbeddedCheckoutProtocol.encodeResponse( id: "auth-1", - result: AuthResult( + result: EmbeddedCheckoutProtocol.AuthResult( credential: "tok-abc", ucp: .success(), continueURL: nil, diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification_with_dates.json b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification_with_dates.json new file mode 100644 index 000000000..1a86465b2 --- /dev/null +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/Fixtures/notification_with_dates.json @@ -0,0 +1,74 @@ +{ + "jsonrpc": "2.0", + "method": "ec.start", + "params": { + "checkout": { + "ucp": { + "version": "2026-04-08", + "payment_handlers": {} + }, + "id": "checkout-123", + "status": "incomplete", + "currency": "USD", + "line_items": [ + { + "id": "li-1", + "quantity": 1, + "item": { + "id": "product-1", + "title": "Test Product", + "price": 2999, + "image_url": "https://example.com/image.png" + }, + "totals": [ + { + "type": "subtotal", + "amount": 2999 + } + ] + } + ], + "totals": [ + { + "type": "total", + "amount": 2999 + } + ], + "links": [ + { + "type": "privacy_policy", + "url": "https://example.com/privacy" + } + ], + "expires_at": "2026-09-15T18:00:00Z", + "fulfillment": { + "methods": [ + { + "id": "shipping", + "type": "shipping", + "line_item_ids": [ + "li-1" + ], + "groups": [ + { + "id": "group-1", + "line_item_ids": [ + "li-1" + ], + "options": [ + { + "id": "standard", + "title": "Standard delivery", + "totals": [], + "earliest_fulfillment_time": "2026-09-16T09:00:00Z", + "latest_fulfillment_time": "2026-09-18T17:00:00Z" + } + ] + } + ] + } + ] + } + } + } +} diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift index 3ed006963..de4062f5e 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/ModelDecodingTests.swift @@ -4,32 +4,55 @@ import Testing @Suite("Model Decoding Tests") struct ModelDecodingTests { - @Test func roundTripsCheckoutPayload() throws { - let json = try fixtureString("notification") + @Test(arguments: ["notification", "notification_with_dates"]) + func roundTripsCheckoutPayload(fixture: String) throws { + let json = try fixtureString(fixture) let data = Data(json.utf8) - let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) + let envelope = try newJSONDecoder().decode(JSONRPCRequest.self, from: data) let checkout = envelope.params.checkout + let hasDates = fixture == "notification_with_dates" + let expectedExpiry = hasDates ? ISO8601DateFormatter().date(from: "2026-09-15T18:00:00Z") : nil + let expectedEarliest = hasDates ? ISO8601DateFormatter().date(from: "2026-09-16T09:00:00Z") : nil + let expectedLatest = hasDates ? ISO8601DateFormatter().date(from: "2026-09-18T17:00:00Z") : nil #expect(checkout.id == "checkout-123") #expect(checkout.status == .incomplete) #expect(checkout.currency == "USD") #expect(checkout.totals.first?.amount == 2999) #expect(checkout.links.first?.type == "privacy_policy") + #expect(checkout.expiresAt == expectedExpiry) - let reEncoded = try JSONEncoder().encode(checkout) - let reDecoded = try JSONDecoder().decode(Checkout.self, from: reEncoded) + // Use the generated wire-format helpers throughout. Foundation's default + // encoder writes numeric dates, which these ISO 8601 initializers reject. + let reEncoded = try checkout.jsonData() + let reDecoded = try EmbeddedCheckoutProtocol.Checkout(data: reEncoded) #expect(reDecoded.id == checkout.id) #expect(reDecoded.currency == checkout.currency) #expect(reDecoded.lineItems.count == checkout.lineItems.count) + + let updated = reDecoded.with(currency: "EUR") + let copied = try EmbeddedCheckoutProtocol.Checkout(data: updated.jsonData()) + #expect(copied.currency == "EUR") + #expect(copied.id == checkout.id) + #expect(copied.ucp.version == checkout.ucp.version) + + for value in [checkout, reDecoded, updated, copied] { + #expect(value.expiresAt == expectedExpiry) + let option = value.fulfillment?.methods?.first?.groups?.first?.options?.first + #expect(option?.earliestFulfillmentTime == expectedEarliest) + #expect(option?.latestFulfillmentTime == expectedLatest) + } + let encodedObject = try #require(try JSONSerialization.jsonObject(with: copied.jsonData()) as? [String: Any]) + #expect(encodedObject["expires_at"] as? String == (hasDates ? "2026-09-15T18:00:00Z" : nil)) } @Test func decodesLineItemDetails() throws { let json = try fixtureString("notification") let data = Data(json.utf8) - let envelope = try JSONDecoder().decode(JSONRPCRequest.self, from: data) + let envelope = try newJSONDecoder().decode(JSONRPCRequest.self, from: data) let lineItem = envelope.params.checkout.lineItems[0] #expect(lineItem.id == "li-1") @@ -103,7 +126,7 @@ struct ModelDecodingTests { } } """ - let checkout = try JSONDecoder().decode(Checkout.self, from: Data(json.utf8)) + let checkout = try EmbeddedCheckoutProtocol.Checkout(json) #expect(checkout.discounts?.codes == ["SUMMER20"]) #expect(checkout.discounts?.applied?.first?.method == .across) @@ -147,8 +170,8 @@ struct ModelDecodingTests { "delegate": ["window.open"] } """ - let config = try JSONDecoder().decode(EmbeddedTransportConfig.self, from: Data(json.utf8)) - let colorScheme: [EmbeddedColorScheme]? = config.colorScheme + let config = try JSONDecoder().decode(EmbeddedCheckoutProtocol.EmbeddedTransportConfig.self, from: Data(json.utf8)) + let colorScheme: [EmbeddedCheckoutProtocol.EmbeddedColorScheme]? = config.colorScheme #expect(colorScheme == [.light, .dark]) #expect(config.delegate == ["window.open"]) @@ -168,8 +191,8 @@ struct ModelDecodingTests { "com.example.foo": "bar" } """ - var checkout = try JSONDecoder().decode(Checkout.self, from: Data(json.utf8)) - let reEncoded = try JSONEncoder().encode(checkout) + var checkout = try EmbeddedCheckoutProtocol.Checkout(json) + let reEncoded = try checkout.jsonData() let object = try #require(try JSONSerialization.jsonObject(with: reEncoded) as? [String: Any]) #expect(object["com.example.foo"] as? String == "bar") @@ -179,7 +202,7 @@ struct ModelDecodingTests { #expect(signals["com.example.device_id"] as? String == "abc-123") checkout.additionalProperties["id"] = try JSONDecoder().decode(JSONAny.self, from: Data("\"extension-id\"".utf8)) - let collisionEncoded = try JSONEncoder().encode(checkout) + let collisionEncoded = try checkout.jsonData() let collisionObject = try #require(try JSONSerialization.jsonObject(with: collisionEncoded) as? [String: Any]) #expect(collisionObject["id"] as? String == "checkout-123") } diff --git a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/WindowOpenTests.swift b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/WindowOpenTests.swift index 0f485cad0..cd8ef3511 100644 --- a/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/WindowOpenTests.swift +++ b/protocol/languages/swift/Tests/EmbeddedCheckoutProtocolTests/WindowOpenTests.swift @@ -5,15 +5,15 @@ import Testing @Suite("Window Open Tests") struct WindowOpenTests { @Test func parsedURLReturnsURLForValidString() { - #expect(WindowOpenRequest(url: "https://example.com").parsedURL == URL(string: "https://example.com")) + #expect(EmbeddedCheckoutProtocol.WindowOpenRequest(url: "https://example.com").parsedURL == URL(string: "https://example.com")) } @Test func parsedURLIsNilForEmptyString() { - #expect(WindowOpenRequest(url: "").parsedURL == nil) + #expect(EmbeddedCheckoutProtocol.WindowOpenRequest(url: "").parsedURL == nil) } @Test func successEncodesUCPSuccessEnvelope() throws { - let json = EmbeddedCheckoutProtocol.encodeResponse(id: "win-1", result: WindowOpenResult.success()) + let json = EmbeddedCheckoutProtocol.encodeResponse(id: "win-1", result: EmbeddedCheckoutProtocol.WindowOpenResult.success()) let parsed = try #require(JSONSerialization.jsonObject(with: Data(json.utf8)) as? [String: Any]) let result = try #require(parsed["result"] as? [String: Any]) let ucp = try #require(result["ucp"] as? [String: Any]) @@ -27,7 +27,7 @@ struct WindowOpenTests { @Test func rejectedEncodesErrorMessage() throws { let json = EmbeddedCheckoutProtocol.encodeResponse( id: "win-2", - result: WindowOpenResult.rejected(reason: "canOpenURL returned false") + result: EmbeddedCheckoutProtocol.WindowOpenResult.rejected(reason: "canOpenURL returned false") ) let parsed = try #require(JSONSerialization.jsonObject(with: Data(json.utf8)) as? [String: Any]) let result = try #require(parsed["result"] as? [String: Any]) @@ -43,7 +43,7 @@ struct WindowOpenTests { } @Test func rejectedWithoutReasonUsesDefaultContent() throws { - let json = EmbeddedCheckoutProtocol.encodeResponse(id: "win-3", result: WindowOpenResult.rejected()) + let json = EmbeddedCheckoutProtocol.encodeResponse(id: "win-3", result: EmbeddedCheckoutProtocol.WindowOpenResult.rejected()) let parsed = try #require(JSONSerialization.jsonObject(with: Data(json.utf8)) as? [String: Any]) let result = try #require(parsed["result"] as? [String: Any]) let messages = try #require(result["messages"] as? [[String: Any]]) diff --git a/protocol/scripts/generate_models.mjs b/protocol/scripts/generate_models.mjs index e4f27e447..13d6d759e 100755 --- a/protocol/scripts/generate_models.mjs +++ b/protocol/scripts/generate_models.mjs @@ -36,6 +36,7 @@ import { run, } from "./codegen_tools.mjs"; import {MODEL_EXTRACTIONS} from "./method_catalog.mjs"; +import {namespaceSwiftPayloadModels} from "./swift_namespacing.mjs"; const SCHEMA_SOURCE_DIR = path.join(PROTOCOL_DIR, "schemas"); const SERVICES_DIR = path.join(PROTOCOL_DIR, "services", "shopping"); @@ -811,7 +812,7 @@ async function generateSwift(specDir, output, {openModelNames, mapModelNames}) { const stripped = `${source.slice(0, helperStart)}${SWIFT_JSON_HELPER_REPLACEMENT}`; const withMapModels = useSwiftMapsForModels(stripped, mapModelNames); - return injectSwiftAdditionalProperties(withMapModels, openModelNames); + return namespaceSwiftPayloadModels(injectSwiftAdditionalProperties(withMapModels, openModelNames)); }); await run("node", [path.join(PROTOCOL_DIR, "scripts", "generate_swift_catalog.mjs")]); diff --git a/protocol/scripts/generate_swift_catalog.mjs b/protocol/scripts/generate_swift_catalog.mjs index 2f1a5ba34..d5862a700 100644 --- a/protocol/scripts/generate_swift_catalog.mjs +++ b/protocol/scripts/generate_swift_catalog.mjs @@ -107,8 +107,8 @@ function decodeClosure(entry) { } const conformances = [ - ...eventPayloadTypes.map(type => `extension ${type}: EventPayload {}`), - ...responsePayloadTypes.map(type => `extension ${type}: ResponsePayload {}`), + ...eventPayloadTypes.map(type => `extension EmbeddedCheckoutProtocol.${type}: EventPayload {}`), + ...responsePayloadTypes.map(type => `extension EmbeddedCheckoutProtocol.${type}: ResponsePayload {}`), ].join('\n'); const notificationCatalog = notifications diff --git a/protocol/scripts/swift_namespacing.mjs b/protocol/scripts/swift_namespacing.mjs new file mode 100644 index 000000000..ecc21a0e5 --- /dev/null +++ b/protocol/scripts/swift_namespacing.mjs @@ -0,0 +1,65 @@ +import {EC_METHODS} from './method_catalog.mjs'; + +export const swiftPayloadTypes = new Set( + EC_METHODS.flatMap(entry => [entry.payload, entry.result].filter(Boolean)), +); + +// Skip comments and string literals so changing Swift type names cannot change +// CodingKeys, enum raw values, or other wire-format strings. +const swiftTokens = /\/\/[^\n]*|"(?:\\.|[^"\\])*"|\b[A-Za-z_]\w*\b/g; + +export function namespaceSwiftPayloadModels(source, payloadTypes = swiftPayloadTypes) { + const models = new Map( + [...source.matchAll(/^public (?:struct|enum) (\w+):[\s\S]*?^\}/gm)] + .map(match => [match[1], match[0]]), + ); + const references = text => (text.match(swiftTokens) ?? []) + .filter(token => models.has(token)); + const dependencies = roots => { + const found = new Set(); + const visit = name => { + if (found.has(name)) return; + found.add(name); + for (const dependency of references(models.get(name))) visit(dependency); + }; + for (const root of roots) visit(root); + return found; + }; + + for (const name of ['Checkout', 'Order', ...payloadTypes]) { + if (!models.has(name)) { + throw new Error(`Swift payload namespacing: missing generated model ${name}`); + } + } + + // Kit shares checkout fields other than ucp, and order domain models remain + // reusable. Everything exclusive to protocol payloads belongs to the namespace. + const checkoutFields = [...models.get('Checkout').matchAll(/^ public (?:let|var) (\w+): (.+)$/gm)]; + if (!checkoutFields.some(field => field[1] === 'ucp')) { + throw new Error('Swift payload namespacing: missing checkout ucp field'); + } + const shared = dependencies([ + 'Order', + ...checkoutFields.filter(field => field[1] !== 'ucp').flatMap(field => references(field[2])), + ]); + const namespaced = new Set([...dependencies(payloadTypes)].filter(name => !shared.has(name))); + for (const name of payloadTypes) { + if (!namespaced.has(name)) { + throw new Error(`Swift payload ${name} is also a shared domain model`); + } + } + + return source + .replace('// To parse the JSON, add this file to your project and do:', + '// To parse JSON with the protocol models, use:') + .replace(swiftTokens, token => namespaced.has(token) ? `EmbeddedCheckoutProtocol.${token}` : token) + .replace(/^public (struct|enum) EmbeddedCheckoutProtocol\.(\w+):[\s\S]*?^\}/gm, model => { + const declaration = model.replace('EmbeddedCheckoutProtocol.', ''); + const indented = declaration.split('\n').map(line => line ? ` ${line}` : line).join('\n'); + return `extension EmbeddedCheckoutProtocol {\n${indented}\n}`; + }) + // The token pass deliberately skips comments. Qualify quicktype's constructor + // examples separately, using the same model set as the declarations above. + .replace(/^(\/\/\s+let \w+ = try )(\w+)(\(json\))$/gm, (example, prefix, name, suffix) => + namespaced.has(name) ? `${prefix}EmbeddedCheckoutProtocol.${name}${suffix}` : example); +} diff --git a/protocol/scripts/swift_namespacing.test.mjs b/protocol/scripts/swift_namespacing.test.mjs new file mode 100644 index 000000000..c24cb1055 --- /dev/null +++ b/protocol/scripts/swift_namespacing.test.mjs @@ -0,0 +1,80 @@ +import {expect, test} from 'vitest'; +import {namespaceSwiftPayloadModels, swiftPayloadTypes} from './swift_namespacing.mjs'; + +const source = `public struct Checkout: Codable { + public let buyer: Buyer + public let ucp: Metadata +} +public extension Checkout { + func copy() -> Checkout { self } +} +public struct Order: Codable { + public let buyer: Buyer +} +public struct Buyer: Codable { + public let name: String +} +public struct Metadata: Codable { + public let version: String +} +public struct Result: Codable { + public let buyer: Buyer + public let details: ResultDetails +} +public struct ResultDetails: Codable { + public let status: ResultStatus +} +public enum ResultStatus: String, Codable { + case accepted = "Result" +} +`; + +test('namespaces payloads and exclusive dependencies while preserving shared domain types and wire strings', () => { + const result = namespaceSwiftPayloadModels(source, new Set(['Checkout', 'Result'])); + for (const name of ['Checkout', 'Metadata', 'Result', 'ResultDetails', 'ResultStatus']) { + expect(result).toMatch(new RegExp(`extension EmbeddedCheckoutProtocol \\{\\n public (struct|enum) ${name}:`)); + expect(result).not.toMatch(new RegExp(`^public (struct|enum) ${name}:`, 'm')); + } + expect(result).toContain('public extension EmbeddedCheckoutProtocol.Checkout'); + expect(result).toContain('func copy() -> EmbeddedCheckoutProtocol.Checkout'); + expect(result).toContain('public let details: EmbeddedCheckoutProtocol.ResultDetails'); + expect(result).toContain('case accepted = "Result"'); + for (const name of ['Order', 'Buyer']) { + expect(result).toContain(source.match(new RegExp(`^public struct ${name}:[\\s\\S]*?^}`, 'm'))[0]); + } +}); + +test('fails when a catalog payload is missing from generated models', () => { + expect(() => namespaceSwiftPayloadModels(source, new Set(['Checkout', 'MissingRequest']))) + .toThrow('missing generated model MissingRequest'); +}); + +test('qualifies every payload example and exclusive helper without rewriting shared examples or prose', () => { + const names = [...swiftPayloadTypes, 'ResultDetails', 'Order', 'Buyer']; + const examples = names.map(name => `// let value = try ${name}(json)`).join('\n'); + const extraModels = [...swiftPayloadTypes].filter(name => name !== 'Checkout') + .map(name => `public struct ${name}: Codable {\n public let details: ResultDetails\n}`).join('\n'); + const header = '// To parse the JSON, add this file to your project and do:'; + const result = namespaceSwiftPayloadModels(`${header}\n${examples}\n// Checkout and Result are protocol models.\n${source}\n${extraModels}`); + + expect(result).toContain('// To parse JSON with the protocol models, use:'); + expect(result).not.toContain('add this file to your project'); + for (const name of [...swiftPayloadTypes, 'ResultDetails']) { + expect(result).toContain(`// let value = try EmbeddedCheckoutProtocol.${name}(json)`); + } + for (const name of ['Order', 'Buyer']) { + expect(result).toContain(`// let value = try ${name}(json)`); + } + expect(result).toContain('// Checkout and Result are protocol models.'); +}); + +test('fails if a payload becomes reachable through shared domain models', () => { + const sharedPayload = source.replace('public let name: String', 'public let result: Result'); + expect(() => namespaceSwiftPayloadModels(sharedPayload, new Set(['Checkout', 'Result']))) + .toThrow('Swift payload Result is also a shared domain model'); +}); + +test('fails if checkout no longer has the protocol metadata field used to separate shared types', () => { + expect(() => namespaceSwiftPayloadModels(source.replace('public let ucp: Metadata', ''), new Set(['Checkout']))) + .toThrow('missing checkout ucp field'); +}); diff --git a/scripts/test/swift_api_normalization_test.rb b/scripts/test/swift_api_normalization_test.rb new file mode 100644 index 000000000..7dade575a --- /dev/null +++ b/scripts/test/swift_api_normalization_test.rb @@ -0,0 +1,193 @@ +# frozen_string_literal: true + +require "minitest/autorun" +require "fileutils" +require "json" +require "open3" +require "rbconfig" +require "tmpdir" + +class SwiftApiNormalizationTest < Minitest::Test + SCRIPTS = File.expand_path("../../platforms/swift/Scripts", __dir__) + + def test_normalizes_nested_declarations_from_separate_extensions + original = api_tree + reordered = api_tree + reordered["ABIRoot"]["children"].reverse! + namespace(reordered)["children"].reverse! + payload(reordered)["children"].reverse! + + assert_equal normalize(original), normalize(reordered) + assert_equal normalize(original), normalize(JSON.parse(normalize(original))) + end + + def test_preserves_stored_property_order + assert_order_matters do |tree| + payload(tree)["children"] = %w[first second].map do |name| + declaration("Var", name, "hasStorage" => true) + end + payload(tree)["children"] + end + end + + def test_preserves_enum_case_order + assert_order_matters do |tree| + namespace(tree)["children"] = %w[first second].map do |name| + declaration("Var", name, "declKind" => "EnumElement") + end + namespace(tree)["children"] + end + end + + def test_preserves_return_and_parameter_type_order + assert_order_matters do |tree| + method(tree)["children"] = %w[Void String Int].map { |name| {"kind" => "TypeNominal", "name" => name} } + end + end + + def test_preserves_tuple_and_generic_argument_order + assert_order_matters do |tree| + method(tree)["children"] = [{"kind" => "TypeNominal", "name" => "Pair", "children" => [ + {"kind" => "TypeNominal", "name" => "String"}, + {"kind" => "TypeNominal", "name" => "Int"}, + ]}] + method(tree)["children"][0]["children"] + end + end + + def test_preserves_metadata_array_order + assert_order_matters do |tree| + payload(tree)["conformances"] = [{"name" => "Encodable"}, {"name" => "Decodable"}] + end + end + + def test_preserves_unknown_node_order + assert_order_matters do |tree| + payload(tree)["children"] = %w[first second].map { |name| declaration("FutureKind", name) } + end + end + + def test_detects_removals_and_signature_changes + original = api_tree + removed = api_tree + payload(removed)["children"].delete(method(removed)) + refute_equal normalize(original), normalize(removed) + + changed = api_tree + method(changed)["throwing"] = true + refute_equal normalize(original), normalize(changed) + end + + def test_dump_and_check_share_canonical_output_and_reject_api_drift + Dir.mktmpdir("swift-api-test") do |root| + script_dir = File.join(root, "platforms/swift/Scripts") + FileUtils.mkdir_p(script_dir) + FileUtils.cp([File.join(SCRIPTS, "api"), File.join(SCRIPTS, "normalize-api.jq")], script_dir) + File.write(File.join(root, "Package.swift"), "// Test package\n") + bin = File.join(root, "bin") + FileUtils.mkdir_p(bin) + write_executable(File.join(bin, "xcodebuild"), <<~'SH') + #!/bin/sh + case " $* " in + *" -disableAutomaticPackageResolution "*) exit 0 ;; + *) echo "Expected committed package resolution" >&2; exit 1 ;; + esac + SH + write_executable(File.join(bin, "xcbeautify"), "#!/bin/sh\ncat\n") + write_executable(File.join(bin, "xcrun"), <<~RUBY) + #!#{RbConfig.ruby} + if ARGV.include?("--show-sdk-path") + puts "/test-sdk" + elsif ARGV.include?("-dump-sdk") + File.write(ARGV[ARGV.index("-o") + 1], File.read(ENV.fetch("SWIFT_API_TEST_INPUT"))) + elsif ARGV.include?("-diagnose-sdk") + puts "API diagnosis invoked" + else + abort "Unexpected xcrun arguments" + end + RUBY + + input = File.join(root, "raw.json") + File.write(input, JSON.generate(api_tree)) + env = {"PATH" => "#{bin}:#{ENV.fetch('PATH')}", "SWIFT_API_TEST_INPUT" => input} + run_api(env, script_dir, "dump") + baselines = Dir.glob(File.join(root, "platforms/swift/api/*.json")) + assert_equal 3, baselines.size + baselines.each { |file| assert_equal normalize(api_tree), File.read(file) } + before = baselines.to_h { |file| [file, File.read(file)] } + + reordered = api_tree + reordered["ABIRoot"]["children"].reverse! + namespace(reordered)["children"].reverse! + payload(reordered)["children"].reverse! + File.write(input, JSON.generate(reordered)) + run_api(env, script_dir, "check") + run_api(env, script_dir, "dump") + assert_equal before, baselines.to_h { |file| [file, File.read(file)] } + + method(reordered)["throwing"] = true + File.write(input, JSON.generate(reordered)) + output, status = Open3.capture2e(env, "bash", File.join(script_dir, "api"), "check") + refute status.success?, output + assert_includes output, "Public Swift API drift detected" + assert_includes output, "API diagnosis invoked" + end + end + + private + + def declaration(kind, name, extra = {}) + {"kind" => kind, "printedName" => name, "usr" => "test:#{name}"}.merge(extra) + end + + def api_tree + {"ABIRoot" => {"kind" => "Root", "children" => [ + declaration("Var", "version"), + declaration("TypeDecl", "Namespace", "declKind" => "Enum", "children" => [ + declaration("Var", "events"), + declaration("TypeDecl", "Payload", "declKind" => "Struct", "children" => [ + declaration("Function", "success()"), + declaration("Var", "parsedURL"), + declaration("Constructor", "init(data:)"), + declaration("Constructor", "init(data:)", "usr" => "test:overload"), + ]), + ]), + ]}} + end + + def namespace(tree) + tree["ABIRoot"]["children"].find { |node| node["printedName"] == "Namespace" } + end + + def payload(tree) + namespace(tree)["children"].find { |node| node["printedName"] == "Payload" } + end + + def method(tree) + payload(tree)["children"].find { |node| node["kind"] == "Function" } + end + + def normalize(tree) + output, error, status = Open3.capture3("jq", "-f", File.join(SCRIPTS, "normalize-api.jq"), stdin_data: JSON.generate(tree)) + assert status.success?, error + output + end + + def assert_order_matters + tree = api_tree + ordered = yield tree + before = normalize(tree) + ordered.reverse! + refute_equal before, normalize(tree) + end + + def write_executable(path, content) + File.write(path, content) + FileUtils.chmod(0o755, path) + end + + def run_api(env, script_dir, command) + output, status = Open3.capture2e(env, "bash", File.join(script_dir, "api"), command) + assert status.success?, output + end +end